Skip to content

Commit 1a6befa

Browse files
author
Inbal Tako
committed
Update readme
1 parent 10d44a4 commit 1a6befa

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,12 @@ To get your *API KEY*, login to your SecureNative account and go to project sett
5656
SecureNative can automatically load your config from *securenative.properties* file or from the file that is specified in your *SECURENATIVE_CONFIG_FILE* env variable:
5757

5858
```java
59+
// Options 1: Use default config file path
5960
SecureNative secureNative = SecureNative.init();
61+
62+
// Options 2: Use specific config file path
63+
Path path = Paths.get("/path/to/securenative.properties");
64+
SecureNative secureNative = SecureNative.init(path);
6065
```
6166
### Option 2: Initialize via API Key
6267

0 commit comments

Comments
 (0)