Member-only story
Working with AWS Configure Profiles and KOps
KOps | AWS | Best Practice | β Kevin Summersill π
I started working with AWS profiles to make it easier between supporting customers within multiple accounts. I also realized it made it a lot easier to keep your default credential area completely empty. To view what you currently have in your credential list type in: (of course, assuming you already have the aws cli installed)
aws configure list
It is easy to create a profile within AWS. Just type in:
aws configure profile <name of profile>
You may now be wondering how in the world do I get KOps to read my organized AWS credentials. Well, KOps does read the environment variables AWS_PROFILE. So what you can do it change the AWS_PROFILE to the name of the profile you wish KOps to use when you run commands like βkops edit ig nodesβ.
You can set the environment variable by running:
set AWS_PROFILE=<name of profile>
Now try to re-run your KOps credentials. Happy K8ing, if that is a thing.