Skip to main content
Version: Latest

Service Account API Reference

Check your docs version

These docs are for the new Anyscale design. If you started using Anyscale before April 2024, use Version 1.0.0 of the docs. If you're transitioning to Anyscale Preview, see the guide for how to migrate.

anyscale service-account

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.