使用安全令牌服务的aws登录

aws-login的Python项目详细描述


一个简单的命令行实用程序,使用基于角色的访问和安全令牌服务登录到aws帐户。

选项

用法:aws_login[选项]操作

Aws-login is an AWS Helper CLI for using Role Based Access, easy and securly open the management console with the command line.

Actions:

aws-login start-mfa-session, aws-login mfa

aws-login add-profile, aws-login add

aws-login open-console, aws-login oc

aws-login print-console, aws-login pc

选项:
-s, --source-profile TEXT
The source profile.
-t, --target-profile TEXT
The target profile.
-r, --role TEXT
The role to assume
-a, --account-id TEXT
Account ID to assume the role
-v, --verboseshow verbose output.
-p, --profile TEXT
Use this profile for mfa session or opening console.
-E, --mfa-expiration INTEGER
number of seconds after which the MFA credentials are no longer valid
-R, --role-expiration INTEGER
number of seconds after which the role credentials are no longer valid
-C, --console-expiration INTEGER
number of seconds after which the console credentials are no longer valid
-T, --token TEXT
from your MFA device
-h, --helpShow this message and exit.

示例

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
使用applets查询的多人java游戏?   java如何基于字符串生成数组   基于java多边形的路径查找   java如何对多列ArrayList排序   java批处理更新从更新中返回了意外的行数(Spring/Hibernate)   java如何使用SeleniumWebDriver列出<tr>标记内的所有<td>   java如何使用SimpleFlatMapper将前缀为CSV的列别名到映射?   java为什么通过eclipse运行/调试TomCat时会出现ClassNotFoundException   java Android滚动视图上次视图未显示内部线性布局   替换字符串中不带空格的字符序列   调用方法时Java Swing GUI冻结   java是否允许/建议重用收集器?   在同步方法中使用java hashmap迭代器时   在java XMLDecoder XMLEncoder中写入XMLdatabase   java I无法在活动的片段中填充recyclerview   java Jitsi在调用过程中播放WAV文件如果可能,与音频混合   java JPA为什么我看到DB中每行有两个实体实例?