Documentation ¶
Index ¶
Constants ¶
View Source
const ( DATABASE_CREDENTIALS = "database_credentials" AUTH_PRIVATE_KEY = "auth_private_key" AUTH_PUBLIC_KEY = "auth_public_key" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SecretsManagerClient ¶
type SecretsManagerClient struct {
Client SecretsManagerClientIface
}
func NewSecretsManagerClient ¶
func NewSecretsManagerClient(config *config.Config) (*SecretsManagerClient, error)
func (*SecretsManagerClient) GetSecretValue ¶
func (s *SecretsManagerClient) GetSecretValue(id string, key string) (*string, error)
type SecretsManagerClientIface ¶
type SecretsManagerClientIface interface {
GetSecretValue(ctx context.Context, params *secretsmanager_v2.GetSecretValueInput, optFns ...func(*secretsmanager_v2.Options)) (*secretsmanager_v2.GetSecretValueOutput, error)
}
Click to show internal directories.
Click to hide internal directories.