optionally setting aws default profile as part of the workflow. #686
Replies: 2 comments 6 replies
-
@nickforsythbarr what’s your usual workflow with Granted — what commands do you run in a typical AWS CLI workflow? And how do you like to structure your config file? Personally I use Here’s what my profiles look like, for reference:
|
Beta Was this translation helpful? Give feedback.
-
theres is a high chance I'm just not using it correctly. The setup is a bit confusing, and today is my first day. Typically (previous to using this) I've just been pasting temp creds into terminals and then away I go, I've never bothered with the aws sso config before. So Im not entirely sure how its expected to behave. I have read the guide through a couple of times and can't actually see what I'm missing. I'm going to ask a coworker for help later on today and we'll see how we go. will close once sorted. |
Beta Was this translation helpful? Give feedback.
-
I avoid profiles because I use SSO, and I don't like having to specify
--profile
with each command.When assuming a profile with granted, we still have to do this which is sad. I understand the reasons why you'd want to avoid setting defaults with persistent credentials as to avoid mistakes etc. (e.g which profile am I in?)
Can you please consider having one more prompt along the lines of "Would you like to set this profile as default?" and if Yes |
then run the platform equivalent of:
export AWS_DEFAULT_PROFILE="$CHOSENPROFILE"
Beta Was this translation helpful? Give feedback.
All reactions