Credential¶
See also: How to manage credentials
In Juju, a credential represents a collection of authentication material (like username & password, or client id & secret key) that is specific to a Juju user and a cloud and allows that user to interact with that cloud.
Important
In Juju a ‘credential’ always refers to authentication material used to access a cloud.
Clouds can have one or more sets of credentials associated with them.
When you create a model in Juju it must always be associated with a cloud/credential pair – the model needs that to create resources on the underlying cloud.
Client vs. controller credential¶
Juju credentials can be created for either the Juju client or the Juju controller or both – where a client credential (previously known as a ‘local credential’) denotes a credential that the client is aware of and a controller credential (previously known as a ‘remote credential’) denotes a credential that a controller is aware of. When you bootstrap a controller and use a client credential, this credential gets automatically uploaded to the controller, so it becomes a controller credential also.
Important
The set of client credentials and controller credentials can end up being the same. However, they don’t have to.