GithubHelp home page GithubHelp logo

development-secrets-management's Introduction

Development Secrets Management

Contents:

What are development secrets

In software projects, you need to secure every type of service you provide and external service you use. This is often done with secrets. Secrets can be of several types. These secrets attempt to provide a layer of security. In many cases, secrets are needed during development to be able to develop a service locally. For single developer projects, this may not be a big issue because you can store them locally. But in a project where multiple people are contributing to the project, these secrets need to be shared.

How to share development secrets

Sharing development secrets in a secure way can be done through various ways and with varying degrees of complexity. The following is an uncompleted list of possible solutions, which will be described in more detail below:

  • Encrypted secret file
  • Secrets manager
  • Key management

Encrypted secret file

This category refers to storing the secrets in a encrypted file in a Git repository. Even when encrypted the access to the repository should be private and should only be accessed by anyone who needs. The following list of methods and their pros and cons is adapted from a Medium post by Brian Davis.

More details here

Transcrypt

Transcrypt is a encryption tool for Git using OpenSSL. By configuring a .gitattributes file it determines which files should be encrypted or decrypted. It automatically detects if a viewer should be able to see the content of a secrets file and masks it for unauthorized viewers.

Pros Cons
Seamless usage Secrets are stored in plain text on each machine
Encrypts the file contents .gitattributes needs to be configured with care
Default cipher is: AES-256-CBC

Git-crypt

Git-crypt is a encryption tool for Git using OpenSSL. Like transcrypt it also uses a .gitattributes file in a similar way.

Pros Cons
Seamless usage Secrets are stored in plain text on each machine
Encrypts the file contents .gitattributes needs to be configured with care
Better default cipher than AES-256-CBC Uses a fixed key length when generating the encryption key

Git-secret

Git-secret

Needs description

Pros Cons
Uses GPG private keys to share Each secret file must be added to .gitignore
Needs manual commands to encrypt and decrypt

SOPS

Needs description

Secrets management

A secret management is a product built to manage secrets. Essentially these are installed programs that interact can be accessed to retrieve the secrets. Here is a list of products for developers:

Needs contribution

Key management

Examples

Needs contribution

development-secrets-management's People

Contributors

sebastian-struecker avatar

Watchers

 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.