1e2e2bdd35
grep -- '- &' .sops.yaml | cut -d'&' -f2 | grep _host | sed 's/_host//' | xargs -n2 clan secrets machines add for i in secrets/*.yaml; do host=$(basename $i .yaml); clan secrets import-sops $i --machine $host --user makefu --prefix ${host}-;done for i in secrets/*.yaml; do host=$(basename $i .yaml) ;clan secrets groups add-machine common "$host";done
24 lines
1.6 KiB
Plaintext
24 lines
1.6 KiB
Plaintext
{
|
|
"data": "ENC[AES256_GCM,data:d4QaaQYRHW9CT41RSvQc2aqe6tO19ysm6hM4JnM=,iv:ogGKzbpO5mj7Tm7MaTwhLvXIhaH29FmRMo3dH8N9CZo=,tag:fDp1UzKjNXTAG5SVmIjLxQ==,type:str]",
|
|
"sops": {
|
|
"kms": null,
|
|
"gcp_kms": null,
|
|
"azure_kv": null,
|
|
"hc_vault": null,
|
|
"age": [
|
|
{
|
|
"recipient": "age1hqe5hs2jz2fk5zvw346ajhwlagkheunacahpu42uruxu0nlnwy7qn9q5k6",
|
|
"enc": "-----BEGIN AGE ENCRYPTED FILE-----\nYWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBzM0lac2FHcE1QSTEwRHQr\nbHlwOE95Y29jcWFnZmJLd2ZkQXFJUjFGOTFFClhZRkxneTk5VWhVMWpKK2tsdmJT\nVS9ZUnRtaXNDQkZ0VnBJUnpFbmJJTWsKLS0tIGpyNzljZHRmenVTM1RHZTZNeTZ1\nNCtZeU5uV3ZvU1lzdnhxVDZQZEFGdE0KDABResH7rEOnAyqIb/aCtWZDRnbvhy+l\nT0vlP1PURiYpCBqMnRXuMke1KOVWX0x15cVPhhPWp/QTdlEzk8f47g==\n-----END AGE ENCRYPTED FILE-----\n"
|
|
},
|
|
{
|
|
"recipient": "age1vh6qdlxzfsy8gquvzwsfz40ezkx9m5m9q8sj4225nh3mr9lrjvrqt079mp",
|
|
"enc": "-----BEGIN AGE ENCRYPTED FILE-----\nYWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSB4UXFQMSs2RkhVaC9FVUs3\nQXdHR3hWd08xbVRid2NBVEJRVU91SGI5TEdRClVJL0IrVFZrOGtpcE5SQ0FpdW51\ndGtkcWF4VmszbktFR2pCcUtlalFybW8KLS0tIHdYWlJtVTc0QUw0cUI1b3hvMGwx\nbUQ5Sks2bmFGRzlIYWFLT1JuT2grZG8KZh/EvFtw6yoS/RXlrGVGgeiJl/NrDs6W\nw9G7WrCPtzk43u5HMGy/8bq6M6317nXfmlBjXme1tDDUayuCesTQLA==\n-----END AGE ENCRYPTED FILE-----\n"
|
|
}
|
|
],
|
|
"lastmodified": "2023-10-01T20:45:33Z",
|
|
"mac": "ENC[AES256_GCM,data:U4gFlGaXp1y1bKV9oR1p75NcpUpRBng90segfy/XgTphrWChQPBqiIuMklGOqxajT1zwlxPln40O7OmlZtLWDtHceXu6zEKewU3XzY6rNPpbT6Q38zobJfd0YYfEiZgXTHOnJsmfsBdWD97uapBzEmgZOv5BUdTbqKIVVBvo33c=,iv:Vg0XDoKp2FkA18dnWmW+x5Ygx4u7OFjO7fDVpppCIBg=,tag:uA+NAeZF4ktN0WUMfH5QCg==,type:str]",
|
|
"pgp": null,
|
|
"unencrypted_suffix": "_unencrypted",
|
|
"version": "3.8.0"
|
|
}
|
|
} |