Skip to content

Repository files navigation

Hexyn AWS

A production-ready, high-performance CLI tool for managing AWS SSM Parameter Store and ECS configurations with a modern Terminal User Interface (TUI).

Features

  • Interactive TUI: Polished Terminal UI using Bubble Tea for effortless management.
  • Task Definition Sync: Automatically discover and fetch exact secrets defined in ECS Task Definitions.
  • Smart Grouping: Group SSM parameters into separate .env files based on their actual SSM paths.
  • A-Z Sorting: All generated .env files are automatically sorted alphabetically and de-duplicated.
  • Integrated Login: Securely handle temporary AWS tokens with an in-app login screen.
  • Multi-Region Support: Quickly switch between enabled AWS regions with auto-discovery.
  • Portability: Self-contained configuration directory (.hexyn-aws/).
  • Self-Update: Easily stay up-to-date with the latest features using the update command.

Installation

Run the installation command from the official landing page: https://flockyn.github.io/hexyn-aws

Linux / macOS

curl -fsSL https://flockyn.github.io/hexyn-aws/install.sh | bash

Windows

iwr https://flockyn.github.io/hexyn-aws/install.ps1 | iex

Note: No GitHub token is required — Hexyn AWS is a public repository. (If you hit GitHub's unauthenticated API rate limit, you can optionally set GITHUB_TOKEN before running the installer.)

Updating

You can update Hexyn AWS to the latest version directly from the CLI:

hexyn-aws update
# or
hexyn-aws --update

Note: The self-update pulls the latest public release — no token needed.

Configuration Directory

By default, Hexyn AWS stores its configuration in ~/.hexyn-aws/.

Directory Structure

  • input/: Place .env files here that you want to PUT into SSM.
  • output/: This is where files retrieved via GET are saved.
  • credentials: Stores your temporary AWS session keys.

Portable Mode

Use the --init flag to create and use a local .hexyn-aws/ folder in your current directory:

hexyn-aws --init

When in portable mode, the tool will prioritize the local ./.hexyn-aws/input/ and ./.hexyn-aws/output/ folders.

Configuration File

Hexyn AWS reads an optional, INI-style file at .hexyn-aws/config ([section] headers and key=value pairs; # or ; start a comment). A commented example is created automatically on first run, and you can edit it from the in-app Settings menu.

Repo name prefixes — when deriving a default SSM repo name from an ECS service name, Hexyn AWS strips a configurable, comma-separated set of prefixes (most specific first):

# .hexyn-aws/config
[repository]
prefix=team-service-,team-,service-
# e.g. service "team-service-orders" → repo "orders"

The HEXYN_REPO_PREFIXES environment variable (comma-separated) overrides the config file. When none of these are set, no prefix is stripped (the service name is used as-is):

export HEXYN_REPO_PREFIXES="team-service-,team-,service-"

Keyboard Shortcuts

  • L: Trigger Login / Change Session
  • G: Change AWS Region
  • Q: Quit Application
  • ESC: Go Back / Exit
  • /: Search in lists
  • TAB: Move between input fields

OS Support

Hexyn AWS is written in Go and supports Linux, macOS, and Windows.

About

Official landing page and cross-platform installation scripts for Hexyn AWS.

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages