8000 GitHub - gabreal/refactored-octo-garbanzo: experimental experiments
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

gabreal/refactored-octo-garbanzo

Repository files navigation

refactored-octo-garbanzo

No secrets at all.

Initialize the repo with the key on first checkout:

git-crypt unlock /path/to/keyfile

Thanks a lot to git-crypt.

secrets.tf.json

{
  "variable": {
    "passphrase": {
      "default": "A passphrase"
    },
    "repo_keyfile": {
      "default": "A key location"
    }
  }
}

It'll then be better parsable on the commandline e.g.

jq -r '"passphrase=\"" + .variable.passphrase.default + "\"" ' < secrets.tf.json

About

experimental experiments

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0