public class AWSSecretsManagerSecretSource extends Object implements SecretSource
| Constructor and Description |
|---|
AWSSecretsManagerSecretSource() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Clean the resources in the class.
|
String |
getSecret(URI uri)
This load the secret from aws-secrets manager.
|
String |
getURIScheme()
The scheme string which this implementation will handle.
|
public String getURIScheme()
SecretSourcegetURIScheme in interface SecretSourcepublic String getSecret(URI uri) throws IOException
getSecret in interface SecretSourceuri - The uri should be of format: aws-sm:///{key-arn-or-name}IOExceptionpublic void close()
close in interface Closeableclose in interface AutoCloseableCopyright © 2024 The Apache Software Foundation. All rights reserved.