SSM Config Editor
ssm-config-editor
is a command line tool that simplifies managing AWS Systems Manager (SSM) parameters. Inspired by kubectl edit
, this tool offers various commands to create, edit, delete, list, and upload SSM parameters with support for optional formats (JSON, YAML, ENV).
Table of Contents
Installation
To install the ssm-config-editor
, use one of the following methods:
-
Download the latest binary from the Releases page.
-
Build from source:
git clone https://github.com/random1st/ssm-config-editor.git
cd ssm-config-editor
go build -o ssm-config-editor .
- Install using
go install
:
go install github.com/random1st/ssm-config-editor/cmd/ssm@latest
Usage
ssm [command] [flags]
Commands
list
List SSM parameters with optional prefix filter:
ssm list --region <AWS_REGION> --prefix <PREFIX>
get
Get the value of an SSM parameter:
ssm get <SSM_KEY> --region <AWS_REGION>
create
Create a new SSM parameter:
ssm create <SSM_KEY> --region <AWS_REGION> --format <FORMAT> --from <SOURCE_KEY>
edit
Edit an existing SSM parameter:
ssm edit <SSM_KEY> --region <AWS_REGION> --format <FORMAT>
delete
Delete an SSM parameter:
ssm delete <SSM_KEY> --region <AWS_REGION>
upload
Upload an SSM parameter value from a file:
ssm upload <SSM_KEY> <FILE_PATH> --region <AWS_REGION>
License
This project is licensed under the MIT License - see the LICENSE.md file for details