diff options
author | Vincent Ambo <mail@tazj.in> | 2021-12-03T14·12+0300 |
---|---|---|
committer | tazjin <mail@tazj.in> | 2021-12-08T18·22+0000 |
commit | f1e1f71883f07ca88428e597a3ee21b217841254 (patch) | |
tree | 661fe2936f4991660ca8b64d6b375b2b2282a41f | |
parent | 2fa157ccd6e1aa8a0bdeda3a9b720bc6b8f5910e (diff) |
feat(ops/secrets): Bootstrap agenix secrets folder r/3159
Sets up the key set and adds an initial secret (besadii config with tokens) to be deployed to whitby. Change-Id: Ic07fd5e66b9e7a533013e04c35e052c2aa11f77d
-rw-r--r-- | ops/secrets/.skip-subtree | 2 | ||||
-rw-r--r-- | ops/secrets/README.md | 1 | ||||
-rw-r--r-- | ops/secrets/besadii.age | bin | 0 -> 850 bytes | |||
-rw-r--r-- | ops/secrets/secrets.nix | 12 |
4 files changed, 15 insertions, 0 deletions
diff --git a/ops/secrets/.skip-subtree b/ops/secrets/.skip-subtree new file mode 100644 index 000000000000..80f63816f5ba --- /dev/null +++ b/ops/secrets/.skip-subtree @@ -0,0 +1,2 @@ +The Nix configuration in here is read by agenix and not compatible +with readTree. diff --git a/ops/secrets/README.md b/ops/secrets/README.md new file mode 100644 index 000000000000..e59b86541335 --- /dev/null +++ b/ops/secrets/README.md @@ -0,0 +1 @@ +TVL's deployment secrets, encrypted with [agenix](https://github.com/ryantm/agenix/commits/main) diff --git a/ops/secrets/besadii.age b/ops/secrets/besadii.age new file mode 100644 index 000000000000..b8a3a9b56f65 --- /dev/null +++ b/ops/secrets/besadii.age Binary files differdiff --git a/ops/secrets/secrets.nix b/ops/secrets/secrets.nix new file mode 100644 index 000000000000..1cf2b5e44a50 --- /dev/null +++ b/ops/secrets/secrets.nix @@ -0,0 +1,12 @@ +let + tazjin = [ + # tverskoy + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIM1fGWz/gsq+ZeZXjvUrV+pBlanw1c3zJ9kLTax9FWQy" + ]; + + whitby = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILNh/w4BSKov0jdz3gKBc98tpoLta5bb87fQXWBhAl2I"; + + default.publicKeys = tazjin ++ [ whitby ]; +in { + "besadii.age" = default; +} |