Skip to main content

Render AWS SSM Parameter Store as a colorized terminal tree

Project description

ssmtree

CI Python 3.11+ License: MIT

Render AWS SSM Parameter Store as a colorized terminal tree. Browse, diff, and copy parameters across namespaces.

Features

  • Tree view — Visualize SSM parameters as a rich, colorized tree in your terminal
  • Diff — Compare parameters between two namespaces side by side
  • Copy — Copy parameters from one namespace to another with dry-run support
  • Glob filtering — Filter parameters with glob patterns to focus on what matters
  • JSON output — Export parameter trees as JSON for scripting and automation
  • Decrypt support — Decrypt SecureString parameters inline with optional KMS key re-encryption

Installation

pip install .

For development:

pip install -e ".[dev]"

Quick Start

# Basic tree view
ssmtree /app/prod

# With decryption
ssmtree --decrypt /app/prod

# Filter parameters with a glob pattern
ssmtree --filter "*db*" /app

# JSON output
ssmtree --output json /app/prod

Commands

diff

Compare parameters between two namespaces:

ssmtree diff /app/prod /app/staging

copy

Copy parameters from one namespace to another:

# Preview what would be copied
ssmtree copy --dry-run /app/prod /app/staging

# Copy with overwrite, decryption, and re-encryption under a new KMS key
ssmtree copy --overwrite --decrypt --kms-key-id alias/my-key /app/prod /app/staging

Development

git clone https://github.com/Specter099/ssmtree.git
cd ssmtree
python -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"
pytest

License

MIT — see LICENSE

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

ssmtree-0.3.2.tar.gz (20.2 kB view details)

Uploaded Source

Built Distribution

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

ssmtree-0.3.2-py3-none-any.whl (15.2 kB view details)

Uploaded Python 3

File details

Details for the file ssmtree-0.3.2.tar.gz.

File metadata

  • Download URL: ssmtree-0.3.2.tar.gz
  • Upload date:
  • Size: 20.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ssmtree-0.3.2.tar.gz
Algorithm Hash digest
SHA256 c1d71109c517db95638ce6e7bdfa3a23f255e7913cb9be4d4e57760d76830015
MD5 3dacc83948378008f10eb373229dea7f
BLAKE2b-256 8aeb3c8a31d506e746973413b6cb5f1ac542c13c8f9b16f4a4e609cd9b8495ff

See more details on using hashes here.

Provenance

The following attestation bundles were made for ssmtree-0.3.2.tar.gz:

Publisher: publish.yml on Specter099/ssmtree

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

File details

Details for the file ssmtree-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: ssmtree-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 15.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ssmtree-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 465d887a80d0506163c4116ddeae3dd7e13cb821c143d89680282e599060b6d9
MD5 d4d06f2a43e4b1675f75509c0e0c86b1
BLAKE2b-256 3b7a0a03a3d8b069f59c1ef0e730ce238006c3dc7dba29e3cd7ef58057909067

See more details on using hashes here.

Provenance

The following attestation bundles were made for ssmtree-0.3.2-py3-none-any.whl:

Publisher: publish.yml on Specter099/ssmtree

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