# 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"
.