Coder Social home page Coder Social logo

s5s's Introduction

Secrets (s5s)

s5s is a tool to download and apply secrets from cloud Secret Managers

Supported Secret Managers

Google Cloud Secrets Manager

Flag Description Required Default Value
--project | -p GCP Project Name X
--key | -k GCP Key String (must be provided if --key-file is not) X
--key-file | -f GCP Key File (JSON) (must be provided if --key is not) X
--secret | -s List of secrets formatted as <k8s secret key>=<gcp secret name> X
--output-secret | -o Name of k8s secret X
--version | -v GCP Secret Version latest

Example:

$ s5s gcp \
    -p gcp-project-id \
    -f secret.json \
    -s "mysqlusername=app-mysql-username" \
    -s "mysqlpassword=app-mysql-password" \
    -o mysql-creds | kubectl apply --context k8s-cluster -n app-namespace -f -

AWS Secrets Manager

Flag Description Required Default Value
--secret | -s AWS Secret Name X
--region | -r AWS Region Name us-west-2
--accessKeyId AWS Access Key ID AWS_ACCESS_KEY_ID env
--accessKey AWS Access Key AWS_ACCESS_KEY env
--token AWS Access Token
--output-secret | -o Name of k8s secret X

Example:

$ s5s aws \
    -s "project/mysql/secrets"
    --accessKeyId AW12312312412
    --accessKey XpijOIPUYh087^*&(^%
    -o mysql-creds | kubectl apply --context k8s-cluster -n app-namespace -f -

Download Latest

s5s's People

Contributors

vinlock avatar

Watchers

James Cloos avatar  avatar  avatar

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.