1 Answers
The common way is a User service account with a least right Policy and a set of keys.
However I did find a lovely reference that allows you to use a Role to do this.
here they are.
– https://www.google.com/search?q=aws+cli+role
Review these and see if you can make them work for you
😉
Thanks Rusty. The Service account is the easiest and approach. To use StsAssumeRole you have to have been authenticated already – made more complicated when you’re authenticating using SAML from AD 🙂
I’ll post and update if I find a more elegant way than the service account