nabeken / psadm

A library and a command-line tool for managing AWS Systems Manager Parameter Store

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

psadm - A library and command-line tool for AWS Systems Manager Parameter Store

It provides the import and export features for SSM Parameter Store via the library.

Features

psadm provides the API client with the following additional feature to aws-sdk-go's one:

Use-case

  • use with Lambda functions
  • use with daemon on initializaton

Installation

go get -u github.com/nabeken/psadm/cmd/psadm

Usage

To export parameters in YAML to STDOUT:

psadm export [--key-prefix=PREFIX] > exported.yml

Note: All SecureString parameters are decrypted.

To import from exported parameters in YAML:

psadm import [--dryrun] [--skip-exist] [--overwrite] [--default-kms-key-id=KMS-KEY-ID] exported.yml

To get a parameter at give time in YAML:

psadm get [--at=TIME] KEY

Tutorial

TBD

About

A library and a command-line tool for managing AWS Systems Manager Parameter Store

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Go 100.0%