Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockSource ¶
type MockSource map[string]*secretsmanager.GetSecretValueOutput
func (MockSource) AttemptAssumeRole ¶
func (ms MockSource) AttemptAssumeRole() (*sts.AssumeRoleOutput, error)
AttemptAssumeRole will attempt to assume the supplied role and return either an error or the assumed role
func (MockSource) GetSecret ¶
func (ms MockSource) GetSecret(assumedRole *sts.AssumeRoleOutput, secretID string) (*secretsmanager.GetSecretValueOutput, error)
GetSecret will return the descrypted version of the Secret from Secret Manager using the supplied assumed role to interact with Secret Manager. This function will return either an error or the retrieved and decrypted secret.
Click to show internal directories.
Click to hide internal directories.