Documentation
¶
Index ¶
Constants ¶
View Source
const ( // Name of the secret store Name = secrets.TypeAWS // AwsAccessKey corresponds to AWS credential AWS_ACCESS_KEY_ID AwsAccessKey = "AWS_ACCESS_KEY_ID" // AwsSecretAccessKey corresponds to AWS credential AWS_SECRET_ACCESS_KEY AwsSecretAccessKey = "AWS_SECRET_ACCESS_KEY" // AwsTokenKey corresponds to AWS credential AWS_SECRET_TOKEN_KEY AwsTokenKey = "AWS_SECRET_TOKEN_KEY" // AwsRegionKey defines the AWS region AwsRegionKey = "AWS_REGION" // AwsCMKey defines the KMS customer master key AwsCMKey = "AWS_CMK" // KMSKvdbKey is used to setup AWS KMS Secret Store with kvdb for persistence. KMSKvdbKey = "KMS_KVDB" )
Variables ¶
View Source
var ( // ErrCMKNotProvided is returned when CMK is not provided. ErrCMKNotProvided = errors.New("AWS CMK not provided. Cannot perform KMS operations.") // ErrAWSRegionNotProvided is returned when region is not provided. ErrAWSRegionNotProvided = errors.New("AWS Region not provided. Cannot perform KMS operations.") // ErrInvalidKvdbProvided is returned when an incorrect KVDB implementation is provided for persistence store. ErrInvalidKvdbProvided = errors.New("Invalid kvdb provided. AWS KMS works in conjuction with a kvdb") )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.