mise set doesn't redact secrets!
#5368
Replies: 4 comments 1 reply
-
|
Same problem |
Beta Was this translation helpful? Give feedback.
-
|
Same problem as well. Redact isn't redacting anything. Not sure if its since the commit that was supposed to fix redacting too much or not. I thought this worked at one point though. |
Beta Was this translation helpful? Give feedback.
-
|
redaction was intended for log messages so this isn't a bug but I agree that it probably should redact here unless a flag is passed |
Beta Was this translation helpful? Give feedback.
-
|
It does work as documented fwiw and does the purpose of masking it in the logs. Let's test: [env]
MISE_GITHUB_TOKEN = { value = "FOO", redact = true }
[tasks.test-output]
run = "echo $MISE_GITHUB_TOKEN"Here's an example output: $ mise run test-output
[test-output] $ echo $MISE_GITHUB_TOKEN
[redacted]It's not really hiding it, however, since the $ mise en
$ env |grep TOKEN
MISE_GITHUB_TOKEN=FOO...but I do agree that redacting it in |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
In my global mise config I have the following:
When running
mise setit shows the value of MISE_GITHUB_TOKEN instead of redacting it:Beta Was this translation helpful? Give feedback.
All reactions