Skip to content

Latest commit

 

History

History
59 lines (39 loc) · 3.87 KB

getting-started.md

File metadata and controls

59 lines (39 loc) · 3.87 KB
slug sidebar_position
/
1

Getting started

Installation

lease go to the Releases page to download the latest version of the ack-ram-tool.

Configuration

Credentials

ack-ram-tool will search for credential information in the system in the following order:

  1. Automatically use credential information that exists in the environment variables( Note: This tool also supports the credential-related environment variables supported by aliyun cli ):
environment variables description
ALIBABA_CLOUD_ACCESS_KEY_IDALICLOUD_ACCESS_KEYALIBABACLOUD_ACCESS_KEY_IDALICLOUD_ACCESS_KEY_IDALIBABACLOUD_ACCESS_KEY_IDACCESS_KEY_ID access key id
ALIBABA_CLOUD_ACCESS_KEY_SECRETALICLOUD_SECRET_KEYALIBABACLOUD_ACCESS_KEY_SECRETALICLOUD_ACCESS_KEY_SECRETALIBABACLOUD_ACCESS_KEY_SECRETACCESS_KEY_SECRET access key secret
ALIBABA_CLOUD_SECURITY_TOKENALICLOUD_ACCESS_KEY_STS_TOKENALIBABACLOUD_SECURITY_TOKENALICLOUD_SECURITY_TOKENALIBABACLOUD_SECURITY_TOKENSECURITY_TOKEN sts token
ALIBABA_CLOUD_CREDENTIALS_URI credentials URI
ALIBABA_CLOUD_ROLE_ARN RAM Role ARN
ALIBABA_CLOUD_OIDC_PROVIDER_ARN OIDC Provider ARN
ALIBABA_CLOUD_OIDC_TOKEN_FILE OIDC Token File
  1. When credential information does not exist in the environment variables, if there is an aliyun cli configuration file ~/.aliyun/config.json (For details on the aliyun cli configuration file, please refer to the official documentation ) , the program will automatically use that configuration file.

  2. When the aliyun cli configuration file does not exist, the program will attempt to use the credential information configured in the ~/.alibabacloud/credentials file (which can be specified by the --profile-file flags):

$ cat ~/.alibabacloud/credentials

[default]
type = access_key
access_key_id = foo
access_key_secret = bar

Permissions

In order to use ack-ram-tool normally, you need to grant the necessary RAM permissions and RBAC permissions for the Alibaba Cloud RAM user or RAM role that uses this tool. For the minimum permission information required for each subcommand, please refer to Permissions.