Skip to Content
RcmadeDocs
Ray SecretsReferenceCLI ReferenceWorkspace

ray workspace create

Create a new Ray Secrets workspace

Create a new Ray Secrets workspace

Synopsis

ray workspace create [options]

Flags & Options

Flag / OptionTypeDescription
-n, --name <string>stringDisplay name for the newly created resource, bypassing interactive prompt

Common Examples

1. Interactive workspace creation wizard

Launches interactive prompts to configure and register a new organization workspace.

ray workspace create

2. Create workspace with explicit name

Creates a new workspace non-interactively by supplying the organization name flag.

ray workspace create --name acme-corp

Exit Codes

CodeMeaningRecommended Action
0Success. The command completed with no errors.None required.
1Runtime or execution failure. A child process returned non-zero status or a general error occurred.Inspect process output or run with --verbose.
2Authentication failed. Token is missing, expired, or invalid.Run `ray login` or update `RAY_TOKEN`.
3Configuration or binding error. Project or environment context was not found.Run `ray init` or specify `--project` and `--env`.
4Network or API failure. Failed to reach the Ray Secrets vault.Check internet connection or run `ray doctor`.

Ready to eliminate plaintext secrets?

Create a workspace to organize environments, invite your team, and generate scoped Service Tokens for CI/CD.