Package ai.tock.aws.secretmanager
Class AwsSecretManagerService
-
- All Implemented Interfaces:
-
ai.tock.shared.security.SecretManagerService
public final class AwsSecretManagerService implements SecretManagerServiceImplementation of the AWS Secret Manager Service
-
-
Field Summary
Fields Modifier and Type Field Description private final SecretManagerProviderTypetype
-
Constructor Summary
Constructors Constructor Description AwsSecretManagerService()
-
Method Summary
Modifier and Type Method Description SecretManagerProviderTypegetType()CredentialsgetCredentials(String secretName)AIProviderSecretgetAIProviderSecret(String secretName)UnitcreateOrUpdateAIProviderSecret(String secretName, AIProviderSecret secretValue)StringgenerateSecretName(String namespace, String botId, String feature)AwsSecretKeycreateSecretKeyInstance(String secretName)BooleanisSecretTypeSupported(SecretKey secret)UnitdeleteSecret(String secretName)-
-
Method Detail
-
getType
SecretManagerProviderType getType()
-
getCredentials
Credentials getCredentials(String secretName)
-
getAIProviderSecret
AIProviderSecret getAIProviderSecret(String secretName)
-
createOrUpdateAIProviderSecret
Unit createOrUpdateAIProviderSecret(String secretName, AIProviderSecret secretValue)
-
generateSecretName
String generateSecretName(String namespace, String botId, String feature)
-
createSecretKeyInstance
AwsSecretKey createSecretKeyInstance(String secretName)
-
isSecretTypeSupported
Boolean isSecretTypeSupported(SecretKey secret)
-
deleteSecret
Unit deleteSecret(String secretName)
-
-
-
-