Skip to main content
Version: Canary 🐤

Service Account API Reference

Customer-hosted cloud features

note

Some features are only available on customer-hosted clouds. Reach out to preview-help@anyscale.com for info.

Service Account Models

Service Account CLI

anyscale service-account create

Usage

anyscale service-account create [OPTIONS]

Create a service account.

Options

  • --name/-n: Name for the service account.

anyscale service-account create-api-key

Usage

anyscale service-account create-api-key [OPTIONS]

Create a new API key for a service account.

Options

  • --email: Email of the service account to create the new key for.
  • --name: Name of the service account to create the new key for.

anyscale service-account list

Usage

anyscale service-account list [OPTIONS]

List all service accounts.

Options

  • --max-items: Max items to show in list.

anyscale service-account delete

Usage

anyscale service-account delete [OPTIONS]

Delete a service account.

Options

  • --email: Email of the service account to delete.
  • --name: Name of the service account to delete.

anyscale service-account rotate-api-keys

Usage

anyscale service-account rotate-api-keys [OPTIONS]

Rotate all api keys of a service account.

Options

  • --email: Rotate API keys for the service account with this email.
  • --name: Rotate API keys for the service account with this name.