Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCredHubFactory ¶
func NewCredHubManagerFactory ¶
func NewCredHubManagerFactory() creds.ManagerFactory
Types ¶
type CredHubAtc ¶
type CredHubAtc struct { CredHub *lazyCredhub PathPrefix string TeamName string PipelineName string // contains filtered or unexported fields }
func (CredHubAtc) Get ¶
func (c CredHubAtc) Get(varDef template.VariableDefinition) (interface{}, bool, error)
func (CredHubAtc) List ¶
func (c CredHubAtc) List() ([]template.VariableDefinition, error)
type CredHubManager ¶
type CredHubManager struct { URL string `long:"url" description:"CredHub server address used to access secrets."` PathPrefix string `long:"path-prefix" default:"/concourse" description:"Path under which to namespace credential lookup."` TLS struct { CACerts []string `long:"ca-cert" description:"Paths to PEM-encoded CA cert files to use to verify the CredHub server SSL cert."` ClientCert string `long:"client-cert" description:"Path to the client certificate for mutual TLS authorization."` ClientKey string `long:"client-key" description:"Path to the client private key for mutual TLS authorization."` Insecure bool `long:"insecure-skip-verify" description:"Enable insecure SSL verification."` } UAA struct { ClientId string `long:"client-id" description:"Client ID for CredHub authorization."` ClientSecret string `long:"client-secret" description:"Client secret for CredHub authorization."` } }
func (CredHubManager) IsConfigured ¶
func (manager CredHubManager) IsConfigured() bool
func (CredHubManager) NewVariablesFactory ¶
func (manager CredHubManager) NewVariablesFactory(logger lager.Logger) (creds.VariablesFactory, error)
func (CredHubManager) Validate ¶
func (manager CredHubManager) Validate() error
Click to show internal directories.
Click to hide internal directories.