aws-kms-encrypter

command module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2019 License: MIT Imports: 4 Imported by: 0

README

aws-kms-encrypter

GitHub release CircleCI MIT License

AWS KMS Encrypter is a simple command line tool that can be used to Encrypt your passwords just providing a KMS ID, which of course implies the KMS resource is created beforehand.

Installation

To install aws-kms-encrypter, please use go get. We tag versions so feel free to checkout that tag and compile.

$ go get github.com/darkraiden/aws-kms-encrypter

Usage

This tool will first create a random string, and then use KMS algorithms to encrypt them, returning to the user a Cipher Text Blob and the plain password.

$ aws-kms-encrypter -kms-id="ThisIsTheIDOfYourKMSKey" -context="KMSEncryptionContext=valueOfTheContext" -length=12 -special-chars=false -digits=false
Accepted Flags
Name Required Description
-kms-id Yes The ID of the KMS resource to be used to encrypt the password

| -length | No | The length of the new password (default value: 12) | | -special-chars | No | Whether the new password should contain special characters or not (default value: true) | | -digits | No | Whether the new password should contain numbers or not (default value: true) |

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

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