infisical
infisical copied to clipboard
A cli command that prints only the value to stdout
Feature description
A cli command that outputs only the secret by its key. Consider we have a secret like KEY=abc
. With a possible implementation:
infisical secrets read KEY
# outputs:
abc
Why would it be useful?
It would give us more functionality in our deployment or other kind of scripts. We can do things like:
my_key=$(infisical secrets read KEY)
Additional context
Considering we already have infisical secrets get KEY
, shouldn't be too difficult to implement this. 👀
I've often seen that feature more like a parameter : infisical secrets get MY_VAR --plain
. Wdyt?
thats totally okay imo
@maidul98 @akhilmhdh I think this issue can be closed as resolved, thanks to : https://github.com/Infisical/infisical/pull/1532
And https://github.com/Infisical/infisical/pull/1383 might needs to be reviewed and edited to address further fixes