while thinking of ways to supply an AWS key policy to use as a runtime argument to permission-slip https://github.com/oxidecomputer/permission-slip/pull/37, which doesn't make for a great command line argument, i was wondering if there was a way to include a file with the service that i could reference from cmd arg instead.
Ex: --key-policy-path policy.json vs --policy '{"image this was huge and you":"get the idea...'
for now i think i'll just an env var, but i could see this kind of feature being useful for services that would like to bundle config files with them.
while thinking of ways to supply an AWS key policy to use as a runtime argument to permission-slip https://github.com/oxidecomputer/permission-slip/pull/37, which doesn't make for a great command line argument, i was wondering if there was a way to include a file with the service that i could reference from cmd arg instead.
Ex:
--key-policy-path policy.jsonvs--policy '{"image this was huge and you":"get the idea...'for now i think i'll just an env var, but i could see this kind of feature being useful for services that would like to bundle config files with them.