object-storage, os
Subcommands
- list — List object storage endpoints
- get — Get object storage endpoint details
- create — Create a new object storage endpoint
- delete — Delete an object storage endpoint
- list-policies — List identity policies for an endpoint
- get-policy-document — Show the JSON policy document for an identity policy
- create-policy — Create a new identity policy on an endpoint
- update-policy — Update an existing identity policy
- delete-policy — Delete an identity policy from an endpoint
- list-access-keys — List access keys for an endpoint
- create-access-key — Create a new access key for an endpoint
- delete-access-key — Delete an access key from an endpoint
list
List object storage endpoints, optionally filtered by organization, project, or region.Flags
| Flag | Description |
|---|---|
—org string | Organization ID |
—project string | Project ID |
—region string | Region ID |
—json | Emit the full JSON payload (mutually exclusive with -q) |
-q, —query stringArray | jq filter for value extraction (see Query output with -q) |
Example
get
Get details for a specific object storage endpoint.Flags
| Flag | Description |
|---|---|
—id string | Object storage endpoint ID |
—org string | Organization ID |
—json | Emit the full JSON payload (mutually exclusive with -q) |
-q, —query stringArray | jq 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
| Flag | Description |
|---|---|
-f, —file string | Path to a JSON file |
—stdin | Read JSON from standard input |
—dry-run | Preview the request payload without persisting |
-y, —yes | Automatically confirm creation |
—json | Emit the full JSON payload (mutually exclusive with -q) |
-q, —query stringArray | jq filter for value extraction (see Query output with -q) |
Examples
delete
Delete an existing object storage endpoint.Flags
| Flag | Description |
|---|---|
--id string | Object storage endpoint ID |
--org string | Organization ID |
--dry-run | Preview the request payload without persisting |
-y, --yes | Automatically confirm deletion |
Example
list-policies
List identity policies for an object storage endpoint.Flags
| Flag | Description |
|---|---|
—id string | Object storage endpoint ID |
—org string | Organization ID |
—json | Emit the full JSON payload (mutually exclusive with -q) |
-q, —query stringArray | jq 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
| Flag | Description |
|---|---|
—id string | Object storage endpoint ID |
—name string | Identity policy name |
—org string | Organization ID |
—json | Emit the full JSON payload (mutually exclusive with -q) |
-q, —query stringArray | jq 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
| Flag | Description |
|---|---|
—id string | Object storage endpoint ID |
—name string | Identity policy name |
—org string | Organization ID |
-f, —file string | Path to a JSON policy document file |
—stdin | Read JSON from standard input |
—dry-run | Preview the request payload without persisting |
-y, —yes | Automatically confirm creation |
—json | Emit the full JSON payload (mutually exclusive with -q) |
-q, —query stringArray | jq 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
| Flag | Description |
|---|---|
—id string | Object storage endpoint ID |
—name string | Identity policy name |
—org string | Organization ID |
-f, —file string | Path to a JSON policy document file |
—stdin | Read JSON from standard input |
—dry-run | Preview the request payload without persisting |
-y, —yes | Automatically confirm update |
—json | Emit the full JSON payload (mutually exclusive with -q) |
-q, —query stringArray | jq filter for value extraction (see Query output with -q) |
Examples
delete-policy
Delete an identity policy from an object storage endpoint.Flags
| Flag | Description |
|---|---|
--id string | Object storage endpoint ID |
--name string | Identity policy name |
--org string | Organization ID |
--dry-run | Preview the request payload without persisting |
-y, --yes | Automatically confirm deletion |
Example
list-access-keys
List access keys for an object storage endpoint.Flags
| Flag | Description |
|---|---|
—id string | Object storage endpoint ID |
—org string | Organization ID |
—json | Emit the full JSON payload (mutually exclusive with -q) |
-q, —query stringArray | jq 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
| Flag | Description |
|---|---|
—id string | Object storage endpoint ID |
—name string | Access key name |
—policy string | Identity policy name to associate with the access key |
—org string | Organization ID |
—dry-run | Preview the request payload without persisting |
-y, —yes | Automatically confirm creation |
—json | Emit the full JSON payload (mutually exclusive with -q) |
-q, —query stringArray | jq filter for value extraction (see Query output with -q) |
Example
delete-access-key
Delete an access key from an object storage endpoint.Flags
| Flag | Description |
|---|---|
--id string | Object storage endpoint ID |
--access-key-id string | Access key ID |
--org string | Organization ID |
--dry-run | Preview the request payload without persisting |
-y, --yes | Automatically confirm deletion |
Example
Related
Object Storage (Console)
Create and manage object storage via the Console UI.