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