ssm-config-editor

module
v0.0.0-...-02d15ec Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 21, 2023 License: MIT

README

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:

  1. Download the latest binary from the Releases page.

  2. Build from source:

git clone https://github.com/random1st/ssm-config-editor.git
cd ssm-config-editor
go build -o ssm-config-editor .
  1. 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

Directories

Path Synopsis
cmd
ssm
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL