Code Monkey home page Code Monkey logo

sm's Introduction

sm - AWS Secrets Manager CLI Tool

License: MIT Go Report Card Coverage Status go.dev reference

Please see the docs for details on the commands.

$ sm --help
NAME:
   sm - AWS Secrets Manager CLI Tool

USAGE:
   sm [global options] command [command options] [arguments...]

COMMANDS:
   get, view    select from list or pass in specific secret
   edit, e      interactive edit of a secret String Value
   create, c    create new secret in Secrets Manager
   put          non-interactive update to a specific secret
   delete, del  delete a specific secret
   list         display table of all secrets with meta data
   describe     print description of secret to `STDOUT`
   help, h      Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --help, -h     show help (default: false)
   --version, -v  print the version (default: false)

COPYRIGHT:
   (c) 2021 Derek Smith

Authentication

This tool uses the awssession module for creating authenticated sessions. This will use AWS Instance Role, Environment Variables or AWS CLI configuration files to generate a session. This tool should obey all AWS CLI Environment Variables.

Installation

Homebrew (for macOS users)

brew tap clok/sm
brew install sm

curl binary

$ curl https://i.jpillora.com/clok/sm! | bash

The compiled docker images are maintained on GitHub Container Registry (ghcr.io). We maintain the following tags:

  • edge: Image that is build from the current HEAD of the main line branch.
  • latest: Image that is built from the latest released version
  • x.y.z (versions): Images that are build from the tagged versions within Github.
docker pull ghcr.io/clok/sm
docker run -v "$PWD":/workdir ghcr.io/clok/sm --version

man page

To install man page:

$ sm install-manpage

Development

  1. Fork the clok/sm repo
  2. Use go >= 1.16
  3. Branch & Code
  4. Run linters ๐Ÿงน golangci-lint run
  5. Commit with a Conventional Commit
  6. Open a PR

Versioning

We employ git-chglog to manage the CHANGELOG.md. 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 file for details

sm's People

Contributors

clok avatar renovate-bot avatar renovate[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

jt-shippit

sm's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

dockerfile
Dockerfile
  • alpine 3.19.0
github-actions
.github/workflows/edge.yml
  • actions/checkout v4
  • actions/setup-go v5
  • docker/login-action v3
  • ubuntu 22.04
.github/workflows/lint.yml
  • actions/checkout v4
  • golangci/golangci-lint-action v3
  • ubuntu 22.04
.github/workflows/release.yml
  • actions/checkout v4
  • actions/setup-go v5
  • docker/login-action v3
  • goreleaser/goreleaser-action v5
  • ubuntu 22.04
.github/workflows/warm.yaml
  • ubuntu 22.04
gomod
go.mod
  • go 1.18
  • github.com/AlecAivazis/survey/v2 v2.3.7
  • github.com/TylerBrock/colorjson v0.0.0-20200706003622-8a50f05110d2@8a50f05110d2
  • github.com/a8m/djson v0.0.0-20170509170705-c02c5aef757f@c02c5aef757f
  • github.com/aws/aws-sdk-go v1.49.18
  • github.com/clok/awssession v1.1.2
  • github.com/clok/cdocs v1.2.0
  • github.com/jedib0t/go-pretty/v6 v6.5.2
  • github.com/logrusorgru/aurora/v4 v4.0.0
  • github.com/urfave/cli/v2 v2.27.1

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.