Service Accounts
-
create-service-account — Create a service account
dci create-service-account name: terraform-ci, description: "Manages DoiT resources from CI", permissions: [cloudAnalyticsReadOnly, budgetsManager] --idempotency-key "$(uuidgen)" -
create-service-account-token — Create an API token for a service account
dci create-service-account-token <service-account-id> name: ci-pipeline-prod, expiresTime: "2027-09-01T08:00:00Z" --idempotency-key "$(uuidgen)" --output json -
delete-service-account — Delete a service account
dci delete-service-account <service-account-id> --if-match <etag> --dry-run -
delete-service-account-token — Delete an API token
dci delete-service-account-token <service-account-id> <token-id> --dry-run -
get-service-account — Get a service account
dci get-service-account terraform-ci -
get-service-account-token — Get an API token
dci get-service-account-token <service-account-id> <token-id> -
list-service-account-tokens — List API tokens for a service account
dci list-service-account-tokens <service-account-id> -
list-service-accounts — List service accounts
dci list-service-accounts -
update-service-account — Update a service account
dci update-service-account <service-account-id> permissions: [cloudAnalyticsReadOnly] --if-match <etag> --idempotency-key "$(uuidgen)" -
update-service-account-token — Enable or disable an API token
dci update-service-account-token <service-account-id> <token-id> state: disabled --idempotency-key "$(uuidgen)"