Score:0

Instantiate AWS cred env vars on the CLI from AWS Identity Center

tl flag

I've moved to using AWS Identity Center for creds.
I follow the instructions and have a way to set the profile in the linux/mac CLI via a browser. I can then instantiate traditional AWS creds for third party pipelines by copy/pasting them from the browser onto the CLI.

Is there a way to do this workflow entirely from the CLI? Using an admin test setup, I still get not authorized from aws sts ... --profile my_profile.

Ideally, I'd alias the running of a small bash script which runs the aws sso login and then harvests the creds from the API, but other than a bit of python/bash, I'm no dev, so a bit stumped as to how to do this effectively.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.