【文件属性】:
文件名称:aws-rotate-key:轻松旋转您的AWS访问密钥
文件大小:11KB
文件格式:ZIP
更新时间:2021-02-02 00:08:51
cli tools CommandlineinterfaceGo
旋转键
作为安全性最佳实践,AWS建议用户定期。 该工具简化了定义的访问密钥的旋转。
运行时,程序将列出与您的IAM用户关联的当前访问密钥,并打印其旋转步骤。 然后它将等待您的确认,然后继续。
用法
$ aws-rotate-key --help
Usage of aws-rotate-key:
-d Delete old key without deactivation.
-mfa
Use MFA.
-profile string
The profile to use. (default "default")
-version
Print version number
-y Automatic "yes" to prompts.
例
$ aws-rotate-key --profile work
Using access key AKIAJMIGD6UPCXCFWVOA from profile "work".
Your user ARN is: arn:aws:iam::123456789012:user/your_usernam
【文件预览】:
aws-rotate-key-master
----.gitignore(70B)
----go.mod(90B)
----Makefile(1KB)
----LICENSE(1KB)
----go.sum(410B)
----.github()
--------workflows()
----debian()
--------.gitignore(76B)
--------control(565B)
--------copyright(15B)
--------README.md(213B)
--------source()
--------changelog(154B)
--------rules(155B)
----main.go(10KB)
----README.md(5KB)