Skip to main content

Unified toolkit for Quilt workflows.

Project description

quiltx

PyPI

Quilt extension toolkit for working with Quilt catalogs.

Quick start

# See available tools
uvx quiltx

# Sign in to a catalog: mints a qk_... API key from your username/password,
# stores it in your system keyring, and sets it as the default catalog.
uvx quiltx catalog login --catalog open.quiltdata.com --username you@example.com
uvx quiltx catalog default open.quiltdata.com

# Get help for any tool
uvx quiltx <tool> --help

quiltx catalog login accepts either --username / --password (admin catalogs) or --api-key qk_... (paste an existing key, or the only path for SSO-only catalogs — see below). Both DNS names (open.quiltdata.com) and full URLs (https://open.quiltdata.com/) are accepted as --catalog arguments and normalized to the bare DNS.

Tools

  • bucket — Register cross-account S3 buckets with Quilt (policy, SNS, notifications)
  • catalog — Manage Quilt catalogs:
    • catalog login — Mint and store a qk_... API key from username/password (or paste one with --api-key)
    • catalog default — Read, set, or clear the default catalog (auto-runs login when the DNS has no stored key)
    • catalog list — List catalogs with stored credentials
    • catalog forget — Delete the keyring entry for a catalog
    • catalog acl — Declarative access-control-list (ACL) reconciliation from YAML
    • catalog stack — Discover the Quilt CloudFormation stack and cache metadata
  • ecs — ECS task tools:
    • ecs shell — Interactive shell access to running ECS tasks via Session Manager
    • ecs run-migration — Re-run the registry migration task for a stack
  • logs — Display and tail CloudWatch logs for the configured catalog

Python API

See README_DEV.md for programmatic usage of ECS, ACL, config, and stack APIs.

Persistent install (optional)

uv tool install -U quiltx
# Now use without the uvx prefix:
quiltx --list

Catalog ACL

quiltx catalog acl declaratively manages a Quilt stack's access control lists (ACLs) from a single YAML file with exactly two top-level blocks: policies: and roles:. Policy audiences synthesize cumulative managed roles, while static roles compose named policies and optional inline bucket grants. Instead of clicking through the catalog admin UI, you define the desired state in version-controlled YAML and let the tool reconcile it against the server.

YAML example

# Access control lists for a Quilt stack
policies:
  public:
    sso.groups: [Everyone]
    buckets.read: [quilt-example]
    config.default_role: true
  internal:
    sso.groups: [Employees]
    buckets.read_write: [quilt-bake, quilt-dev]
    buckets.read: [quilt-leadership]

roles:
  exec:
    sso.groups: [Executives]
    config.policies: [public, internal]
    buckets.read_write: [quilt-leadership]
    config.is_admin: true

Policy order matters. In this example public synthesizes the public role, and internal synthesizes internal_public, which cumulatively includes both public and internal. Reordering the policies changes those synthesized role names and who receives which cumulative grants.

Usage

# Show current server ACL state
uvx quiltx catalog acl

# Preview changes (dry run)
uvx quiltx catalog acl config.yml --dry-run

# Preview with full detail
uvx quiltx catalog acl config.yml --dry-run --verbose

# Apply changes (with confirmation prompt)
uvx quiltx catalog acl config.yml

# Apply without prompting
uvx quiltx catalog acl config.yml --yes

SSO-only catalogs

quiltx catalog login --username --password only works on catalogs that accept username/password at /api/login. SSO-only catalogs reject U/P with the catalog's own error (e.g. "SSO is required"). In that case:

  1. Open the catalog UI in your browser and mint an API key from the account/keys page.
  2. Paste it with --api-key:
uvx quiltx catalog login --catalog quilt.example.com --api-key qk_...

Corporate TLS proxies

If catalog requests fail with CERTIFICATE_VERIFY_FAILED (common on networks with TLS-inspection proxies or self-signed catalog certs), point Python at your organization's CA bundle by exporting one of the standard environment variables before running quiltx:

export SSL_CERT_FILE=/path/to/corp-root.pem
# or: export REQUESTS_CA_BUNDLE=/path/to/corp-root.pem

uvx quiltx catalog login --catalog quilt.example.com --username you@example.com

Local catalog testing (--insecure)

When developing against a local catalog build, pass --insecure to allow plain http://localhost:

uvx quiltx catalog login --catalog localhost --insecure --username admin
uvx quiltx catalog acl --catalog localhost --insecure config.yml

--insecure is only accepted when the catalog DNS resolves to localhost; any other target is rejected. The flag is never persisted — it must be passed on every command that hits the catalog.

ECS

# Open an interactive shell inside the registry service task
uvx quiltx ecs shell

# Dry-run the registry migration relaunch using cached stack metadata
uvx quiltx ecs run-migration --dry-run

# Start the migration task and wait for completion
uvx quiltx ecs run-migration

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

quiltx-0.13.0.tar.gz (273.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

quiltx-0.13.0-py3-none-any.whl (89.0 kB view details)

Uploaded Python 3

File details

Details for the file quiltx-0.13.0.tar.gz.

File metadata

  • Download URL: quiltx-0.13.0.tar.gz
  • Upload date:
  • Size: 273.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for quiltx-0.13.0.tar.gz
Algorithm Hash digest
SHA256 adaacbafe1baef8ca4814be13251c8d487039e0066be7690b1c544ca15d91cd1
MD5 2a14edbbff089ee0bbbefc77a7e432b4
BLAKE2b-256 a62eece964e2b5e46a44d627a04aa24aee7993612bc49f144f10b5474fd73c3a

See more details on using hashes here.

Provenance

The following attestation bundles were made for quiltx-0.13.0.tar.gz:

Publisher: publish.yml on quiltdata/quiltx

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file quiltx-0.13.0-py3-none-any.whl.

File metadata

  • Download URL: quiltx-0.13.0-py3-none-any.whl
  • Upload date:
  • Size: 89.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for quiltx-0.13.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e12aab37bbc8207a0d7373c24ca3702f78adca899e10aa053703b6a4dc834124
MD5 95dc17bfc8473f988a0882ae21eef65a
BLAKE2b-256 b5f4f69c0707fba0213d3e136ec1790b59f789d0db54a1a40dd7fac73e1efe1e

See more details on using hashes here.

Provenance

The following attestation bundles were made for quiltx-0.13.0-py3-none-any.whl:

Publisher: publish.yml on quiltdata/quiltx

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page