npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@super-protocol/swarm-cli

v0.0.5

Published

Swarm Cloud Command line interface

Readme

swarm-cli

=================

Swarm Cloud Command line interface

oclif Version Downloads/week

Usage

$ npm install -g @super-protocol/swarm-cli
$ sp COMMAND
running command...
$ sp (--version)
@super-protocol/swarm-cli/0.0.5 linux-x64 node-v24.16.0
$ sp --help [COMMAND]
USAGE
  $ sp COMMAND
...

Notes

When running interactive commands that open an external editor (e.g. asset create/update with "Open in editor"), set EDITOR or VISUAL environment variable to your preferred editor.

Commands

sp account

Manage local CLI account profiles

USAGE
  $ sp account [--json] [--tty]

GLOBAL FLAGS
  --json      Format output as json.
  --[no-]tty  Force or disable interactive mode (use --no-tty to disable).

DESCRIPTION
  Manage local CLI account profiles

  Manage local CLI account profiles and authentication settings.

See code: src/commands/account/index.ts

sp account forget

Remove a local account profile and its credentials.

USAGE
  $ sp account forget -n <value> [--json] [--tty] [-f]

FLAGS
  -f, --force         Force forget without confirmation
  -n, --name=<value>  (required) Account name to forget

GLOBAL FLAGS
  --json      Format output as json.
  --[no-]tty  Force or disable interactive mode (use --no-tty to disable).

DESCRIPTION
  Remove a local account profile and its credentials.

EXAMPLES
  $ sp account forget

  $ sp account forget --name "My Account"

  $ sp account forget --name "My Account" --force

See code: src/commands/account/forget.ts

sp account info

Show information about the current authorized user.

USAGE
  $ sp account info [--json] [--tty] [--detail]

FLAGS
  --detail  Detailed information about Account Profile

GLOBAL FLAGS
  --json      Format output as json.
  --[no-]tty  Force or disable interactive mode (use --no-tty to disable).

DESCRIPTION
  Show information about the current authorized user.

See code: src/commands/account/info.ts

sp account list

List local account profiles.

USAGE
  $ sp account list [--json] [--tty]

GLOBAL FLAGS
  --json      Format output as json.
  --[no-]tty  Force or disable interactive mode (use --no-tty to disable).

DESCRIPTION
  List local account profiles.

EXAMPLES
  $ sp account list

See code: src/commands/account/list.ts

sp account login

Log in and create a local account profile

USAGE
  $ sp account login --name <value> --url <value> [--json] [--tty] [--api-key <value>] [-y]

FLAGS
  -y, --yes              Skip non-essential prompts.
      --api-key=<value>  CLI API key issued from the Swarm Cloud UI
      --name=<value>     (required) Profile name
      --url=<value>      (required) Swarm API URL

GLOBAL FLAGS
  --json      Format output as json.
  --[no-]tty  Force or disable interactive mode (use --no-tty to disable).

DESCRIPTION
  Log in and create a local account profile

  Login to SuperProtocol with device authorization or a CLI API key.

ALIASES
  $ sp login

EXAMPLES
  $ sp account login --url https://api.swarm.superprotocol.com

See code: src/commands/account/login.ts

sp account switch

Switch to a different local account profile.

USAGE
  $ sp account switch [--json] [--tty] [-n <value>]

FLAGS
  -n, --name=<value>  Account name to switch

GLOBAL FLAGS
  --json      Format output as json.
  --[no-]tty  Force or disable interactive mode (use --no-tty to disable).

DESCRIPTION
  Switch to a different local account profile.

EXAMPLES
  $ sp account switch

See code: src/commands/account/switch.ts

sp autocomplete [SHELL]

Display autocomplete installation instructions.

USAGE
  $ sp autocomplete [SHELL] [-r]

ARGUMENTS
  [SHELL]  (zsh|bash|powershell) Shell type

FLAGS
  -r, --refresh-cache  Refresh cache (ignores displaying instructions)

DESCRIPTION
  Display autocomplete installation instructions.

EXAMPLES
  $ sp autocomplete

  $ sp autocomplete bash

  $ sp autocomplete zsh

  $ sp autocomplete powershell

  $ sp autocomplete --refresh-cache

See code: @oclif/plugin-autocomplete

sp cluster

Manage cluster spaces

USAGE
  $ sp cluster [--json] [--tty]

GLOBAL FLAGS
  --json      Format output as json.
  --[no-]tty  Force or disable interactive mode (use --no-tty to disable).

DESCRIPTION
  Manage cluster spaces

  Manage Kubernetes cluster spaces.

ALIASES
  $ sp cluster

sp cluster-space

Manage cluster spaces

USAGE
  $ sp cluster-space [--json] [--tty]

GLOBAL FLAGS
  --json      Format output as json.
  --[no-]tty  Force or disable interactive mode (use --no-tty to disable).

DESCRIPTION
  Manage cluster spaces

  Manage Kubernetes cluster spaces.

ALIASES
  $ sp cluster

See code: src/commands/cluster-space/index.ts

sp cluster-space config

Print or export a cluster space kubeconfig.

USAGE
  $ sp cluster-space config [--json] [--tty] [-i <value>] [-n <value>] [--export] [-o <value>] [--stdout]

FLAGS
  -i, --id=<value>      Cluster space ID
  -n, --name=<value>    Cluster space name
  -o, --output=<value>  Kubeconfig output path
      --export          Write kubeconfig to a file
      --stdout          Print kubeconfig to stdout

GLOBAL FLAGS
  --json      Format output as json.
  --[no-]tty  Force or disable interactive mode (use --no-tty to disable).

DESCRIPTION
  Print or export a cluster space kubeconfig.

ALIASES
  $ sp cluster config

EXAMPLES
  $ sp cluster-space config --id <cluster-space-id> --export

  $ sp cluster config --name dev --export --output ./kubeconfig-dev.yaml

  $ sp cluster-space config --id <cluster-space-id> --stdout

See code: src/commands/cluster-space/config.ts

sp cluster-space create

Create a cluster space.

USAGE
  $ sp cluster-space create [--json] [--tty] [-n <value>] [--region <value>] [--cpu-cores <value>] [--memory-gb <value>]
    [--storage-gib <value>] [--gpu] [--gpu-model h100|h200|b200] [--cost <value>]

FLAGS
  -n, --name=<value>         Cluster space name
      --cost=<value>         Expected cost
      --cpu-cores=<value>    CPU cores quota
      --gpu                  Request GPU resources
      --gpu-model=<option>   GPU model
                             <options: h100|h200|b200>
      --memory-gb=<value>    Memory quota in GB
      --region=<value>       Cluster space region
      --storage-gib=<value>  Storage quota in GiB

GLOBAL FLAGS
  --json      Format output as json.
  --[no-]tty  Force or disable interactive mode (use --no-tty to disable).

DESCRIPTION
  Create a cluster space.

