Open
Description
Currently if a substring in the "secret identifier" is perceived as a substitution variable AND is not declared then Summon throws an error. This has the disastrous effect of preventing providers that accept substrings prepended with $
from ever being run.
This issue follows from @jepperson2's comment at cyberark/summon-aws-secrets#6 (comment)
For example, a secrets.yml like this one fails:
MY_SECRET1: !var fakeSecret#$temp MY_SECRET2: !var fakeSecret##temp MY_SECRET3: !var fakeSecret#temp# MY_SECRET4: !var fakeSecret#te#mp
Because MY_SECRET1 has a '$' in it, it is being parsed as though a corresponding
-D temp=...
should be passed to the summon command. The error I'm getting is from here: https://github.com/cyberark/summon/blob/master/secretsyml/secretsyml.go#L192