ssm-sync

command module
v0.0.0-...-7db9457 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

README

ssm-sync

This tool synchronizes files with SSM. In case key exists in SSM it will download and overwrite file on disk. In case key doesn't exist in SSM it will upload file to SSM.

Setup

Tool uses standard AWS profile mechanism - it should fallback to server role in case no profile / credential variables are provided.

Usage

Usage of ssm-sync:
  -file string
        File path on disk
  -kmsKeyAlias string
        KMS key alias name (would use alias/<name> in KMS)
  -region string
        AWS Region (default "eu-west-1")
  -ssm string
        SSM Key name
  -verbose
        Enable verbose output

Example usage

ssm-sync -ssm ${ENVIRONMENT}/ssh/${APPLICATION}/${KEY_NAME} -file ${KEY_PATH}/${KEY_NAME} -kmsKeyAlias ${ENVIRONMENT}

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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