package
0.4.2
Repository: https://github.com/chef/go-libs.git
Documentation: pkg.go.dev

# Functions

finds the credentials file (default .chef/credentials) inside the current directory and recursively, plus inside the $HOME directory.
returns a Credentials instance from the current viper config.
returns a Credentials instance using the provided profile.
returns a Credentials instance using the default profile.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author

# Structs

main struct that holds all profiles, active profile and credentials.
the credentials from a single profile.

# Type aliases

override functions can be passed to credentials.FromViper to override any particular setting.
a list of credentials, this type maps exactly as our .chef/credentials file example: [default] client_name = "foo" client_key = "foo.pem" chef_server_url = "chef-server.example.com/organizations/bubu" [dev] client_name = "dev" client_key = "dev.pem" chef_server_url = "chef-server.example.com/organizations/dev" .