Documentation ¶
Index ¶
Constants ¶
View Source
const CurrentVersionStage = "AWSCURRENT"
CurrentVersionStage is AWS' hardcoded label that always indicates the "current" stage version
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SM ¶
type SM struct { Client *secretsmanager.Client SecretID string Hostname string TeamID string }
func NewWithConfig ¶
NewWithConfig create a new secrets manager client and initialize it with values from the ENV and the secret
func (SM) GetSecretValue ¶
func (sm SM) GetSecretValue(ctx context.Context) (*TFECredentialsSecret, error)
type SecretsManager ¶
type TFECredentialsSecret ¶
Click to show internal directories.
Click to hide internal directories.