Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update AuthenticationExample
  • Loading branch information
marceljk committed Sep 16, 2025
commit 9747d4f8f461d2734e4d11884df4c0b7d2ad6134
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public static void main(String[] args) throws IOException {

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

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