juju list-credentials --show-secrets does not display passwords

Bug #1564168 reported by Nicholas Skaggs on 2016-03-31
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
juju
Medium
Anastasia
juju-core (Ubuntu)
Undecided
Unassigned

Bug Description

juju list-credentials --show-secrets does not display password data, unless used with --format yaml.

The following commands all fail to show additonal information using --show-secrets
juju list-credentials --show-secrets
juju list-credentials --format json --show-secrets
juju list-credentials --format tabular --show-secrets

When used with --format yaml, --show-secrets works.

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

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in juju-core (Ubuntu):
status: New → Confirmed
Changed in juju-core:
milestone: none → 2.0.0
status: New → Triaged
importance: Undecided → High
tags: added: docteam juju-release-support
tags: added: usability
Anastasia (anastasia-macmood) wrote :

This is working as designed - password data can only be seen in yaml format.
When --show-secrets is specified for all other formats, we need to inform the user to that effect:
"--show-secrets displays password data in yaml format only"

Changed in juju-core:
importance: High → Medium
affects: juju-core → juju
Changed in juju:
milestone: 2.0.0 → none
milestone: none → 2.0.0
Curtis Hovey (sinzui) on 2016-10-06
Changed in juju:
milestone: 2.0.0 → 2.0.1
Curtis Hovey (sinzui) on 2016-11-01
Changed in juju:
milestone: 2.0.1 → none
Changed in juju:
status: Triaged → In Progress
assignee: nobody → Anastasia (anastasia-macmood)

Actually, both json and yaml formats display secrets when asked. I'll update option and command help.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers