How can I tell Cider what AWS profile I want to use when I start my repl?
i'm confused, whats the overlap between cider and your aws profile?
are you speaking generally about your clojure application state choosing an aws profile?
So I want to use named profiles to manage my credentials for different AWS accounts, but when I start cider I don't see an opportunity to set the AWS_PROFILE environment variable as described in the docs: export AWS_PROFILE=user1 the reference is https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html
You'll have to do this without using environment variables - for example, the code I'm working on uses a config map to figure out how to connect to given AWS account and get credentials (ECS metadata, profile in ~/.aws/config etc.
@lukaszkorecki so does your code explicitly read ~/.aws/config ?
locally yes
we use AWS SSO linked with Okta so we need to pull that info from the profile file