-
Notifications
You must be signed in to change notification settings - Fork 994
Closed
Description
If the variable value has a special char like $, it isn't correctly evaluated when using SOPS with exec-env no matter if the variable value is double/single quoted in the file or in the shell execution.
Example:
$ sops -d s.env
MYVAR='$uuhh$jjhh'
# no results are displayed at all
$ sops exec-env s.env "echo \"$MYVAR\""
$ sops exec-env s.env "echo $MYVAR"
$ sops exec-env s.env "echo '$MYVAR'"Metadata
Metadata
Assignees
Labels
No labels