juju remove-credential
¶
Summary¶
Removes Juju credentials for a cloud.
Usage¶
juju remove-credential [options] <cloud name> <credential name>
Options¶
Flag |
Default |
Usage |
---|---|---|
|
false |
Do not use web browser for authentication |
|
Controller to operate in |
|
|
false |
Client operation |
|
false |
Force remove controller-side credential, ignore validation errors |
Examples¶
juju remove-credential google credential_name
juju remove-credential google credential_name --client
juju remove-credential google credential_name -c mycontroller
juju remove-credential google credential_name -c mycontroller --force
Details¶
The credential to be removed is specified by a credential name.
Credential names, and optionally the corresponding authentication
material, can be listed with juju credentials
.
Use the --controller
option to remove credentials from a controller.
When removing cloud credential from a controller, Juju performs additional
checks to ensure that there are no models using this credential.
Occasionally, these check may not be desired by the user and can be by-passed using --force
.
If force remove was performed and some models were still using the credential, these models
will be left with unreachable machines.
Consequently, it is not recommended as a default remove action.
Models with unreachable machines are most commonly fixed by using another cloud credential,
see juju set-credential
for more information.
Use the --client
option to remove credentials from the current client.