LoginSignup
0

More than 5 years have passed since last update.

AWS Tools for Windows PowerShellでクロスアカウントアクセス

Last updated at Posted at 2017-01-04

確認したVersion: AWSPowerShell 3.1.95.0


Use-STSRole -RoleArn "arn:aws:iam::000000000000:role/aws-cross-account-role" -RoleSessionName "foo"
Set-AWSCredentials -Credential $role.Credentials

RoleSessionNameはなんでもいい。

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0