diff --git a/secrets/all/monitoring.htpasswd b/secrets/all/monitoring.htpasswd index dd52339..9cc91c2 100644 --- a/secrets/all/monitoring.htpasswd +++ b/secrets/all/monitoring.htpasswd @@ -1,5 +1,5 @@ { - "data": "ENC[AES256_GCM,data:/qJNDvVv7ap7CiCHbxtPEs35RepVZ/jSWeqaKtTMu4ePvZbpX+BDMDPztg==,iv:8p1gnTObH883P/h7QLtCYVbCWvhi6nKhkWNlvazy1CM=,tag:ha+5Mniu0On1TCAGTSCf3A==,type:str]", + "data": "ENC[AES256_GCM,data:Xqc8Q0HEslyyCBFIYQOTVqNQJ/9PZ+tGivu2f6duobwz/qnGwT1lPUoC0/IISH4Q/7JhEacYZysCdOFO4PlGV3b8DKUel4WC+SwqRWglHSRpSN8RCcMgNDBSf9wKFSqQOBM8VAMKcnCCCCM1Zmc+sLJrLshAqvj3u/ABEIcqqrET,iv:1TuOgxbekoT+t/x0/w7gWOB02r/G8cX5Aa+OcJda/6g=,tag:hH1C1vGBzybGbdLeyRiB3w==,type:str]", "sops": { "kms": null, "gcp_kms": null, @@ -15,8 +15,8 @@ "enc": "-----BEGIN AGE ENCRYPTED FILE-----\nYWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBIQzUraTdVYkg3THQzSXlS\neEtqSUNBMEIvSDZQNWVhNXdBaklPenk4aFhRCkU2UDE5UWZSdEFGV0tPYmxteUlh\nd2hZNXdXYSthK3dmalNrdi9MdE9ybm8KLS0tIFRTc3g2RFR3VWtyaDJBb2UvMWU3\nVkw5QW03djdyd2tCUndNNlpWcW1iUDgKF01T2t0pqk6O7gQh9xYn+KqtLXZRr3v3\nIjhMh46UOrm5OYSDqkKKFEU6Tz6PmHii9ClcC9ejClg+5lBaavlAqg==\n-----END AGE ENCRYPTED FILE-----\n" } ], - "lastmodified": "2022-12-30T14:49:56Z", - "mac": "ENC[AES256_GCM,data:vCOGAJDFg1HH2+JwWqKWaSUAq0IS1voaTphRQHWPjXzgJ2eeDbXQQPEkp9Rk5Q5/zfPMdGgw8oR1OjWAv+KcaE/+t8PKPOd1B6a50VkFtgHYuHbunRai3RLMfexZMPfC7QvO5TLLNM4/OzrDsdVozPecj4LXpMrrC9rpacBCnWc=,iv:UtQvqNXzMC/kb0l0sG16PCZSIfacO7jEa88x5Y7eDS4=,tag:yXa2ohlBnh+kqJzstUYIWQ==,type:str]", + "lastmodified": "2023-01-03T15:04:58Z", + "mac": "ENC[AES256_GCM,data:4PTqDajceBpa2P/FCojNHIKbIDWpktIfID8x+M6cCCDm78yUcORnQhayQh6jnqx8BICD2tEtLZnaK/dkSgP15rlzPVeigkbLK7mcscJCPQKiVkAz7NghUvHK2humyd2ERsHd+vE8+lJ9TnLWap+nVamc0kTdWqgxJtm4w7MPP6s=,iv:PyfROMfOTP74hVlsVZIARe+0rlnFVyNEn4cmT1+Do44=,tag:MvUuLXDV5DkoY50FC5ELEg==,type:str]", "pgp": [ { "created_at": "2022-12-30T14:49:56Z", diff --git a/services/monitoring/default.nix b/services/monitoring/default.nix index d29233f..4b53df6 100644 --- a/services/monitoring/default.nix +++ b/services/monitoring/default.nix @@ -83,10 +83,8 @@ in { /* Steps to edit the monitoring.htpasswd (aka. adding yourself / updating you password): - 1. `sops -d secrets/all/monitoring.htpasswd > /tmp/monitoring.htpasswd` - 2. Use `htpasswd` (from the `apacheHttpd` package) to your hearts content - 3. `sops -e /tmp/monitoring.htpasswd > secrets/all/monitoring.htpasswd` - 4. `rm /tmp/monitoring.htpasswd` + 1. Use `htpasswd` (from the `apacheHttpd` package) to generate the hashed password + 2. `sops secrets/all/monitoring.htpasswd` and replace/add the specfic lines */ sops.secrets = { "monitoring.htpasswd" = {