Skip to content

Commit 9747d4f

Browse files
committed
update AuthenticationExample
1 parent ece0c34 commit 9747d4f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/authentication/src/main/java/cloud/stackit/sdk/authentication/examples/AuthenticationExample.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public static void main(String[] args) throws IOException {
4040

4141
// read key content from a file, in production you can also read it e.g. from STACKIT
4242
// secrets manager, so it's only kept in-memory
43-
String serviceAccountKeyPath =
43+
String serviceAccountKeyPath = // replace it with the path to your service account key
4444
"examples/authentication/src/main/java/cloud/stackit/sdk/authentication/examples/dummy_credentials/dummy-service-account-key.json";
4545
File serviceAccountKeyFile = new File(serviceAccountKeyPath);
4646
StringBuilder serviceAccountKeyContent = new StringBuilder();
@@ -52,7 +52,7 @@ public static void main(String[] args) throws IOException {
5252
throw new RuntimeException(e);
5353
}
5454

55-
String privateKeyPath =
55+
String privateKeyPath = // replace it with the path to your private key
5656
"examples/authentication/src/main/java/cloud/stackit/sdk/authentication/examples/dummy_credentials/dummy-private-key.pem";
5757
File privateKeyFile = new File(privateKeyPath);
5858
StringBuilder privateKeyContent = new StringBuilder();

0 commit comments

Comments
 (0)