Add adb and admin htpasswd user

Also updated instructions for editing the .htpasswd
This commit is contained in:
Moritz 'e1mo' Fromm 2023-01-03 16:07:00 +01:00
parent 3acc1865c0
commit d199834a61
No known key found for this signature in database
GPG key ID: 1D5D79A439E787F1
2 changed files with 5 additions and 7 deletions

View file

@ -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",

View file

@ -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" = {