Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AWS ¶
type AWS interface { // AttemptAssumeRole will attempt to assume the supplied role and return either an error or the assumed role AttemptAssumeRole() (*sts.AssumeRoleOutput, 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. GetSecret(assumedRole *sts.AssumeRoleOutput, secretID string) (*secretsmanager.GetSecretValueOutput, error) }
type Impl ¶
type Impl struct {
// contains filtered or unexported fields
}
func (Impl) AttemptAssumeRole ¶
func (t Impl) AttemptAssumeRole() (*sts.AssumeRoleOutput, error)
func (Impl) GetSecret ¶
func (t Impl) GetSecret(assumedRole *sts.AssumeRoleOutput, secretID string) (*secretsmanager.GetSecretValueOutput, error)
Click to show internal directories.
Click to hide internal directories.