dcloud iam roles trust-ciLet this platform's CI assume the role wherever it trusts GitHub Actions, for the repositories imported or mirrored here
IAM iam:UpdateAssumeRolePolicyChanges stateAsks before it deletes (-y skips)
Each Allow statement whose principal is the GitHub Actions identity provider gets a twin for this CI (its provider is added when missing, which needs iam:CreateOpenIdConnectProvider): the same conditions, with repo:<owner>/<repo> mapped to the repository here. GitHub keeps working. Statements that pin only by numeric ids are skipped and listed.
Synopsis
dcloud iam roles trust-ci idArguments
<id>Requiredstring
Also accepted as
--id. Constraints: uuid
Example
dcloud iam roles trust-ci idGenerated from the API description, the same one the API checks requests against and the CLI is built from.