Git Product home page Git Product logo

sops-client's Introduction

SOPS Client

Reference

Use the Docker Base Image Embedded with sops

Installation of sops

This guide can help you to install as a binary or build using golang

Github Sops

Setup Key

gpg --batch --generate-key <<EOF
     %echo Generating MyGPG Key
     Key-Type: RSA
     Key-Length: 2048
     Subkey-Type: RSA
     Subkey-Length: 2048
     Name-Real: MY
     Name-Comment: MYEncryption Secret
     Name-Email: [email protected]
     Expire-Date: 0
     %no-ask-passphrase
     %no-protection
     %commit
     %echo done
EOF

Create ASCII Armored Output

Public Key

gpg --armor --output my-public.asc --export [email protected]

Private Key

gpg --armor --output my-private.asc --export-secret-keys  [email protected]

Importing to gpg keyring(local)

Public Key

gpg --import my-public.asc

Private Key

gpg --allow-secret-key-import --import my-private.asc

SOPS Commands

Encrypt

sops --verbose --output "file.sops.encrypt" --encrypt "file.plaintext

Decrypt

sops --verbose --output "file.sops.decrypt" --decrypt "file.plaintext"

Important Variables

  • SOPS_PGP_FP
  • GNUPGHOME

Development

Want to contribute? Great!

  • Raise MR's with additional Improvements

sops-client's People

Contributors

yashwanth-l 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.