Meltano `config list` and `config set` should print settings with `kind:secret` as `(redacted)`
See original GitHub issueAs reported in slack and I have confirmed locally.
Currently meltano config set
will print the setting value in clear text after setting it, and similarly, config list
will print the secret value in clear text as well.
Proposed changes:
meltano config set
would print(redacted)
in place of the setting value when confirming that the value has been stored.meltano config list
would print(redacted)
in place of the current value when printing the list of all settings.
Issue Analytics
- State:
- Created a year ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Manage Configuration
You can use meltano config <plugin> list to list all available settings for a plugin with their names, environment variables, and current values....
Read more >Settings - Meltano Documentation
You can use meltano config meltano list to list all available settings with their names, environment variables, and current values. Configuration that is ......
Read more >Command Line - Meltano Documentation
Enables you to manage the configuration of Meltano itself or any of its plugins, as well as plugin extras. When no explicit --store...
Read more >Complete Tutorial - Meltano Documentation
Follow the prompts to step through all available settings, or select an individual setting to configure. You can also optionally use the list...
Read more >General Usage - Meltano Documentation
Since plugins in your project need to have unique names, a discoverable plugin can ... A setting kind can be specified alongside the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@DouweM - Thanks for the extra context. It’s pretty common for secrets to be set in a one-way capacity, without visibility after the value being set. (GitHub does this, for example. Once set, you can override the value but not view it.)
I would personally lean towards also redacting on
meltano config
(with no subcommand) but adding something like--secrets
--with_secrets
or--secrets=true
allowing users to skip redactions.@aaronsteers @tayloramurphy I think we should still have some way to verify it’s been set correctly. We had a bug in the past where env-var expansion would accidentally remove anything following a
$
from a password, for example, that would be hard to identify without being able to see what Meltano will actually pass on to the plugin.A new flag on
config list
perhaps? Or do you thinkmeltano config
showing the unredacted value will be sufficient (assuming you left that one out in the description on purpose)?