Documentation ¶
Index ¶
- Constants
- func CachedSecret(ctx context.Context, cfg *awscfg.Config, name, stage string) (string, error)
- func DeleteSecret(ctx context.Context, cfg *awscfg.Config, name string) error
- func GetSecretValue(ctx context.Context, cfg *awscfg.Config, name, stage string) (string, error)
- func Policy(principal *policies.Principal) *policies.Document
- type CreateSecretOutput
- type DescribeSecretOutput
- type PutResourcePolicyOutput
- type PutSecretValueOutput
Constants ¶
View Source
const ( AWSCURRENT = "" // the default when no stage is given is AWSCURRENT ResourceExistsException = "ResourceExistsException" ResourceNotFoundException = "ResourceNotFoundException" )
Variables ¶
This section is empty.
Functions ¶
func CachedSecret ¶
func GetSecretValue ¶
Types ¶
type CreateSecretOutput ¶
type CreateSecretOutput = secretsmanager.CreateSecretOutput
func CreateSecret ¶
type DescribeSecretOutput ¶
type DescribeSecretOutput = secretsmanager.DescribeSecretOutput
func DescribeSecret ¶
type PutResourcePolicyOutput ¶
type PutResourcePolicyOutput = secretsmanager.PutResourcePolicyOutput
type PutSecretValueOutput ¶
type PutSecretValueOutput = secretsmanager.PutSecretValueOutput
func EnsureSecret ¶
func PutSecretValue ¶
Click to show internal directories.
Click to hide internal directories.