This is a little esoteric, but I need help folks!
So I have a corporate AWS account that holds my user permissions. The corporate account has a sub-account that is housing all Lab facilities (so think an AWS within an AWS). I've been given full access within the Lab, and I'm trying to configure my access key/secret keys and the various information within the lab.
I'm following this link:
http://docs.aws.amazon.com/powershell/latest/userguide/pstools-getting-started.html
Which is to configure powershell toolkit for AWS. I'm performing all this work on a EC2 instance within my Lab account. However when all of the information appears correct, it would seem that I am still receiving access denied or other issues with credentials.
I've followed the set-credentials portion and verified that the default registered json file is being created with a storeas parameter. I suspect there is an issue because of the "Shared credential" that maybe required due to my account actually residing in the root corp account, but being passed by role to the sub-lab account. Has anybody found a way to do this? Or needs more info that i could possibly provide?
I'm pulling my hair out and I suspect it maybe just an access problem within the sub account role.
Here's what it sort of looks like in the workflow:
[CorpAccount] |--->Myname |--->LabFullAccessRole |-------->[LabAccount] |-----> EC2 Instance |-------> Local Powershell config with CORPAccount Role
Would be much appreciated if anyone with a similar setup could guide me through? My own coworkers are only experienced with AWS CLI and it also is experiencing issues.