mozillazg/Authenticate to Alibaba Cloud
Authenticate to Alibaba Cloud with GitHub Actions OIDC tokens.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| audience | The value for the audience (aud) parameter in GitHub's generated OIDC token. | no | actions.github.com |
| region | Alibaba Cloud Region | no | ap-southeast-1 |
| role-arn-to-assume | Use the OIDC token to assume an RAM role. | yes | — |
| oidc-provider-arn | The arn of OIDC provider. | yes | — |
| role-duration-seconds | Role duration in seconds. | no | 3600 |
| role-session-name | Role session name | no | github-actions-<orgName>-<repoName> |
| export-environment-variables | If true, the action will export common environment variables which are known to be consumed by popular downstream libraries and tools, including: - ALIBABA_CLOUD_ACCESS_KEY_ID - ALICLOUD_ACCESS_KEY - ALIBABACLOUD_ACCESS_KEY_ID - ALICLOUD_ACCESS_KEY_ID - ALIBABA_CLOUD_ACCESS_KEY_SECRET - ALICLOUD_SECRET_KEY - ALIBABACLOUD_ACCESS_KEY_SECRET - ALICLOUD_ACCESS_KEY_SECRET - ALIBABA_CLOUD_SECURITY_TOKEN - ALICLOUD_ACCESS_KEY_STS_TOKEN - ALIBABACLOUD_SECURITY_TOKEN - ALICLOUD_SECURITY_TOKEN If false, the action will not export any environment variables. | no | false |
| set-outputs | If true, the action will set credentials as action outputs, including: - access-key-id - access-key-secret - security-token If false, the action will not set any action outputs. | no | false |
| retries | Number of times to retry a failed authentication attempt. | no | 3 |
Outputs
| name | description |
|---|---|
| access-key-id | The Alibaba Cloud Access Key ID |
| access-key-secret | The Alibaba Cloud Access Key Secret |
| security-token | The Alibaba Cloud Security Token (STS Token) |