"juju credentials --show-secrets" doesn't show secrets when using tabular output
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Invalid
|
Wishlist
|
Unassigned |
Bug Description
I see this with 2.0.1 and 2.1-beta1-
Basically, when using tabular format (or when it's not specified), "juju credentials ${CLOUD_NAME} --show-secrets", doesn't show any secrets. When using the other output formats, they are shown. I expect to be able to see secrets when requested regardless of the format.
ubuntu@
credentials:
scapestack:
scapestack:
auth-type: oauth1
maas-oauth: [REDACTED]
ubuntu@
{"credentials"
ubuntu@
Cloud Credentials
scapestack scapestack
ubuntu@
Cloud Credentials
scapestack scapestack
Also available via: https:/
Changed in juju: | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → 2.1-beta2 |
Changed in juju: | |
milestone: | 2.1-beta2 → none |
Changed in juju: | |
status: | Triaged → Invalid |
This was a deliberate decision because the credential secret attributes differ depending on the auth scheme used. Tabular output is best suited to information which can be organised into consistent columns.