Documentation
¶
Index ¶
Constants ¶
View Source
const ProviderName = `KeystoneProvider`
ProviderName is the name of the credentials provider.
Variables ¶
This section is empty.
Functions ¶
func NewCredentialsClient ¶
func NewCredentialsClient(accessKeyID string, options ...func(*KeystoneProvider)) *credentials.Credentials
NewCredentialsClient returns a Credentials wrapper for retrieving credentials
func NewProviderClient ¶
func NewProviderClient(accessKeyID string, options ...func(*KeystoneProvider)) credentials.Provider
NewProviderClient returns a credentials Provider for retrieving credentials
Types ¶
type GetCredentialOutput ¶ added in v0.6.3
type KeystoneProvider ¶
type KeystoneProvider struct { // Requires a gopher cloud Client to make HTTP requests to the Keystone with. Identity *gophercloud.ServiceClient // Requires an AccessKeyID to filter the credentials request. AccessKeyID string }
KeystoneProvider is a client to retrieve credentials from Keystone.
func (*KeystoneProvider) Retrieve ¶
func (p *KeystoneProvider) Retrieve() (credentials.Value, error)
Retrieve will attempt to request the credentials from the Keystone And error will be returned if the retrieval fails.
Click to show internal directories.
Click to hide internal directories.