public class AWSSecretRepository extends Object implements org.wso2.securevault.secret.SecretRepository
| Constructor and Description |
|---|
AWSSecretRepository()
Creates an AWSSecretRepository object.
|
AWSSecretRepository(org.wso2.securevault.keystore.IdentityKeyStoreWrapper identityKeyStoreWrapper,
org.wso2.securevault.keystore.TrustKeyStoreWrapper trustKeyStoreWrapper)
Creates an AWSSecretRepository object.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getEncryptedData(String alias)
Get Encrypted data.
|
org.wso2.securevault.secret.SecretRepository |
getParent()
Get parent repository.
|
String |
getSecret(String alias)
Get Secret from AWS Secrets Manager.
|
void |
init(Properties properties,
String id)
Initializes the AWS Secret repository based on provided properties.
|
void |
setParent(org.wso2.securevault.secret.SecretRepository parent)
Set parent repository.
|
public AWSSecretRepository(org.wso2.securevault.keystore.IdentityKeyStoreWrapper identityKeyStoreWrapper,
org.wso2.securevault.keystore.TrustKeyStoreWrapper trustKeyStoreWrapper)
identityKeyStoreWrapper - Identity keystore wrapper.trustKeyStoreWrapper - Trust keystore wrapper.public AWSSecretRepository()
public void init(Properties properties, String id)
init in interface org.wso2.securevault.secret.SecretRepositoryproperties - Configuration properties.id - Identifier to identify the corresponding repository and the instance.public String getSecret(String alias)
getSecret in interface org.wso2.securevault.secret.SecretRepositoryalias - Name and version of the secret being retrieved separated by a "#". The version is optional.SecretRepositorypublic String getEncryptedData(String alias)
getEncryptedData in interface org.wso2.securevault.secret.SecretRepositoryalias - Alias of the secret.public org.wso2.securevault.secret.SecretRepository getParent()
getParent in interface org.wso2.securevault.secret.SecretRepositorypublic void setParent(org.wso2.securevault.secret.SecretRepository parent)
setParent in interface org.wso2.securevault.secret.SecretRepositoryparent - Parent secret repository.Copyright © 2026 WSO2. All rights reserved.