go-key-rotator-cli

command module
v1.0.0-alpha Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2024 License: MIT Imports: 12 Imported by: 0

README ΒΆ

RSA Key Rotator CLI πŸ”„

❯ ./go-rotate store --name kittens
┏┓┏┓  ┏┓┏┓╋┏┓╋┏┓
β”—β”«β”—β”›  β”› β”—β”›β”—β”—β”»β”—β”—
 β”›

Rotating new keys...

πŸ” Generated and stored keys:

   πŸ’Ύ Public Key: kittens_pub.pem
   πŸ’Ύ Private Key: kittens_priv.pem

Golang License

Build Lint Test Go Report Card

Overview

RSA Key Rotator CLI is a command-line tool designed to facilitate the secure rotation of RSA keys backed by AWS Parameter store πŸ”‘.

Utilizing the powerful go-key-rotator library, this tool offers a user-friendly approach to manage RSA keys. Ideal as a standalone tool or as a companion to the go-key-rotator library, go-rotate streamlines the process of rotating RSA keys and integrates seamlessly with AWS Parameter Store for safe storage and retrieval πŸ›‘οΈ.

Features

  • Generate and rotate RSA keys with customizable options πŸ”§.
  • Integration with AWS Parameter Store for secure key management πŸ”.
  • User-friendly command-line interface πŸ’».
  • Suitable for standalone use or in conjunction with the go-key-rotator
  • library 🀝.

Installation

Install RSA Key Rotator CLI using the following Go command:

go get github.com/kmesiab/go-key-rotator-cli

Usage

Once installed, you can use the go-rotate command to manage your RSA keys. Common commands include:

  • Store a key in AWS Parameter Store:
go-rotate store --name my_new_key
  • Generate a new RSA key:
go-rotate generate --name kittens --size 2048
  • Get a previously generated RSA key (Not yet implemented):
go-rotate fetch --name taco_truck

Command Line Flags

❯ ./go-rotate --help

┏┓┏┓  ┏┓┏┓╋┏┓╋┏┓
β”—β”«β”—β”›  β”› β”—β”›β”—β”—β”»β”—β”—
 β”›


go-rotate is a tool for generating, storing, and retrieving
public/private RSA key pairs using AWS Parameter store.

Usage:
  go-rotate [flags]
  go-rotate [command]

Available Commands:
  completion  Generate the autocompletion script for the specified shell
  fetch       Downloads your public/private key pair
  generate    Generates a new public/private key pair, but does not store it
  help        Help about any command
  store       Generates and stores a public/private key pair

Flags:
  -h, --help   help for go-rotate

Use "go-rotate [command] --help" for more information about a command.

Contributing

Contributions to RSA Key Rotator CLI are welcome! Please read our contributing guidelines to get started πŸ€—.

License

RSA Key Rotator CLI is open-source software licensed under the MIT license πŸ“œ.

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