Documentation ¶
Index ¶
- Constants
- func NewSsmFactory(log lager.Logger, session *session.Session, ...) *ssmFactory
- func NewSsmManagerFactory() creds.ManagerFactory
- type Ssm
- type SsmManager
- func (manager *SsmManager) Close(logger lager.Logger)
- func (manager *SsmManager) Health() (*creds.HealthResponse, error)
- func (manager *SsmManager) Init(log lager.Logger) error
- func (manager *SsmManager) IsConfigured() bool
- func (manager *SsmManager) MarshalJSON() ([]byte, error)
- func (manager *SsmManager) NewSecretsFactory(log lager.Logger) (creds.SecretsFactory, error)
- func (manager *SsmManager) Validate() error
Constants ¶
View Source
const DefaultPipelineSecretTemplate = "/concourse/{{.Team}}/{{.Pipeline}}/{{.Secret}}"
View Source
const DefaultTeamSecretTemplate = "/concourse/{{.Team}}/{{.Secret}}"
Variables ¶
This section is empty.
Functions ¶
func NewSsmFactory ¶
func NewSsmManagerFactory ¶
func NewSsmManagerFactory() creds.ManagerFactory
Types ¶
type Ssm ¶
type Ssm struct {
// contains filtered or unexported fields
}
func (*Ssm) NewSecretLookupPaths ¶
func (s *Ssm) NewSecretLookupPaths(teamName string, pipelineName string, allowRootPath bool) []creds.SecretLookupPath
NewSecretLookupPaths defines how variables will be searched in the underlying secret manager
type SsmManager ¶
type SsmManager struct { AwsAccessKeyID string `mapstructure:"access_key" long:"access-key" description:"AWS Access key ID"` AwsSecretAccessKey string `mapstructure:"secret_key" long:"secret-key" description:"AWS Secret Access Key"` AwsSessionToken string `mapstructure:"session_token" long:"session-token" description:"AWS Session Token"` AwsRegion string `mapstructure:"region" long:"region" description:"AWS region to send requests to"` PipelineSecretTemplate string `` /* 211-byte string literal not displayed */ TeamSecretTemplate string `` /* 185-byte string literal not displayed */ Ssm *Ssm }
func (*SsmManager) Close ¶
func (manager *SsmManager) Close(logger lager.Logger)
func (*SsmManager) Health ¶
func (manager *SsmManager) Health() (*creds.HealthResponse, error)
func (*SsmManager) IsConfigured ¶
func (manager *SsmManager) IsConfigured() bool
func (*SsmManager) MarshalJSON ¶
func (manager *SsmManager) MarshalJSON() ([]byte, error)
func (*SsmManager) NewSecretsFactory ¶
func (manager *SsmManager) NewSecretsFactory(log lager.Logger) (creds.SecretsFactory, error)
func (*SsmManager) Validate ¶
func (manager *SsmManager) Validate() error
Click to show internal directories.
Click to hide internal directories.