Skip to content

Secret env variables #161

Open
Open
@wrdls

Description

@wrdls

Hi,

I'd like support for secret variables. By this I mean that the value isn't shown when you run envman print.
Use case for this is to print the env in a CI pipeline so it's easier to see why your build is failing but I'd like to hide credentials from developers.

This commit seems to add support for what I'm asking but I'm not sure what is does. I tried to set this field but the value was still printed:

envs:
  - SECRET: password
    opts:
      is_sensitive: true

Workaround could be to use something like envman print | grep -v SECRET_VAR but a native solution would be nice.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions