Skip to content

Feature Request: Mask secret in the output of git secrets command #187

Open
@suzuki-shunsuke

Description

@suzuki-shunsuke

The command git secrets outputs the secrets, so it is difficult to use this in CI because the secrets are leaked as the CI log.

$ git secrets --scan -r .
./foo.txt:8:  AWS_ACCESS_KEY_ID: *** # the secret is outputted!
...

So how about adding the option to mask secrets in the output?

Thank you.

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