Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAwsConfigFromBackendConfig ¶
func NewAwsConfigFromBackendConfig(backendId string, sessionConfig AwsSessionBackendConfig) ( *aws.Config, error)
Types ¶
type AwsSecretsManagerBackend ¶
type AwsSecretsManagerBackend struct { BackendId string Config AwsSecretsManagerBackendConfig Secret map[string]string }
func NewAwsSecretsManagerBackend ¶
func NewAwsSecretsManagerBackend(backendId string, bc map[string]interface{}) ( *AwsSecretsManagerBackend, error)
func (*AwsSecretsManagerBackend) GetSecretOutput ¶
func (b *AwsSecretsManagerBackend) GetSecretOutput(secretKey string) secret.SecretOutput
type AwsSecretsManagerBackendConfig ¶ added in v0.1.3
type AwsSecretsManagerBackendConfig struct { AwsSession AwsSessionBackendConfig `mapstructure:"aws_session"` BackendType string `mapstructure:"backend_type"` ForceString bool `mapstructure:"force_string"` SecretId string `mapstructure:"secret_id"` }
type AwsSessionBackendConfig ¶ added in v0.1.3
type AwsSessionBackendConfig struct { AwsRegion string `mapstructure:"aws_region"` AwsAccessKeyId string `mapstructure:"aws_access_key_id"` AwsSecretAccessKey string `mapstructure:"aws_secret_access_key"` AwsProfile string `mapstructure:"aws_profile"` AwsRoleArn string `mapstructure:"aws_role_arn"` AwsExternalId string `mapstructure:"aws_external_id"` }
type AwsSsmParameterStoreBackend ¶ added in v0.1.3
type AwsSsmParameterStoreBackend struct { BackendId string Config AwsSsmParameterStoreBackendConfig Secret map[string]string }
func NewAwsSsmParameterStoreBackend ¶ added in v0.1.3
func NewAwsSsmParameterStoreBackend(backendId string, bc map[string]interface{}) ( *AwsSsmParameterStoreBackend, error)
func (*AwsSsmParameterStoreBackend) GetSecretOutput ¶ added in v0.1.3
func (b *AwsSsmParameterStoreBackend) GetSecretOutput(secretKey string) secret.SecretOutput
type AwsSsmParameterStoreBackendConfig ¶ added in v0.1.3
type AwsSsmParameterStoreBackendConfig struct { AwsSession AwsSessionBackendConfig `mapstructure:"aws_session"` BackendType string `mapstructure:"backend_type"` ParameterPath string `mapstructure:"parameter_path"` Parameters []string `mapstructure:"parameters"` }
Click to show internal directories.
Click to hide internal directories.