help text for juju list-credentials needs improving

Bug #1567722 reported by Peter Matulis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
Medium
Reed O'Brien

Bug Description

e.g.:

Usage: juju list-credentials [options] [<cloud name>]

Summary:
Lists credentials for a cloud.

Options:

--format (= tabular)
    Specify output format (json|tabular|yaml)
-o, --output (= "")
    Specify output file
--show-secrets (= false)
    Show secrets

Details:
Credentials are used with `juju bootstrap` and `juju create-model`.
An arbitrary "credential name" is used to represent credentials, which are added either via `juju add-credential` or `juju autoload-credentials`. Note that there can be multiple sets of credentials and thus multiple names.
Actual authentication material is exposed with the '--show-secrets' option.
A controller and subsequently created models can be created with a different set of credentials but any action taken within the model (e.g.: `juju deploy`; `juju add-unit`) applies the set used to create the model. Recall that when a controller is created a 'default' model is also created.
Credentials denoted with an asterisk '*' are currently set as the default for the given cloud.

Examples:

    juju list-credentials
    juju list-credentials aws
    juju list-credentials --format yaml --show-secrets

See also: add-credential
          remove-credential
          set-default-credential
          autoload-credentials

Tags: helpdocs
description: updated
Changed in juju-core:
status: New → Triaged
importance: Undecided → Medium
milestone: none → 2.0-beta4
Changed in juju-core:
milestone: 2.0-beta4 → 2.0-rc1
Revision history for this message
Reed O'Brien (reedobrien) wrote :

Usage: juju list-credentials [options] [<cloud name>]

Summary:
Lists credentials for a cloud.

Options:
--format (= tabular)
    Specify output format (json|tabular|yaml)
-o, --output (= "")
    Specify an output file
--show-secrets (= false)
    Show secrets

Details:
Credentials are used with `juju bootstrap` and `juju create-model`.
An arbitrary "credential name" is used to represent credentials, which are
added either via `juju add-credential` or `juju autoload-credentials`.
Note that there can be multiple sets of credentials and thus multiple
names.
Actual authentication material is exposed with the '--show-secrets'
option.
A controller and subsequently created models can be created with a
different set of credentials but any action taken within the model (e.g.:
`juju deploy`; `juju add-unit`) applies the set used to create the model.
Recall that when a controller is created a 'default' model is also
created.
Credentials denoted with an asterisk '*' are currently set as the default
for the given cloud.

Examples:
    juju list-credentials
    juju list-credentials aws
    juju list-credentials --format yaml --show-secrets

See also:
    add-credential
    remove-credential
    set-default-credential
    autoload-credentials

Changed in juju-core:
status: Triaged → In Progress
assignee: nobody → Reed O'Brien (reedobrien)
Changed in juju-core:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
Changed in juju-core:
status: Fix Committed → Fix Released
affects: juju-core → juju
Changed in juju:
milestone: 2.0-beta5 → none
milestone: none → 2.0-beta5
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.