最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

amazon web services - Loop through AWS accounts using PowerShell - Stack Overflow

programmeradmin11浏览0评论

My company uses what I assume is federated access through SSO to connect to AWS, we have above 50 AWS accounts that I need to loop through to pull cost related data and I find myself a bit stuck.

I'm using PowerShell as a means to pull the information and unfortunately any credentials (access key/secret access key) obtained through the Get credentials page for the accounts appear to be temporary, defeating the purpose of the automation.

Using the below cmdlet, I am given the option of 20 AWS accounts, if I specify an account that doesn't appear in the list, I can't proceed, so I just wanted to see if there was a method I could connect to more than 20 AWS accounts using SSO through PowerShell in an automated manner.

Initialize-AWSSSOConfiguration
发布评论

评论列表(0)

  1. 暂无评论