admin管理员组文章数量:1389833
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
本文标签: amazon web servicesLoop through AWS accounts using PowerShellStack Overflow
版权声明:本文标题:amazon web services - Loop through AWS accounts using PowerShell - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744565401a2613015.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论