ALIASES
  $ sp cluster create

EXAMPLES
  $ sp cluster-space create --name dev --region eu --cpu-cores 2 --memory-gb 4 --storage-gib 20

  $ sp cluster create --name dev

See code: src/commands/cluster-space/create.ts

sp cluster-space delete

Delete a cluster space.

USAGE
  $ sp cluster-space delete [--json] [--tty] [-f] [-i <value>] [-n <value>]

FLAGS
  -f, --force         Delete without confirmation
  -i, --id=<value>    Cluster space ID to delete
  -n, --name=<value>  Cluster space name to delete

GLOBAL FLAGS
  --json      Format output as json.
  --[no-]tty  Force or disable interactive mode (use --no-tty to disable).

DESCRIPTION
  Delete a cluster space.

ALIASES
  $ sp cluster delete

EXAMPLES
  $ sp cluster-space delete --id <cluster-space-id> --force

  $ sp cluster delete --name dev --force

See code: src/commands/cluster-space/delete.ts

sp cluster-space domains

List custom domains linked to a cluster space.

USAGE
  $ sp cluster-space domains [--json] [--tty] [-i <value>] [-n <value>] [--limit <value>] [--offset <value>]

FLAGS
  -i, --id=<value>      Cluster space ID
  -n, --name=<value>    Cluster space name
      --limit=<value>   [default: 10] Number of domain mappings to list
      --offset=<value>  Offset to start returning domain mappings from

GLOBAL FLAGS
  --json      Format output as json.
  --[no-]tty  Force or disable interactive mode (use --no-tty to disable).

DESCRIPTION
  List custom domains linked to a cluster space.

ALIASES
  $ sp cluster domains

EXAMPLES
  $ sp cluster-space domains --id <cluster-space-id>

  $ sp cluster domains --name dev

See code: src/commands/cluster-space/domains.ts

sp cluster-space list

List cluster spaces for the current user.

USAGE
  $ sp cluster-space list [--json] [--tty] [--limit <value>] [--offset <value>] [--name <value>] [--status <value>]
    [--region <value>] [--locked]

FLAGS
  --limit=<value>   [default: 10] Number of cluster spaces to list
  --[no-]locked     Filter by locked state
  --name=<value>    Filter by exact cluster space name
  --offset=<value>  Offset to start returning cluster spaces from
  --region=<value>  Filter by exact region
  --status=<value>  Filter by exact cluster space status

GLOBAL FLAGS
  --json      Format output as json.
  --[no-]tty  Force or disable interactive mode (use --no-tty to disable).

DESCRIPTION
  List cluster spaces for the current user.

ALIASES
  $ sp cluster list

EXAMPLES
  $ sp cluster-space list

  $ sp cluster-space list --limit 5 --status active

See code: src/commands/cluster-space/list.ts

sp cluster-space publish

Publish a cluster space (make it available on the network).

USAGE
  $ sp cluster-space publish [--json] [--tty] [-i <value>] [-n <value>]

FLAGS
  -i, --id=<value>    Cluster space ID to publish
  -n, --name=<value>  Cluster space name to publish

GLOBAL FLAGS
  --json      Format output as json.
  --[no-]tty  Force or disable interactive mode (use --no-tty to disable).

DESCRIPTION
  Publish a cluster space (make it available on the network).

ALIASES
  $ sp cluster publish

EXAMPLES
  $ sp cluster-space publish --id <cluster-space-id>

  $ sp cluster publish --name dev

See code: src/commands/cluster-space/publish.ts

sp cluster-space unpublish

Unpublish a cluster space (remove it from the network).

USAGE
  $ sp cluster-space unpublish [--json] [--tty] [-i <value>] [-n <value>]

FLAGS
  -i, --id=<value>    Cluster space ID to unpublish
  -n, --name=<value>  Cluster space name to unpublish

GLOBAL FLAGS
  --json      Format output as json.
  --[no-]tty  Force or disable interactive mode (use --no-tty to disable).

DESCRIPTION
  Unpublish a cluster space (remove it from the network).

ALIASES
  $ sp cluster unpublish

EXAMPLES
  $ sp cluster-space unpublish --id <cluster-space-id>

  $ sp cluster unpublish --name dev

See code: src/commands/cluster-space/unpublish.ts

sp cluster config

Print or export a cluster space kubeconfig.

USAGE
  $ sp cluster config [--json] [--tty] [-i <value>] [-n <value>] [--export] [-o <value>] [--stdout]

FLAGS
  -i, --id=<value>      Cluster space ID
  -n, --name=<value>    Cluster space name
  -o, --output=<value>  Kubeconfig output path
      --export          Write kubeconfig to a file
      --stdout          Print kubeconfig to stdout

GLOBAL FLAGS
  --json      Format output as json.
  --[no-]tty  Force or disable interactive mode (use --no-tty to disable).

DESCRIPTION
  Print or export a cluster space kubeconfig.

ALIASES
  $ sp cluster config

EXAMPLES
  $ sp cluster-space config --id <cluster-space-id> --export

  $ sp cluster config --name dev --export --output ./kubeconfig-dev.yaml

  $ sp cluster-space config --id <cluster-space-id> --stdout

sp cluster create

Create a cluster space.

USAGE
  $ sp cluster create [--json] [--tty] [-n <value>] [--region <value>] [--cpu-cores <value>] [--memory-gb <value>]
    [--storage-gib <value>] [--gpu] [--gpu-model h100|h200|b200] [--cost <value>]

FLAGS
  -n, --name=<value>         Cluster space name
      --cost=<value>         Expected cost
      --cpu-cores=<value>    CPU cores quota
      --gpu                  Request GPU resources
      --gpu-model=<option>   GPU model
                             <options: h100|h200|b200>
      --memory-gb=<value>    Memory quota in GB
      --region=<value>       Cluster space region
      --storage-gib=<value>  Storage quota in GiB

GLOBAL FLAGS
  --json      Format output as json.
  --[no-]tty  Force or disable interactive mode (use --no-tty to disable).

DESCRIPTION
  Create a cluster space.

ALIASES
  $ sp cluster create

EXAMPLES
  $ sp cluster-space create --name dev --region eu --cpu-cores 2 --memory-gb 4 --storage-gib 20

  $ sp cluster create --name dev

sp cluster delete

Delete a cluster space.

USAGE
  $ sp cluster delete [--json] [--tty] [-f] [-i <value>] [-n <value>]

FLAGS
  -f, --force         Delete without confirmation
  -i, --id=<value>    Cluster space ID to delete
  -n, --name=<value>  Cluster space name to delete

GLOBAL FLAGS
  --json      Format output as json.
  --[no-]tty  Force or disable interactive mode (use --no-tty to disable).

DESCRIPTION
  Delete a cluster space.

ALIASES
  $ sp cluster delete

EXAMPLES
  $ sp cluster-space delete --id <cluster-space-id> --force

  $ sp cluster delete --name dev --force

sp cluster domains

List custom domains linked to a cluster space.

USAGE
  $ sp cluster domains [--json] [--tty] [-i <value>] [-n <value>] [--limit <value>] [--offset <value>]

FLAGS
  -i, --id=<value>      Cluster space ID
  -n, --name=<value>    Cluster space name
      --limit=<value>   [default: 10] Number of domain mappings to list
      --offset=<value>  Offset to start returning domain mappings from

GLOBAL FLAGS
  --json      Format output as json.
  --[no-]tty  Force or disable interactive mode (use --no-tty to disable).

DESCRIPTION
  List custom domains linked to a cluster space.

ALIASES
  $ sp cluster domains

EXAMPLES
  $ sp cluster-space domains --id <cluster-space-id>

  $ sp cluster domains --name dev

sp cluster list

List cluster spaces for the current user.

USAGE
  $ sp cluster list [--json] [--tty] [--limit <value>] [--offset <value>] [--name <value>] [--status <value>]
    [--region <value>] [--locked]

FLAGS
  --limit=<value>   [default: 10] Number of cluster spaces to list
  --[no-]locked     Filter by locked state
  --name=<value>    Filter by exact cluster space name
  --offset=<value>  Offset to start returning cluster spaces from
  --region=<value>  Filter by exact region
  --status=<value>  Filter by exact cluster space status

GLOBAL FLAGS
  --json      Format output as json.
  --[no-]tty  Force or disable interactive mode (use --no-tty to disable).

DESCRIPTION
  List cluster spaces for the current user.

ALIASES
  $ sp cluster list

EXAMPLES
  $ sp cluster-space list

  $ sp cluster-space list --limit 5 --status active

sp cluster publish

Publish a cluster space (make it available on the network).

USAGE
  $ sp cluster publish [--json] [--tty] [-i <value>] [-n <value>]

FLAGS
  -i, --id=<value>    Cluster space ID to publish
  -n, --name=<value>  Cluster space name to publish

GLOBAL FLAGS
  --json      Format output as json.
  --[no-]tty  Force or disable interactive mode (use --no-tty to disable).

DESCRIPTION
  Publish a cluster space (make it available on the network).

ALIASES
  $ sp cluster publish

EXAMPLES
  $ sp cluster-space publish --id <cluster-space-id>

  $ sp cluster publish --name dev

sp cluster unpublish

Unpublish a cluster space (remove it from the network).

USAGE
  $ sp cluster unpublish [--json] [--tty] [-i <value>] [-n <value>]

FLAGS
  -i, --id=<value>    Cluster space ID to unpublish
  -n, --name=<value>  Cluster space name to unpublish

GLOBAL FLAGS
  --json      Format output as json.
  --[no-]tty  Force or disable interactive mode (use --no-tty to disable).

DESCRIPTION
  Unpublish a cluster space (remove it from the network).

ALIASES
  $ sp cluster unpublish

EXAMPLES
  $ sp cluster-space unpublish --id <cluster-space-id>

  $ sp cluster unpublish --name dev

sp help [COMMAND]

Display help for sp.

USAGE
  $ sp help [COMMAND...] [-n]

ARGUMENTS
  [COMMAND...]  Command to show help for.

FLAGS
  -n, --nested-commands  Include all nested commands in the output.

DESCRIPTION
  Display help for sp.

See code: @oclif/plugin-help

sp login

Log in and create a local account profile

USAGE
  $ sp login --name <value> --url <value> [--json] [--tty] [--api-key <value>] [-y]

FLAGS
  -y, --yes              Skip non-essential prompts.
      --api-key=<value>  CLI API key issued from the Swarm Cloud UI
      --name=<value>     (required) Profile name
      --url=<value>      (required) Swarm API URL

GLOBAL FLAGS
  --json      Format output as json.
  --[no-]tty  Force or disable interactive mode (use --no-tty to disable).

DESCRIPTION
  Log in and create a local account profile

  Login to SuperProtocol with device authorization or a CLI API key.

ALIASES
  $ sp login

EXAMPLES
  $ sp login --url https://api.swarm.superprotocol.com

sp registry

Manage container registry projects

USAGE
  $ sp registry [--json] [--tty]

GLOBAL FLAGS
  --json      Format output as json.
  --[no-]tty  Force or disable interactive mode (use --no-tty to disable).

DESCRIPTION
  Manage container registry projects

  Manage container registry projects used by service account grants.

See code: src/commands/registry/index.ts

sp registry create

Create a registry project.

USAGE
  $ sp registry create -n <value> -t local|proxy [--json] [--tty] [--registry-type
    DOCKER_HUB|DOCKER_REGISTRY|GITHUB_GHCR|GOOGLE_GCR|AWS_ECR|AZURE_ACR|HARBOR|JFROG|ALI_ACR|HUAWEI_SWR|TENCENT_TCR|VOLC
    ENGINE_CR] [--url <value>] [--insecure] [--description <value>] [--access-key <value>] [--access-secret <value>]
    [--grant] [--export] [--grant-spec <value>...] [--grant-service-account-id <value>] [--grant-actions <value>]
    [--grant-object-pattern <value>] [--grant-effect Allow|Deny] [--grant-description <value>] [--grant-conditions-json
    <value>]

FLAGS
  -n, --name=<value>                      (required) Registry project name
  -t, --type=<option>                     (required) Registry project type: Local or Proxy
                                          <options: local|proxy>
      --access-key=<value>                Upstream registry access key
      --access-secret=<value>             Upstream registry secret
      --description=<value>               Upstream registry description
      --export                            Print shell exports for Docker registry access
      --grant                             Prompt for access grant after create
      --grant-actions=<value>             Comma-separated grant actions: Read, Write, Delete, List
      --grant-conditions-json=<value>     Grant policy rule conditions as JSON object
      --grant-description=<value>         Grant policy rule description
      --grant-effect=<option>             Grant effect: Allow or Deny
                                          <options: Allow|Deny>
      --grant-object-pattern=<value>      Grant object pattern
      --grant-service-account-id=<value>  Service account ID to grant after create
      --grant-spec=<value>...             Grant access after create: <service-account-id>:<actions>:<object-pattern>
      --insecure                          Use insecure upstream registry
      --registry-type=<option>            Provider type
                                          <options: DOCKER_HUB|DOCKER_REGISTRY|GITHUB_GHCR|GOOGLE_GCR|AWS_ECR|AZURE_ACR|
                                          HARBOR|JFROG|ALI_ACR|HUAWEI_SWR|TENCENT_TCR|VOLCENGINE_CR>
      --url=<value>                       Upstream registry URL

GLOBAL FLAGS
  --json      Format output as json.
  --[no-]tty  Force or disable interactive mode (use --no-tty to disable).

DESCRIPTION
  Create a registry project.

EXAMPLES
  $ sp registry create --name data --type local

  $ sp registry create --name cache --type proxy --registry-type DOCKER_HUB --url https://registry-1.docker.io

  $ sp registry create --name data --type local --grant

  $ sp registry create --name data --type local --grant-service-account-id <sa-id> --grant-actions Read,Write --grant-object-pattern "**"

See code: src/commands/registry/create.ts

sp registry delete

Delete a registry project.

USAGE
  $ sp registry delete [--json] [--tty] [-f] [-i <value>] [-n <value>]

FLAGS
  -f, --force         Delete without confirmation
  -i, --id=<value>    Registry project ID to delete
  -n, --name=<value>  Registry project name to delete

GLOBAL FLAGS
  --json      Format output as json.
  --[no-]tty  Force or disable interactive mode (use --no-tty to disable).

DESCRIPTION
  Delete a registry project.

EXAMPLES
  $ sp registry delete --id 11111111-1111-1111-1111-111111111111 --force

  $ sp registry delete --name data --force

See code: src/commands/registry/delete.ts

sp registry get

Get details and connection help for a registry project.

USAGE
  $ sp registry get [--json] [--tty] [-i <value>] [-n <value>] [--grant] [--export]

FLAGS
  -i, --id=<value>    Registry project ID to fetch
  -n, --name=<value>  Registry project name to fetch
      --export        Print shell exports for Docker registry access
      --grant         Show policy rules granting access to this registry project

GLOBAL FLAGS
  --json      Format output as json.
  --[no-]tty  Force or disable interactive mode (use --no-tty to disable).

DESCRIPTION
  Get details and connection help for a registry project.

EXAMPLES
  $ sp registry get --id <project-id>

  $ sp registry get --name data --grant

See code: src/commands/registry/get.ts

sp registry list

List registry projects for the current user.

USAGE
  $ sp registry list [--json] [--tty] [--page <value>] [--count <value>] [--all]

FLAGS
  --all            List all registry projects
  --count=<value>  [default: 10] Number of registry projects per page
  --page=<value>   [default: 1] Page number

GLOBAL FLAGS
  --json      Format output as json.
  --[no-]tty  Force or disable interactive mode (use --no-tty to disable).

DESCRIPTION
  List registry projects for the current user.

EXAMPLES
  $ sp registry list

See code: src/commands/registry/list.ts

sp registry update

Update a registry project.

USAGE
  $ sp registry update [--json] [--tty] [-i <value>] [-n <value>] [--new-name <value>] [--access-key <value>]
    [--access-secret <value>]

FLAGS
  -i, --id=<value>             Registry project ID to update
  -n, --name=<value>           Registry project name to update
      --access-key=<value>     New upstream registry access key
      --access-secret=<value>  New upstream registry secret
      --new-name=<value>       New registry project name

GLOBAL FLAGS
  --json      Format output as json.
  --[no-]tty  Force or disable interactive mode (use --no-tty to disable).

DESCRIPTION
  Update a registry project.

EXAMPLES
  $ sp registry update --id <uuid> --new-name data-v2

  $ sp registry update --name cache --access-key key --access-secret secret

See code: src/commands/registry/update.ts

sp sa

Manage service accounts for S3 and Docker registry access

USAGE
  $ sp sa [--json] [--tty]

GLOBAL FLAGS
  --json      Format output as json.
  --[no-]tty  Force or disable interactive mode (use --no-tty to disable).

DESCRIPTION
  Manage service accounts for S3 and Docker registry access

  Manage service accounts used to grant workload access to S3 storage buckets and Docker registries.

ALIASES
  $ sp sa

sp sa create

Create a new service account.

USAGE
  $ sp sa create [--json] [--tty] [-n <value>] [--description <value>] [--ttl-seconds <value>] [--export]

FLAGS
  -n, --name=<value>         Service account name
      --description=<value>  Service account description
      --export               Print shell exports for the generated credentials
      --ttl-seconds=<value>  TTL in seconds. Omit for no expiration

GLOBAL FLAGS
  --json      Format output as json.
  --[no-]tty  Force or disable interactive mode (use --no-tty to disable).

DESCRIPTION
  Create a new service account.

ALIASES
  $ sp sa create

EXAMPLES
  $ sp service-accounts create --name data-ingest

  $ sp service-accounts create --name data-ingest --description "Uploads data" --ttl-seconds 3600

sp sa delete

Delete a service account.

USAGE
  $ sp sa delete [--json] [--tty] [-f] [-i <value>] [-n <value>]

FLAGS
  -f, --force         Delete without confirmation
  -i, --id=<value>    Service account ID to delete
  -n, --name=<value>  Service account name to delete

GLOBAL FLAGS
  --json      Format output as json.
  --[no-]tty  Force or disable interactive mode (use --no-tty to disable).

DESCRIPTION
  Delete a service account.

ALIASES
  $ sp sa delete

EXAMPLES
  $ sp service-accounts delete --id 11111111-1111-1111-1111-111111111111 --force

  $ sp service-accounts delete --name data-ingest --force

sp sa disable

Disable a service account.

USAGE
  $ sp sa disable [--json] [--tty] [-i <value>] [-n <value>]

FLAGS
  -i, --id=<value>    Service account ID to disable
  -n, --name=<value>  Service account name to disable

GLOBAL FLAGS
  --json      Format output as json.
  --[no-]tty  Force or disable interactive mode (use --no-tty to disable).

DESCRIPTION
  Disable a service account.

ALIASES
  $ sp sa disable

EXAMPLES
  $ sp service-accounts disable --id <uuid>

  $ sp service-accounts disable --name data-ingest

sp sa enable

Enable a service account.

USAGE
  $ sp sa enable [--json] [--tty] [-i <value>] [-n <value>]

FLAGS
  -i, --id=<value>    Service account ID to enable
  -n, --name=<value>  Service account name to enable

GLOBAL FLAGS
  --json      Format output as json.
  --[no-]tty  Force or disable interactive mode (use --no-tty to disable).

DESCRIPTION
  Enable a service account.

ALIASES
  $ sp sa enable

EXAMPLES
  $ sp service-accounts enable --id <uuid>

  $ sp service-accounts enable --name data-ingest

sp sa get

Get information about a service account.

USAGE
  $ sp sa get [--json] [--tty] [-i <value>] [-n <value>]

FLAGS
  -i, --id=<value>    Service account ID to fetch
  -n, --name=<value>  Service account name to fetch

GLOBAL FLAGS
  --json      Format output as json.
  --[no-]tty  Force or disable interactive mode (use --no-tty to disable).

DESCRIPTION
  Get information about a service account.

ALIASES
  $ sp sa get

EXAMPLES
  $ sp service-accounts get --id 11111111-1111-1111-1111-111111111111

  $ sp service-accounts get --name data-ingest

sp sa grant

Manage service account access grants

USAGE
  $ sp sa grant [--json] [--tty]

GLOBAL FLAGS
  --json      Format output as json.
  --[no-]tty  Force or disable interactive mode (use --no-tty to disable).

DESCRIPTION
  Manage service account access grants

  Manage service account access grants.

ALIASES
  $ sp sa grant

sp sa grant add

Grant a service account access to a storage bucket or registry project.

USAGE
  $ sp sa grant add [--json] [--tty] [--service-account-id <value>] [--service-account-name <value>]
    [--storage-bucket <value>] [--registry-project <value>] [--actions <value>] [--object-pattern <value>] [--effect
    Allow|Deny] [--description <value>] [--conditions-json <value>]

FLAGS
  --actions=<value>               Comma-separated actions: Read, Write, Delete, List
  --conditions-json=<value>       Policy rule conditions as JSON object
  --description=<value>           Policy rule description
  --effect=<option>               Policy effect: Allow or Deny
                                  <options: Allow|Deny>
  --object-pattern=<value>        Object pattern to grant
  --registry-project=<value>      Registry project ID
  --service-account-id=<value>    Service account ID to grant
  --service-account-name=<value>  Service account name to grant
  --storage-bucket=<value>        Storage bucket ID

GLOBAL FLAGS
  --json      Format output as json.
  --[no-]tty  Force or disable interactive mode (use --no-tty to disable).

DESCRIPTION
  Grant a service account access to a storage bucket or registry project.

ALIASES
  $ sp sa grant add

EXAMPLES
  $ sp sa grant add --service-account-id <sa-id> --storage-bucket <bucket-id> --actions read,list --object-pattern "*"

  $ sp sa grant add --service-account-id <sa-id> --registry-project <project-id> --actions read,write --object-pattern "**"

  $ sp sa grant add --service-account-name data-ingest --storage-bucket <bucket-id> --actions write --object-pattern uploads/*

sp sa grant delete

Delete service account access grants.

USAGE
  $ sp sa grant delete [--json] [--tty] [-f] [-i <value>...] [--service-account-id <value>] [--service-account-name
    <value>] [--storage-bucket <value>] [--registry-project <value>]

FLAGS
  -f, --force                         Delete without confirmation
  -i, --id=<value>...                 Policy rule ID to delete. Repeat to delete multiple rules.
      --registry-project=<value>      Registry project ID for resource-wide grant deletion
      --service-account-id=<value>    Service account ID for selecting grants or resource-wide grant deletion
      --service-account-name=<value>  Service account name for selecting grants or resource-wide grant deletion
      --storage-bucket=<value>        Storage bucket ID for resource-wide grant deletion

GLOBAL FLAGS
  --json      Format output as json.
  --[no-]tty  Force or disable interactive mode (use --no-tty to disable).

DESCRIPTION
  Delete service account access grants.

ALIASES
  $ sp sa grant delete

EXAMPLES
  $ sp sa grant delete --id <rule-id> --force

  $ sp sa grant delete --id <rule-id-1> --id <rule-id-2> --force

  $ sp sa grant delete --service-account-id <sa-id> --storage-bucket <bucket-id> --force

sp sa grant list

List service account access grants.

USAGE
  $ sp sa grant list [--json] [--tty] [-i <value>] [--service-account-id <value>] [--service-account-name <value>]
    [--storage-bucket <value>] [--registry-project <value>] [--page <value>] [--count <value>] [--all] [--timestamps]

FLAGS
  -i, --id=<value>                    Policy rule ID to filter by
      --all                           List all policy rules
      --count=<value>                 [default: 10] Number of policy rules per page
      --page=<value>                  [default: 1] Page number
      --registry-project=<value>      Registry project ID to filter by
      --service-account-id=<value>    Service account ID to filter by
      --service-account-name=<value>  Service account name to filter by
      --storage-bucket=<value>        Storage bucket ID to filter by
      --[no-]timestamps               Show created and updated timestamps

GLOBAL FLAGS
  --json      Format output as json.
  --[no-]tty  Force or disable interactive mode (use --no-tty to disable).

DESCRIPTION
  List service account access grants.

ALIASES
  $ sp sa grant list

EXAMPLES
  $ sp sa grant list

  $ sp sa grant list --id <rule-id>

  $ sp sa grant list -i <rule-id>

  $ sp sa grant list --service-account-id <sa-id>

  $ sp sa grant list --sa-id <sa-id>

  $ sp sa grant list --service-account-id <sa-id> --storage-bucket <bucket-id>

  $ sp sa grant list --sa-id <sa-id> --storage-bucket <bucket-id>

  $ sp sa grant list --sa-name <sa-name>

  $ sp sa grant list --timestamps

sp sa grant update

Update a service account access grant policy rule.

USAGE
  $ sp sa grant update [--json] [--tty] [-i <value>] [--service-account-id <value>] [--service-account-name <value>]
    [--action <value>] [--object-pattern <value>] [--effect <value>] [--description <value>] [--conditions-json <value>]
    [--clear-description] [--clear-conditions]

FLAGS
  -i, --id=<value>                    Policy rule ID to update
      --action=<value>                Policy action: Read, Write, Delete or List
      --clear-conditions              Remove conditions
      --clear-description             Remove description
      --conditions-json=<value>       Policy rule conditions as JSON object
      --description=<value>           Policy rule description
      --effect=<value>                Policy effect: Allow or Deny
      --object-pattern=<value>        Object pattern to grant
      --service-account-id=<value>    Service account ID to filter grants by in interactive mode
      --service-account-name=<value>  Service account name to filter grants by in interactive mode

GLOBAL FLAGS
  --json      Format output as json.
  --[no-]tty  Force or disable interactive mode (use --no-tty to disable).

DESCRIPTION
  Update a service account access grant policy rule.

ALIASES
  $ sp sa grant update

EXAMPLES
  $ sp sa grant update --id <rule-id> --action read

  $ sp sa grant update --id <rule-id> --object-pattern "uploads/*" --effect allow

  $ sp sa grant update --id <rule-id> --clear-conditions

sp sa list

List service accounts for the current user.

USAGE
  $ sp sa list [--json] [--tty] [--page <value>] [--count <value>] [--all]

FLAGS
  --all            List all service accounts
  --count=<value>  [default: 10] Number of service accounts per page
  --page=<value>   [default: 1] Page number

GLOBAL FLAGS
  --json      Format output as json.
  --[no-]tty  Force or disable interactive mode (use --no-tty to disable).

DESCRIPTION
  List service accounts for the current user.

ALIASES
  $ sp sa list

EXAMPLES
  $ sp service-accounts list

sp sa regenerate

Regenerate credentials for an existing service account.

USAGE
  $ sp sa regenerate [--json] [--tty] [-i <value>] [-n <value>] [--ttl-seconds <value>] [--clear-ttl] [--export]

FLAGS
  -i, --id=<value>           Service account ID to regenerate
  -n, --name=<value>         Service account name to regenerate
      --clear-ttl            Remove expiration while regenerating credentials
      --export               Print shell exports for the regenerated credentials
      --ttl-seconds=<value>  New TTL in seconds for regenerated credentials

GLOBAL FLAGS
  --json      Format output as json.
  --[no-]tty  Force or disable interactive mode (use --no-tty to disable).

DESCRIPTION
  Regenerate credentials for an existing service account.

ALIASES
  $ sp sa regenerate

EXAMPLES
  $ sp service-accounts regenerate --id <uuid>

  $ sp service-accounts regenerate --name data-ingest --ttl-seconds 3600

  $ sp service-accounts regenerate --id <uuid> --clear-ttl

sp sa update

Update an existing service account.

USAGE
  $ sp sa update [--json] [--tty] [-i <value>] [-n <value>] [--new-name <value>] [--description <value>]
    [--ttl-seconds <value>] [--clear-description] [--clear-ttl]

FLAGS
  -i, --id=<value>           Service account ID to update
  -n, --name=<value>         Service account name to update
      --clear-description    Remove description
      --clear-ttl            Remove expiration
      --description=<value>  New description
      --new-name=<value>     New service account name
      --ttl-seconds=<value>  New TTL in seconds

GLOBAL FLAGS
  --json      Format output as json.
  --[no-]tty  Force or disable interactive mode (use --no-tty to disable).

DESCRIPTION
  Update an existing service account.

ALIASES
  $ sp sa update

EXAMPLES
  $ sp service-accounts update --id <uuid> --new-name data-ingest-v2

  $ sp service-accounts update --name data-ingest --description "New description"

  $ sp service-accounts update --id <uuid> --clear-ttl

sp service-accounts

Manage service accounts for S3 and Docker registry access

USAGE
  $ sp service-accounts [--json] [--tty]

GLOBAL FLAGS
  --json      Format output as json.
  --[no-]tty  Force or disable interactive mode (use --no-tty to disable).

DESCRIPTION
  Manage service accounts for S3 and Docker registry access

  Manage service accounts used to grant workload access to S3 storage buckets and Docker registries.

ALIASES
  $ sp sa

See code: src/commands/service-accounts/index.ts

sp service-accounts create

Create a new service account.

USAGE
  $ sp service-accounts create [--json] [--tty] [-n <value>] [--description <value>] [--ttl-seconds <value>] [--export]

FLAGS
  -n, --name=<value>         Service account name
      --description=<value>  Service account description
      --export               Print shell exports for the generated credentials
      --ttl-seconds=<value>  TTL in seconds. Omit for no expiration

GLOBAL FLAGS
  --json      Format output as json.
  --[no-]tty  Force or disable interactive mode (use --no-tty to disable).

DESCRIPTION
  Create a new service account.

ALIASES
  $ sp sa create

EXAMPLES
  $ sp service-accounts create --name data-ingest

  $ sp service-accounts create --name data-ingest --description "Uploads data" --ttl-seconds 3600

See code: src/commands/service-accounts/create.ts

sp service-accounts delete

Delete a service account.

USAGE
  $ sp service-accounts delete [--json] [--tty] [-f] [-i <value>] [-n <value>]

FLAGS
  -f, --force         Delete without confirmation
  -i, --id=<value>    Service account ID to delete
  -n, --name=<value>  Service account name to delete

GLOBAL FLAGS
  --json      Format output as json.
  --[no-]tty  Force or disable interactive mode (use --no-tty to disable).

DESCRIPTION
  Delete a service account.

ALIASES
  $ sp sa delete

EXAMPLES
  $ sp service-accounts delete --id 11111111-1111-1111-1111-111111111111 --force

  $ sp service-accounts delete --name data-ingest --force

See code: src/commands/service-accounts/delete.ts

sp service-accounts disable

Disable a service account.

USAGE
  $ sp service-accounts disable [--json] [--tty] [-i <value>] [-n <value>]

FLAGS
  -i, --id=<value>    Service account ID to disable
  -n, --name=<value>  Service account name to disable

GLOBAL FLAGS
  --json      Format output as json.
  --[no-]tty  Force or disable interactive mode (use --no-tty to disable).

DESCRIPTION
  Disable a service account.

ALIASES
  $ sp sa disable

EXAMPLES
  $ sp service-accounts disable --id <uuid>

  $ sp service-accounts disable --name data-ingest

See code: src/commands/service-accounts/disable.ts

sp service-accounts enable

Enable a service account.

USAGE
  $ sp service-accounts enable [--json] [--tty] [-i <value>] [-n <value>]

FLAGS
  -i, --id=<value>    Service account ID to enable
  -n, --name=<value>  Service account name to enable

GLOBAL FLAGS
  --json      Format output as json.
  --[no-]tty  Force or disable interactive mode (use --no-tty to disable).

DESCRIPTION
  Enable a service account.

ALIASES
  $ sp sa enable

EXAMPLES
  $ sp service-accounts enable --id <uuid>

  $ sp service-accounts enable --name data-ingest

See code: src/commands/service-accounts/enable.ts

sp service-accounts get

Get information about a service account.

USAGE
  $ sp service-accounts get [--json] [--tty] [-i <value>] [-n <value>]

FLAGS
  -i, --id=<value>    Service account ID to fetch
  -n, --name=<value>  Service account name to fetch

GLOBAL FLAGS
  --json      Format output as json.
  --[no-]tty  Force or disable interactive mode (use --no-tty to disable).

DESCRIPTION
  Get information about a service account.

ALIASES
  $ sp sa get

EXAMPLES
  $ sp service-accounts get --id 11111111-1111-1111-1111-111111111111

  $ sp service-accounts get --name data-ingest

See code: src/commands/service-accounts/get.ts

sp service-accounts grant

Manage service account access grants

USAGE
  $ sp service-accounts grant [--json] [--tty]

GLOBAL FLAGS
  --json      Format output as json.
  --[no-]tty  Force or disable interactive mode (use --no-tty to disable).

DESCRIPTION
  Manage service account access grants

  Manage service account access grants.

ALIASES
  $ sp sa grant

See code: src/commands/service-accounts/grant/index.ts

sp service-accounts grant add

Grant a service account access to a storage bucket or registry project.

USAGE
  $ sp service-accounts grant add [--json] [--tty] [--service-account-id <value>] [--service-account-name <value>]
    [--storage-bucket <value>] [--registry-project <value>] [--actions <value>] [--object-pattern <value>] [--effect
    Allow|Deny] [--description <value>] [--conditions-json <value>]

FLAGS
  --actions=<value>               Comma-separated actions: Read, Write, Delete, List
  --conditions-json=<value>       Policy rule conditions as JSON object
  --description=<value>           Policy rule description
  --effect=<option>               Policy effect: Allow or Deny
                                  <options: Allow|Deny>
  --object-pattern=<value>        Object pattern to grant
  --registry-project=<value>      Registry project ID
  --service-account-id=<value>    Service account ID to grant
  --service-account-name=<value>  Service account name to grant
  --storage-bucket=<value>        Storage bucket ID

GLOBAL FLAGS
  --json      Format output as json.
  --[no-]tty  Force or disable interactive mode (use --no-tty to disable).

DESCRIPTION
  Grant a service account access to a storage bucket or registry project.

ALIASES
  $ sp sa grant add

EXAMPLES
  $ sp sa grant add --service-account-id <sa-id> --storage-bucket <bucket-id> --actions read,list --object-pattern "*"

  $ sp sa grant add --service-account-id <sa-id> --registry-project <project-id> --actions read,write --object-pattern "**"

  $ sp sa grant add --service-account-name data-ingest --storage-bucket <bucket-id> --actions write --object-pattern uploads/*

See code: src/commands/service-accounts/grant/add.ts

sp service-accounts grant delete

Delete service account access grants.

USAGE
  $ sp service-accounts grant delete [--json] [--tty] [-f] [-i <value>...] [--service-account-id <value>] [--service-account-name
    <value>] [--storage-bucket <value>] [--registry-project <value>]

FLAGS
  -f, --force                         Delete without confirmation
  -i, --id=<value>...                 Policy rule ID to delete. Repeat to delete multiple rules.
      --registry-project=<value>      Registry project ID for resource-wide grant deletion
      --service-account-id=<value>    Service account ID for selecting grants or resource-wide grant deletion
      --service-account-name=<value>  Service account name for selecting grants or resource-wide grant deletion
      --storage-bucket=<value>        Storage bucket ID for resource-wide grant deletion

GLOBAL FLAGS
  --json      Format output as json.
  --[no-]tty  Force or disable interactive mode (use --no-tty to disable).

DESCRIPTION
  Delete service account access grants.

ALIASES
  $ sp sa grant delete

EXAMPLES
  $ sp sa grant delete --id <rule-id> --force

  $ sp sa grant delete --id <rule-id-1> --id <rule-id-2> --force

  $ sp sa grant delete --service-account-id <sa-id> --storage-bucket <bucket-id> --force

See code: src/commands/service-accounts/grant/delete.ts

sp service-accounts grant list

List service account access grants.

USAGE
  $ sp service-accounts grant list [--json] [--tty] [-i <value>] [--service-account-id <value>] [--service-account-name <value>]
    [--storage-bucket <value>] [--registry-project <value>] [--page <value>] [--count <value>] [--all] [--timestamps]

FLAGS
  -i, --id=<value>                    Policy rule ID to filter by
      --all                           List all policy rules
      --count=<value>                 [default: 10] Number of policy rules per page
      --page=<value>                  [default: 1] Page number
      --registry-project=<value>      Registry project ID to filter by
      --service-account-id=<value>    Service account ID to filter by
      --service-account-name=<value>  Service account name to filter by
      --storage-bucket=<value>        Storage bucket ID to filter by
      --[no-]timestamps               Show created and updated timestamps

GLOBAL FLAGS
  --json      Format output as json.
  --[no-]tty  Force or disable interactive mode (use --no-tty to disable).

DESCRIPTION
  List service account access grants.

ALIASES
  $ sp sa grant list

EXAMPLES
  $ sp sa grant list

  $ sp sa grant list --id <rule-id>

  $ sp sa grant list -i <rule-id>

  $ sp sa grant list --service-account-id <sa-id>

  $ sp sa grant list --sa-id <sa-id>

  $ sp sa grant list --service-account-id <sa-id> --storage-bucket <bucket-id>

  $ sp sa grant list --sa-id <sa-id> --storage-bucket <bucket-id>

  $ sp sa grant list --sa-name <sa-name>

  $ sp sa grant list --timestamps

See code: src/commands/service-accounts/grant/list.ts

sp service-accounts grant update

Update a service account access grant policy rule.

USAGE
  $ sp service-accounts grant update [--json] [--tty] [-i <value>] [--service-account-id <value>] [--service-account-name <value>]
    [--action <value>] [--object-pattern <value>] [--effect <value>] [--description <value>] [--conditions-json <value>]
    [--clear-description] [--clear-conditions]

FLAGS
  -i, --id=<value>                    Policy rule ID to update
      --action=<value>                Policy action: Read, Write, Delete or List
      --clear-conditions              Remove conditions
      --clear-description             Remove description
      --conditions-json=<value>       Policy rule conditions as JSON object
      --description=<value>           Policy rule description
      --effect=<value>                Policy effect: Allow or Deny
      --object-pattern=<value>        Object pattern to grant
      --service-account-id=<value>    Service account ID to filter grants by in interactive mode
      --service-account-name=<value>  Service account name to filter grants by in interactive mode

GLOBAL FLAGS
  --json      Format output as json.
  --[no-]tty  Force or disable interactive mode (use --no-tty to disable).

DESCRIPTION
  Update a service account access grant policy rule.

ALIASES
  $ sp sa grant update

EXAMPLES
  $ sp sa grant update --id <rule-id> --action read

  $ sp sa grant update --id <rule-id> --object-pattern "uploads/*" --effect allow

  $ sp sa grant update --id <rule-id> --clear-conditions

See code: src/commands/service-accounts/grant/update.ts

sp service-accounts list

List service accounts for the current user.

USAGE
  $ sp service-accounts list [--json] [--tty] [--page <value>] [--count <value>] [--all]

FLAGS
  --all            List all service accounts
  --count=<value>  [default: 10] Number of service accounts per page
  --page=<value>   [default: 1] Page number

GLOBAL FLAGS
  --json      Format output as json.
  --[no-]tty  Force or disable interactive mode (use --no-tty to disable).

DESCRIPTION
  List service accounts for the current user.

ALIASES
  $ sp sa list

EXAMPLES
  $ sp service-accounts list

See code: src/commands/service-accounts/list.ts

sp service-accounts regenerate

Regenerate credentials for an existing service account.

USAGE
  $ sp service-accounts regenerate [--json] [--tty] [-i <value>] [-n <value>] [--ttl-seconds <value>] [--clear-ttl]
  [--export]

FLAGS
  -i, --id=<value>           Service account ID to regenerate
  -n, --name=<value>         Service account name to regenerate
      --clear-ttl            Remove expiration while regenerating credentials
      --export               Print shell exports for the regenerated credentials
      --ttl-seconds=<value>  New TTL in seconds for regenerated credentials

GLOBAL FLAGS
  --json      Format output as json.
  --[no-]tty  Force or disable interactive mode (use --no-tty to disable).

DESCRIPTION
  Regenerate credentials for an existing service account.

ALIASES
  $ sp sa regenerate

EXAMPLES
  $ sp service-accounts regenerate --id <uuid>

  $ sp service-accounts regenerate --name data-ingest --ttl-seconds 3600

  $ sp service-accounts regenerate --id <uuid> --clear-ttl

See code: src/commands/service-accounts/regenerate.ts

sp service-accounts update

Update an existing service account.

USAGE
  $ sp service-accounts update [--json] [--tty] [-i <value>] [-n <value>] [--new-name <value>] [--description <value>]
    [--ttl-seconds <value>] [--clear-description] [--clear-ttl]

FLAGS
  -i, --id=<value>           Service account ID to update
  -n, --name=<value>         Service account name to update
      --clear-description    Remove description
      --clear-ttl            Remove expiration
      --description=<value>  New description
      --new-name=<value>     New service account name
      --ttl-seconds=<value>  New TTL in seconds

GLOBAL FLAGS
  --json      Format output as json.
  --[no-]tty  Force or disable interactive mode (use --no-tty to disable).

DESCRIPTION
  Update an existing service account.

ALIASES
  $ sp sa update

EXAMPLES
  $ sp service-accounts update --id <uuid> --new-name data-ingest-v2

  $ sp service-accounts update --name data-ingest --description "New description"

  $ sp service-accounts update --id <uuid> --clear-ttl

See code: src/commands/service-accounts/update.ts

sp storage

Manage object storage buckets

USAGE
  $ sp storage [--json] [--tty]

GLOBAL FLAGS
  --json      Format output as json.
  --[no-]tty  Force or disable interactive mode (use --no-tty to disable).

DESCRIPTION
  Manage object storage buckets

  Manage object storage buckets used by workloads and service account grants.

See code: src/commands/storage/index.ts

sp storage create

Create a storage bucket.

USAGE
  $ sp storage create -n <value> --type Local|External [--json] [--tty] [--endpoint <value>] [--access-key <value>]
    [--secret-key <value>] [--region <value>] [--bucket-name <value>] [--grant] [--export] [--grant-spec <value>...]
    [--grant-service-account-id <value>] [--grant-actions <value>] [--grant-object-pattern <value>] [--grant-effect
    Allow|Deny] [--grant-description <value>] [--grant-conditions-json <value>]

FLAGS
  -n, --name=<value>                      (required) Storage bucket name
      --access-key=<value>                External S3 access key
      --bucket-name=<value>               External S3 bucket name
      --endpoint=<value>                  External S3 endpoint
      --export                            Print shell exports for S3 access
      --grant                             Prompt for access grant after create
      --grant-actions=<value>             Comma-separated grant actions: Read, Write, Delete, List
      --grant-conditions-json=<value>     Grant policy rule conditions as JSON object
      --grant-description=<value>         Grant policy rule description
      --grant-effect=<option>             Grant effect: Allow or Deny
                                          <options: Allow|Deny>
      --grant-object-pattern=<value>      Grant object pattern
      --grant-service-account-id=<value>  Service account ID to grant after create
      --grant-spec=<value>...             Grant access after create: <service-account-id>:<actions>:<object-pattern>
      --region=<value>                    External S3 region
      --secret-key=<value>                External S3 secret key
      --type=<option>                     (required) Storage bucket type: Local or External
                                          <options: Local|External>

GLOBAL FLAGS
  --json      Format output as json.
  --[no-]tty  Force or disable interactive mode (use --no-tty to disable).

DESCRIPTION
  Create a storage bucket.

EXAMPLES
  $ sp storage create --name data --type Local

  $ sp storage create --name ext --type External --endpoint https://s3.example.com --access-key key --secret-key secret --bucket-name data

  $ sp storage create --name data --type Local --grant

  $ sp storage create --name data --type Local --grant-service-account-id <sa-id> --grant-actions Read,List --grant-object-pattern "*"

  $ sp storage create --name data --type Local --grant-spec <sa-id>:Read,List:"*"

See code: src/commands/storage/create.ts

sp storage delete

Delete a storage bucket.

USAGE
  $ sp storage delete [--json] [--tty] [-f] [-i <value>] [-n <value>]

FLAGS
  -f, --force         Delete without confirmation
  -i, --id=<value>    Storage bucket ID to delete
  -n, --name=<value>  Storage bucket name to delete

GLOBAL FLAGS
  --json      Format output as json.
  --[no-]tty  Force or disable interactive mode (use --no-tty to disable).

DESCRIPTION
  Delete a storage bucket.

EXAMPLES
  $ sp storage delete --id 11111111-1111-1111-1111-111111111111 --force

  $ sp storage delete --name data --force

See code: src/commands/storage/delete.ts

sp storage get

Get details and connection help for a storage bucket.

USAGE
  $ sp storage get [--json] [--tty] [-i <value>] [-n <value>] [--grant] [--export]

FLAGS
  -i, --id=<value>    Storage bucket ID to fetch
  -n, --name=<value>  Storage bucket name to fetch
      --export        Print shell exports for S3 access
      --grant         Show policy rules granting access to this bucket

GLOBAL FLAGS
  --json      Format output as json.
  --[no-]tty  Force or disable interactive mode (use --no-tty to disable).

DESCRIPTION
  Get details and connection help for a storage bucket.

EXAMPLES
  $ sp storage get --id <bucket-id>

  $ sp storage get --name data --grant

See code: src/commands/storage/get.ts

sp storage list

List storage buckets for the current user.

USAGE
  $ sp storage list [--json] [--tty] [--page <value>] [--count <value>] [--all]

FLAGS
  --all            List all storage buckets
  --count=<value>  [default: 10] Number of storage buckets per page
  --page=<value>   [default: 1] Page number

GLOBAL FLAGS
  --json      Format output as json.
  --[no-]tty  Force or disable interactive mode (use --no-tty to disable).

DESCRIPTION
  List storage buckets for the current user.

EXAMPLES
  $ sp storage list

See code: src/commands/storage/list.ts

sp storage update

Update a storage bucket.

USAGE
  $ sp storage update [--json] [--tty] [-i <value>] [-n <value>] [--new-name <value>] [--endpoint <value>]
    [--access-key <value>] [--secret-key <value>] [--region <value>] [--bucket-name <value>]

FLAGS
  -i, --id=<value>           Storage bucket ID to update
  -n, --name=<value>         Storage bucket name to update
      --access-key=<value>   New external S3 access key
      --bucket-name=<value>  New external S3 bucket name
      --endpoint=<value>     New external S3 endpoint
      --new-name=<value>     New storage bucket name
      --region=<value>       New external S3 region
      --secret-key=<value>   New external S3 secret key

GLOBAL FLAGS
  --json      Format output as json.
  --[no-]tty  Force or disable interactive mode (use --no-tty to disable).

DESCRIPTION
  Update a storage bucket.

EXAMPLES
  $ sp storage update --id <uuid> --new-name data-v2

  $ sp storage update --name data --endpoint https://s3.example.com

See code: src/commands/storage/update.ts