生成在aws控制台中切换角色的链接
aws-switchrole-links的Python项目详细描述
#aws switchrole链接
[![构建状态](https://travis-ci.org/teekaay/aws-switchrole-links.svg?branch=master)(https://travis ci.org/teekaay/aws switchrole links)
`aws switchrole links`是一个简单的脚本,用于生成链接,以便在aws控制台中轻松切换
角色。它生成的链接会自动在所需字段中填充
,因此您只需单击一个按钮!
如果您在许多不同的角色和帐户中操作,或者定期清除cookies,您可能会发现此脚本很有用。
比如
`https://signin.aws.amazon.com/switchrole?帐户=1234567890&;rolename=admin&displayname=admin配置文件region=eu-central-1`.
它将切换到“eu-central-1”中帐户“1234567890”中的“admin”角色并将其显示为“admin profile”(请参见“examples/awscli config”)。
setup.py install
or
从github安装最新版本。
确保已安装awscli(`pip install awscli`),并已配置
。
用法
用法:aws switchrole links[-h][--config][Frase{JSON,TeX}] [BR/>
可选参数:
-H,帮助显示此帮助消息并退出
-CONFIG CONFIG-COMFIG-JMSPATH表达式,用于过滤输出
格式{JSON,text}输出格式
--verbose启用详细日志记录
region=eu-central-1&rolename=admin&displayname=admin profile&account=1234567890
$aws switchrole links--format json--config examples/awscli config
{
“signinlinks”:[
{
“parameters”:{
“accountid”:“1234567890”,
“rolename”:“admin”、
“displayname”:“admin profile”、
“region”:“eu-central-1”
}、
“displayname”:“admin profile”、
“signinul”:“https://signin.aws.amazon.com/switchrole?region=eu-central-1&rolename=admin&displayname=admin profile&account=1234567890“
}
]
]
}
[![构建状态](https://travis-ci.org/teekaay/aws-switchrole-links.svg?branch=master)(https://travis ci.org/teekaay/aws switchrole links)
`aws switchrole links`是一个简单的脚本,用于生成链接,以便在aws控制台中轻松切换
角色。它生成的链接会自动在所需字段中填充
,因此您只需单击一个按钮!
如果您在许多不同的角色和帐户中操作,或者定期清除cookies,您可能会发现此脚本很有用。
比如
`https://signin.aws.amazon.com/switchrole?帐户=1234567890&;rolename=admin&displayname=admin配置文件region=eu-central-1`.
它将切换到“eu-central-1”中帐户“1234567890”中的“admin”角色并将其显示为“admin profile”(请参见“examples/awscli config”)。
setup.py install
or
从github安装最新版本。
确保已安装awscli(`pip install awscli`),并已配置
。
用法
用法:aws switchrole links[-h][--config][Frase{JSON,TeX}] [BR/>
可选参数:
-H,帮助显示此帮助消息并退出
-CONFIG CONFIG-COMFIG-JMSPATH表达式,用于过滤输出
格式{JSON,text}输出格式
--verbose启用详细日志记录
region=eu-central-1&rolename=admin&displayname=admin profile&account=1234567890
$aws switchrole links--format json--config examples/awscli config
{
“signinlinks”:[
{
“parameters”:{
“accountid”:“1234567890”,
“rolename”:“admin”、
“displayname”:“admin profile”、
“region”:“eu-central-1”
}、
“displayname”:“admin profile”、
“signinul”:“https://signin.aws.amazon.com/switchrole?region=eu-central-1&rolename=admin&displayname=admin profile&account=1234567890“
}
]
]
}