Skip to main content
Aliases: object-storage, os

Subcommands


list

List object storage endpoints, optionally filtered by organization, project, or region.

Flags

FlagDescription
—org stringOrganization ID
—project stringProject ID
—region stringRegion ID
—jsonEmit the full JSON payload (mutually exclusive with -q)
-q, —query stringArrayjq filter for value extraction (see Query output with -q)

Example


get

Get details for a specific object storage endpoint.

Flags

FlagDescription
—id stringObject storage endpoint ID
—org stringOrganization ID
—jsonEmit the full JSON payload (mutually exclusive with -q)
-q, —query stringArrayjq filter for value extraction (see Query output with -q)

create

Create a new object storage endpoint. Accepts input from a JSON file or stdin.

Flags

FlagDescription
-f, —file stringPath to a JSON file
—stdinRead JSON from standard input
—dry-runPreview the request payload without persisting
-y, —yesAutomatically confirm creation
—jsonEmit the full JSON payload (mutually exclusive with -q)
-q, —query stringArrayjq filter for value extraction (see Query output with -q)

Examples


delete

Delete an existing object storage endpoint.

Flags

Example


list-policies

List identity policies for an object storage endpoint.

Flags

FlagDescription
—id stringObject storage endpoint ID
—org stringOrganization ID
—jsonEmit the full JSON payload (mutually exclusive with -q)
-q, —query stringArrayjq filter for value extraction (see Query output with -q)

get-policy-document

Show the JSON policy document for an identity policy on an object storage endpoint.

Flags

FlagDescription
—id stringObject storage endpoint ID
—name stringIdentity policy name
—org stringOrganization ID
—jsonEmit the full JSON payload (mutually exclusive with -q)
-q, —query stringArrayjq filter for value extraction (see Query output with -q)

create-policy

Create a new identity policy on an object storage endpoint. The policy document is read from a JSON file or stdin.

Flags

FlagDescription
—id stringObject storage endpoint ID
—name stringIdentity policy name
—org stringOrganization ID
-f, —file stringPath to a JSON policy document file
—stdinRead JSON from standard input
—dry-runPreview the request payload without persisting
-y, —yesAutomatically confirm creation
—jsonEmit the full JSON payload (mutually exclusive with -q)
-q, —query stringArrayjq filter for value extraction (see Query output with -q)

Examples


update-policy

Update an existing identity policy on an object storage endpoint. The policy document is read from a JSON file or stdin.

Flags

FlagDescription
—id stringObject storage endpoint ID
—name stringIdentity policy name
—org stringOrganization ID
-f, —file stringPath to a JSON policy document file
—stdinRead JSON from standard input
—dry-runPreview the request payload without persisting
-y, —yesAutomatically confirm update
—jsonEmit the full JSON payload (mutually exclusive with -q)
-q, —query stringArrayjq filter for value extraction (see Query output with -q)

Examples


delete-policy

Delete an identity policy from an object storage endpoint.

Flags

Example


list-access-keys

List access keys for an object storage endpoint.

Flags

FlagDescription
—id stringObject storage endpoint ID
—org stringOrganization ID
—jsonEmit the full JSON payload (mutually exclusive with -q)
-q, —query stringArrayjq filter for value extraction (see Query output with -q)

create-access-key

Create a new access key for an object storage endpoint, optionally associated with an identity policy.

Flags

FlagDescription
—id stringObject storage endpoint ID
—name stringAccess key name
—policy stringIdentity policy name to associate with the access key
—org stringOrganization ID
—dry-runPreview the request payload without persisting
-y, —yesAutomatically confirm creation
—jsonEmit the full JSON payload (mutually exclusive with -q)
-q, —query stringArrayjq filter for value extraction (see Query output with -q)

Example


delete-access-key

Delete an access key from an object storage endpoint.

Flags

Example


Object Storage (Console)

Create and manage object storage via the Console UI.