Skip to content

Redact password of variables type user #2651

@benjaminguttmann-avtq

Description

@benjaminguttmann-avtq

Is your feature request related to a problem? Please describe.
It seems if you create a variable of type user and setting a password for it, the respective password is not redacted when deploying the manifest.
Describe the solution you'd like
I would like the password (or the whole user options) to be redacted.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Add a variable type user with

variables:
- name: usertest
  type: user
  options:
    username: passwordtestuser
    password: supersecretpassword

during deploy

bosh -d prometheus deploy /tmp/manifest.yml
Using environment '10.200.1.9' as client 'admin'

Using deployment 'prometheus'

Release 'postgres/49' already exists.

Release 'bpm/1.2.20' already exists.

Release 'prometheus/30.9.0' already exists.

Release 'epo-monitoring-boshrelease/0.18.0' already exists.

Release 'a9s-consul/35' already exists.

  variables:
+ - name: usertest
+   options:
+     password: supersecretpassword
+     username: passwordtestuser
+   type: user

same happens if I refer to the password as another variable from credhub, it prints the non-redacted password.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Pending Review | Discussion

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions