Skip to main content

Stacklet CLI

Installation

$ pip install stacklet.client.platform

Configuration

To get started, use the auto-configure command to initialize the CLI configuration by supplying the prefix or URL associated with an instance of the Stacklet platform:

# Using a complete console URL
stacklet-admin auto-configure --url https://console.myorg.stacklet.io

# Using a base domain
stacklet-admin auto-configure --url myorg.stacklet.io

# Using just a deployment prefix (assumes a .stacklet.io suffix)
stacklet-admin auto-configure --prefix myorg

This will create a configuration file in ~/.stacklet/config.json.

Logging In

With Single Sign-On

Use the login command with no arguments to start an SSO login:

stacklet-admin login

This will open a browser window and log in via SSO. Once the login is successful in the browser, the window may automatically close.

Without Single Sign-On

Provide a username to the login command to bypass SSO:

stacklet-admin login --username test-user

This will prompt for a password. It is also possible to use the --password argument to avoid the prompt, though that is a less secure option as it can expose the password through command history and process listings.

With API keys

It's possible to use the CLI with API keys. In this case the login step is not run, but the API key is set in the environment via STACKLET_API_KEY.

This can be done once via export STACKLET_API_KEY=<my-key> or by passing it before every command, like:

STACKLET_API_KEY=<my-key> stacklet-admin <command> <subcommand>

Running Commands

Commands are grouped into command groups, for example, all the commands relating to accounts can be found by running the following command:

Usage: stacklet-admin account [OPTIONS] COMMAND [ARGS]...

  Query against and Run mutations against Account objects in Stacklet.

  Define a custom config file with the --config option

  Specify a different output format with the --output option

  Example:

      $ stacklet --output json account list

Options:
  --help  Show this message and exit.

Commands:
  add           Add an account to Stacklet
  list          List cloud accounts in Stacklet
  remove        Remove an account from Stacklet
  show          Show an account in Stacklet
  update        Update an account in platform
  validate      Validate an account in Stacklet
  validate-all  Validate all accounts in Stacklet

Then run the command:

stacklet-admin account list
data:
  accounts:
    edges:
    - node:
        description: null
        email: sonny@stacklet.io
        id: account:aws:123456789012
        key: '123456789012'
        name: Sandbox Sonny
        path: null
        provider: AWS
        securityContext: arn:aws:iam::123456789012:role/dev-stacklet-execution
        shortName: null
        tags: null
        variables: null
    pageInfo:
      endCursor: eJxTMlQCAADtAHY=
      hasNextPage: false
      hasPreviousPage: false
      startCursor: eJxTMlQCAADtAHY=

Pagination

For commands that utilize pagination, select the next page by running the following command:

stacklet-admin account list --after "eJxTMlQCAADtAHY="
data:
  accounts:
    edges: []
    pageInfo:
      endCursor: ''
      hasNextPage: false
      hasPreviousPage: true
      startCursor: ''

The value of --after should be the value of the endCursor key under the pageInfo section in the response. For results with multiple pages, continue to use the endCursor value to progress through the pages. Additionally, use the --before option to move back one page.

--first and --last are numerical options used to select the first n or last n results of a response. For example, to return the first account:

stacklet-admin account list --first 1

To return the last account:

stacklet-admin account list --last 1

Development

Installation

$ just install

Metadata

Release files for stacklet.client.platform 2026.10.22

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for stacklet.client.platform 2026.10.22
File Size Uploaded Provenance Actions
stacklet_client_platform-2026.10.22.tar.gz 31.6 kB With provenance Details for stacklet_client_platform-2026.10.22.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for stacklet.client.platform 2026.10.22
File Interpreter ABI Platform Actions
stacklet_client_platform-2026.10.22-py3-none-any.whl Python 3 none any Details for stacklet_client_platform-2026.10.22-py3-none-any.whl

Total release size: 78.8 kB

Release files / stacklet_client_platform-2026.10.22.tar.gz

Download URL stacklet_client_platform-2026.10.22.tar.gz
Size 31.6 kB
Tags Source
SHA-256 checksum
How to use checksums
ad4934e25b4b303862407cc7c0ef200a376cbe2385975c4933adeb660d94f3a1
BLAKE2b-256 checksum
How to use checksums
a703e5b7495589be7d7e771e1418448419572879725066ab266c07bee5933ccf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.

Transparency log

Release files / stacklet_client_platform-2026.10.22-py3-none-any.whl

Download URL stacklet_client_platform-2026.10.22-py3-none-any.whl
Size 47.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b6f960e2cb9ec6c26bb1d52b35b2ec153c275e031c51b64bcf10204e0b0f2cf2
BLAKE2b-256 checksum
How to use checksums
1da0ff4e432f468e1be4570533914d06f8fff8eb31d2939f115abd7feba64854
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.

Transparency log

Security for stacklet.client.platform 2026.10.22

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for stacklet_client_platform-2026.10.22.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page