vbem/configure-huawei-cloud-credentials

🌼 OIDC based Huawei Cloud STS credentials (Access Key ID / Secret Access Key / Security Token) configuration action

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
provider-urnThe OIDC provider URN in Huawei Cloud IAM v5. Required, in format of `iam::<account-id>:oidcProvider:<provider-name>`.yes
agency-urnThe agency URN to assume in Huawei Cloud IAM v5. Required, in format of `iam::<account-id>:agency:<agency-name>`.yes
audienceThe audience for OIDC token. Default to `sts.huaweicloud.com`.nosts.huaweicloud.com
session-nameThe session name for agency assuming. Default to `GitHubActions`.noGitHubActions
duration-secondsThe duration seconds for agency assuming. Must be between `900` (15 mins) and `43200` (12 hrs), default to `900` (15 mins).no900
export-envWhether to export the credentials as env vars. Default to `true`.notrue
env-ak-nameThe env name for Access Key ID to export. Default to `HUAWEICLOUD_SDK_AK`.noHUAWEICLOUD_SDK_AK
env-sk-nameThe env name for Secret Access Key to export. Default to `HUAWEICLOUD_SDK_SK`.noHUAWEICLOUD_SDK_SK
env-st-nameThe env name for Security Token to export. Default to `HUAWEICLOUD_SDK_SECURITY_TOKEN`.noHUAWEICLOUD_SDK_SECURITY_TOKEN
sts-regionThe region of Huawei Cloud STS API for requesting. Default to `` (`ap-southeast-1` for GitHub-hosted runners, `cn-east-3` otherwise).no""
api-timeoutThe timeout seconds for API calls to GitHub and Huawei Cloud STS. Default to `10`.no10
api-retryThe retry times for API calls to GitHub and Huawei Cloud STS. Default to `2`.no2
namedescription
akAccess Key ID of the temporary credential. String, e.g. `HSTANO...........`.
skSecret Access Key of the temporary credential. String, e.g. `EoWCQrr...........`.
stSecurity Token of the temporary credential. String, e.g. `hQpjbi1...........`.
expirationExpiration time of the temporary credential in RFC 3339 format. Datetime, e.g. `2026-09-07T03:27:51.158Z`.
urnThe URN of the assumed agency. String, in format of `sts::<account-id>::assumed-agency:<agency-name>/<session-name>`.
idThe unique ID of the assumed agency. String, in format of `<agency-id>:<session-name>`.