From f5c53a5cc1b1c1356468f6cb3e350c45a14bf033 Mon Sep 17 00:00:00 2001 From: Julien Lengrand-Lambert Date: Mon, 13 Dec 2021 10:23:48 +0100 Subject: [PATCH] Removes config.properties to avoid potential API keys leak --- .gitignore | 3 ++- .sdkmanrc | 2 +- README.md | 2 +- config.properties => config.properties.example | 0 4 files changed, 4 insertions(+), 3 deletions(-) rename config.properties => config.properties.example (100%) diff --git a/.gitignore b/.gitignore index 12be271..4da9eb7 100644 --- a/.gitignore +++ b/.gitignore @@ -9,4 +9,5 @@ bin/ gen/ *.class -.git \ No newline at end of file +.git +config.properties \ No newline at end of file diff --git a/.sdkmanrc b/.sdkmanrc index eaef4dd..42efcf3 100644 --- a/.sdkmanrc +++ b/.sdkmanrc @@ -1,3 +1,3 @@ # Enable auto-env through the sdkman_auto_env config # Add key=value pairs of SDKs to use below -java=11.0.11.j9-adpt +java=11.0.13-tem diff --git a/README.md b/README.md index 0b99f5d..167d8e3 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ The Gradle build will install the following jars from maven central ## Usage -1. Update the config file `config.properties` with your [API key](https://docs.adyen.com/user-management/how-to-get-the-api-key), [Client Key](https://docs.adyen.com/user-management/client-side-authentication) - Remember to add `http://localhost:8080` as an origin for client key, and merchant account name like below: +1. Copy the `config.properties.example` config file to `config.properties` with your [API key](https://docs.adyen.com/user-management/how-to-get-the-api-key), [Client Key](https://docs.adyen.com/user-management/client-side-authentication) - Remember to add `http://localhost:8080` as an origin for client key, and merchant account name like below: ``` merchantAccount = YourTestMerchantAccount apiKey = YourAPIKey diff --git a/config.properties b/config.properties.example similarity index 100% rename from config.properties rename to config.properties.example