getsops/sops

sops command doesn't read --aws-profile flag value

mohammedalnaggar opened this issue · 1 comments

version: sops 3.8.0

Problem: The problem is noticed if you have multiple AWS profiles and you want to specify which credentials to use while using the sops command, unfortunately, sops keeps using the default profile from your ~/.aws/credentials

Workaround: export the aws profile of interest to the ENV var AWS_PROFILE