Documentation
¶
Index ¶
Constants ¶
View Source
const TypeName = "go2chef.source.secretsmanager"
TypeName is the name of this source plugin
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Source ¶
type Source struct {
SourceName string `mapstructure:"name"`
Region string `mapstructure:"region"`
SecretId string `mapstructure:"secret_id"`
FileName string `mapstructure:"filename"`
Credentials struct {
AccessKeyID string `mapstructure:"access_key_id"`
SecretAccessKey string `mapstructure:"secret_access_key"`
Token string `mapstructure:"token"`
}
// contains filtered or unexported fields
}
Source implements an AWS secretsmananger source plugin that copies data stored in AWS secrets mananger into a file.
func (*Source) DownloadToPath ¶
DownloadToPath reads the SecretString from secretsmanager and delivers it to the specified file at the download path.
Click to show internal directories.
Click to hide internal directories.