Assume an TencentCloud Role and get temporary credentials using Onelogin.
Forked from onelogin-aws-cli-assume-role with support for TencentCloud.
You can download precompiled jars from the release page.
Use the tool to generate TencentCloud credentials and output them to the terminal.
java -jar tencentcloud-onelogin-cli.jarOr alternately save them to your TencentCloud credentials file to enable faster access from any terminal.
java -jar tencentcloud-onelogin-cli.jar --profile profilenameThe credentials last for 15 minutes by default, so you can also make it regenerate and update the credentials file by using the --loop option.
Use -help command option to get the help information.
java -jar tencentcloud-onelogin-cli.jar -helpThe project is hosted at github. You can download it from:
- Lastest release: https://github.com/TencentCloud/tencentcloud-onelogin-cli/releases
- Master repo: https://github.com/TencentCloud/tencentcloud-onelogin-cli