Skip to main content

tcld service-account command reference

View Markdown

tcld service-account: Service Account management operations.

Alias: sa

create

tcld service-account create: Create a service account.

Alias: c

--description

The service account description

Alias: d

--name

The service account name

Alias: n

--request-id

The request-id to use for the asynchronous operation, if not set the server will assign one (optional)

Alias: r

--account-role

The account role to set on the service account; valid types are: [Admin Developer FinanceAdmin MetricsRead Owner Read]

Alias: ar

--namespace-permission

Flag can be used multiple times; value must be "<namespace>=<permission>"; valid types are: [Admin Read Write]

Alias: np

create-scoped

tcld service-account create-scoped: Create a scoped service account (service account restricted to a single namespace).

Alias: cs

--description

The service account description

Alias: d

--name

The service account name

Alias: n

--request-id

The request-id to use for the asynchronous operation, if not set the server will assign one (optional)

Alias: r

--namespace-permission

Value must be "<namespace>=<permission>"; valid types are: [Admin Read Write]

Alias: np

list

tcld service-account list: List service accounts.

Alias: l

--page-token

Page token for paging list service accounts request

Alias: p

--page-size

Page size for paging list service accounts request

Alias: s

get

tcld service-account get: Get service account information.

Alias: g

--service-account-id

The service account id

Alias: id

update

tcld service-account update: Update service account from Temporal Cloud.

Alias: u

--service-account-id

The service account id

Alias: id

--description

The service account description

Alias: d

--name

The service account name

Alias: n

--resource-version

The resource-version (etag) to update from, if not set the cli will use the latest (optional)

Alias: v

--request-id

The request-id to use for the asynchronous operation, if not set the server will assign one (optional)

Alias: r

delete

tcld service-account delete: Delete service account from Temporal Cloud.

Alias: d

--service-account-id

The service account id

Alias: id

--resource-version

The resource-version (etag) to update from, if not set the cli will use the latest (optional)

Alias: v

--request-id

The request-id to use for the asynchronous operation, if not set the server will assign one (optional)

Alias: r

set-account-role

tcld service-account set-account-role: Set account role for a service account.

Alias: sar

--service-account-id

The service account id

Alias: id

--request-id

The request-id to use for the asynchronous operation, if not set the server will assign one (optional)

Alias: r

--resource-version

The resource-version (etag) to update from, if not set the cli will use the latest (optional)

Alias: v

--account-role

The account role to set on the service account; valid types are: [Admin Developer FinanceAdmin MetricsRead Owner Read]

Alias: ar

set-namespace-permissions

tcld service-account set-namespace-permissions: Set entirely new set of namespace permissions for a service account.

Alias: snp

--service-account-id

The service account id

Alias: id

--request-id

The request-id to use for the asynchronous operation, if not set the server will assign one (optional)

Alias: r

--resource-version

The resource-version (etag) to update from, if not set the cli will use the latest (optional)

Alias: v

--namespace-permission

Flag can be used multiple times; value must be "namespace=permission"; valid types are: [Admin Read Write]

Alias: p