https://pulumi.com logo
#general
Title
# general
a

agreeable-truck-14797

11/05/2018, 9:41 PM
I do something like this
$Creds = (Use-STSRole   -RoleArn $RoleArn -RoleSessionName "SandBoxSession" -SerialNumber $SerialNumber -TokenCode 123456).Credentials