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.7 KiB
Plaintext
24 lines
1.7 KiB
Plaintext
{
|
|
"data": "ENC[AES256_GCM,data:p9V/8HcLaczDushhy+sQn7bu6tLAoRL4HLU+jXEkCDyn5wqSr7KsVlBjKLZk,iv:ap06pjIp1POvlShcWCK8vze9r+jLEqpUEF6FVUp04M0=,tag:FKZw9VdatzKrCxDL+PTVMg==,type:str]",
|
|
"sops": {
|
|
"kms": null,
|
|
"gcp_kms": null,
|
|
"azure_kv": null,
|
|
"hc_vault": null,
|
|
"age": [
|
|
{
|
|
"recipient": "age1hqe5hs2jz2fk5zvw346ajhwlagkheunacahpu42uruxu0nlnwy7qn9q5k6",
|
|
"enc": "-----BEGIN AGE ENCRYPTED FILE-----\nYWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBJMVV4REJiUGt6RndGdC85\nWnRrcTJVQlNrVUNzb0V5czhvNnNuemppRmlZCkVrMmNoeDdHRjM5aHpYcElXTUtk\naHlIejhUWTJUcUhVVWgyMm5VM0NabHcKLS0tIFlFVEJVQkRvVWkyNnloZ2dacjJV\nWUJNblROZldMMjFmYUIybWRGUnl1eTAKUG7RoCym/e95Pfs+6+4lylCPgaU6pmCk\nwRktdLmvEs0fupwasVueQTd5ccNzbB0/AtezCm2Vi0AWTbJw3IYX9Q==\n-----END AGE ENCRYPTED FILE-----\n"
|
|
},
|
|
{
|
|
"recipient": "age1vh6qdlxzfsy8gquvzwsfz40ezkx9m5m9q8sj4225nh3mr9lrjvrqt079mp",
|
|
"enc": "-----BEGIN AGE ENCRYPTED FILE-----\nYWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSAxczJEOGNERWh5QXRsNGdr\nYjBJUmh2eHFsMndtdVAvN1IrcFg0L3h5Z1JvCjF3bkhrK3ZKcnpNeWVSdlJjREs0\nSVllMXhERXVzdVphM0JnVmR1UlZhdUEKLS0tIGV2V1FSVXF4UEppeHlhZkJoUm95\nMjBIM2dSL3JjTzVsTUYvVEZyVmgwQ3cK6Mpd9J/t6yYnajiE3IV6RJWbMUPPX14s\nsY1P0okBO0/w+9VNrhElyYpAeYBnkAqltTBJ6tJekM2eKMLafIqUsw==\n-----END AGE ENCRYPTED FILE-----\n"
|
|
}
|
|
],
|
|
"lastmodified": "2023-10-01T20:45:38Z",
|
|
"mac": "ENC[AES256_GCM,data:o8yUpkcGj9WmEIrTne1N+uhcYwxB3mWGTHQtPnWErGjiAvjyEcZ02vJh8B/LhW2D2aZR4dSWBCZgu0JD+x2SFo0G6eono1zusnAXwQOTu4J4sVopoBmMUfD2RmqXNdaT3p2YRKyie8DEli49BcVoiEvIgwy9vZIyS0c4+yWVA8k=,iv:b39nIA+9SycHLhW6d3kKRUk93dOdX3LwBfxqlmlX4U8=,tag:Q6D+ka28TGg50dPcQhPzAw==,type:str]",
|
|
"pgp": null,
|
|
"unencrypted_suffix": "_unencrypted",
|
|
"version": "3.8.0"
|
|
}
|
|
} |