terraform-provider-gitcrypt

command module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 24, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

README

Terraform provider gitcrypt

This is a simple terraform provider which can decrypt files encrypted with git-crypt.

Actions status

release Tests

What is this provider for?

In any infrastructure, there is a set of secrets that need to be stored somewhere. If you define your infrastructure as a code, that is good to be able to keep secrets in code too. However, they need to be secured properly. One way to achieve that is to encrypt your secrets in VCS, e.g. with git-crypt.

In order to provide terraform with access to encrypted content you can use this provider to decrypt and parse secret files on the fly. It is especially useful in cases when you have no control over terraform execution environment to decrypt files with git-crypt CLI, for example if you use Terraform Enterprise.

Documentation

Terraform docs

Encrypted file format

gitcrypt terraform provider can parse simple file which contains key: value pairs like var1: value1.

You can see ENCRYPTED and DECRYPTED files example.

Contributing

If you're having trouble using gitcrypt provider, create a Github issue or open a pull request.

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