Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager handles API calls to AWS.
func NewManager ¶
NewManager creates a new manager from an existing AWS session.
func (*Manager) AssumeRole ¶
func (m *Manager) AssumeRole(arn, team string) (*sts.Credentials, error)
AssumeRole on the given role ARN and the given team name (identifier).
func (*Manager) WriteCredentials ¶
func (m *Manager) WriteCredentials(creds *sts.Credentials, path string) error
WriteCredentials handles writing a set of Credentials to the parameter store.
type SecretPath ¶ added in v0.2.0
SecretPath represents the path used to write secrets into Secrets manager.
func NewSecretPath ¶ added in v0.2.0
func NewSecretPath(team, account, template string) *SecretPath
NewSecretPath ...
func (*SecretPath) String ¶ added in v0.2.0
func (p *SecretPath) String() (string, error)
type SecretsClient ¶ added in v0.3.0
type SecretsClient secretsmanageriface.SecretsManagerAPI
SecretsClient for testing purposes.
Click to show internal directories.
Click to hide internal directories.