public final class AwsUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
AWS_SECRETSMANAGER_ENDPOINT_PROPERTY
Name of the system property used to override the default endpoint of the Amazon Secrets manager.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
getSecretValue(String regionName,
String secretName)
Gets the value of the specified secret in the given AWS region.
|
static Set<String> |
listAwsKeyspacesHosts()
Lists all the valid hosts for Amazon Keyspaces.
|
public static final String AWS_SECRETSMANAGER_ENDPOINT_PROPERTY
public static Set<String> listAwsKeyspacesHosts()
See: List of Amazon Keyspaces endpoints (last update: March 2025).
public static String getSecretValue(String regionName, String secretName) throws SQLTransientException
regionName - The name of the AWS region.secretName - The name of the secret.SQLTransientException - when retrieval of the secret in AWS Secret Manager failed.Copyright © 2020–2026 ING Bank. All rights reserved.