Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Credentials ¶
type Credentials map[string]struct { vault.Configuration }
Credentials is a mapping of credentialName to dsv-sdk-go/vault/Configuration objects
func GetCredentials ¶
func GetCredentials(credentialsFilePath string) (*Credentials, error)
GetCredentials opens the credentialsFile and calls GetCredentialsFromFile on the resulting file
func GetCredentialsFromFile ¶
func GetCredentialsFromFile(credentialsFile *os.File) (*Credentials, error)
GetCredentialsFromFile parses the credentialsFile and returns the resulting Credentials object
func MakeCredentials ¶
func MakeCredentials(credentialJSON []byte) (*Credentials, error)
func (Credentials) Names ¶
func (credentials Credentials) Names() []string
Names returns the list of credential names
Click to show internal directories.
Click to hide internal directories.