In the previous post I explained how to Use Cross-account access through AWS Console. Today I’ll show you how to do the same in the command line using aws-cli.
We’ve got Access and Secret keys for the Login account and want to use aws-cli
to create and manage resources in the Dev account above.
Final few words
If you have a shell script that makes a lot of these cross-account aws-cli calls you may notice it runs quite slow. That's because each call has to fetch a new set of cross-account credentials and that takes a second or so. In the next post I'll show you a faster way to do that.
Leave A Comment