diff options
author | Alex <alex@adnab.me> | 2023-01-01 18:47:34 +0000 |
---|---|---|
committer | Alex <alex@adnab.me> | 2023-01-01 18:47:34 +0000 |
commit | 3847c081817d93e75ec9ef8d53d2961e13df74c3 (patch) | |
tree | bd820bfda887f355fe1e56f8a1418c9353c59eb2 /cluster/prod/app/garage/secrets.toml | |
parent | ad6db2f1c502898e92fe377510dcf58b2d5ce6c9 (diff) | |
parent | 0d8c6a2d45c7b6bbb86f2d4268423578f0995894 (diff) | |
download | nixcfg-3847c081817d93e75ec9ef8d53d2961e13df74c3.tar.gz nixcfg-3847c081817d93e75ec9ef8d53d2961e13df74c3.zip |
Merge pull request 'updated version of secretmgr' (#5) from new-secretmgr into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/nixcfg/pulls/5
Diffstat (limited to 'cluster/prod/app/garage/secrets.toml')
-rw-r--r-- | cluster/prod/app/garage/secrets.toml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/cluster/prod/app/garage/secrets.toml b/cluster/prod/app/garage/secrets.toml new file mode 100644 index 0000000..e616091 --- /dev/null +++ b/cluster/prod/app/garage/secrets.toml @@ -0,0 +1,14 @@ +[secrets."garage/rpc_secret"] +type = 'command' +command = 'openssl rand -hex 32' +# can't auto-rotate, because we still have some nodes outside of Nomad + +[secrets."garage/admin_token"] +type = 'command' +command = 'openssl rand -hex 32' +rotate = true + +[secrets."garage/metrics_token"] +type = 'command' +command = 'openssl rand -hex 32' +rotate = true |