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:2QWmopTEiX/ouVColMgNyga81i5h,iv:uQGExThFX0BwSsxwDIERwQdgbMAOs2ZxHzGMiUmcfsc=,tag:khM6cj01k85/eNpcXimt9w==,type:str]",
|
|
"sops": {
|
|
"kms": null,
|
|
"gcp_kms": null,
|
|
"azure_kv": null,
|
|
"hc_vault": null,
|
|
"age": [
|
|
{
|
|
"recipient": "age13ekyvn5ux7zyvclwlrpnhgauw5s6dzn538msjka8vpwhu535ychqa7dk7a",
|
|
"enc": "-----BEGIN AGE ENCRYPTED FILE-----\nYWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSAvVHFzNkthZHpyaDJQNlBQ\nRlltZVQ3SVkvUFAwalIvRVIzVjZKNjlYcTAwCkdYN01ZY2t2ZnR1dHFwT0s1ZzVm\nd2p3dW51T3cyM0UwTDBHZ0lKMnp2VDAKLS0tIEFLOCs2R3JHdDl6VFI5WlBuQlRx\nM3dhT1BjbjUrd1RzcUxGamRMVEYwblEKZ29Ktd3mV3VUGya2eg6xuIJUwc75Ey/N\nB+DXfY3B1x0cUslITgWYEL+Tj1IdTW+jXqI6mEaCtsR11tkyJ3qZJQ==\n-----END AGE ENCRYPTED FILE-----\n"
|
|
},
|
|
{
|
|
"recipient": "age1vh6qdlxzfsy8gquvzwsfz40ezkx9m5m9q8sj4225nh3mr9lrjvrqt079mp",
|
|
"enc": "-----BEGIN AGE ENCRYPTED FILE-----\nYWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBYRkRTZmpYU0YrZGdhRWRz\nNjVEL0hreTlPWDBJdDRRZ1dOWkR0eWNUR3dvCm8yQlA5L0NNQmJjQzhOWWpoRCtD\nTUhYaTVPK050RzVRNjJsNkR1UUlCRTAKLS0tIE1jdHR4NjJyUjlUTFkwcG1RSkVn\nTDNIVDg3WmZjeGdhV0JMK3FyeURITWMKqR8Aa+ynCIpaeE0Uqg/YsQN27j/wUVF6\nvoUl6f4kfz+nQQ2+TOmBsu01ums7nJWgrFbFonty1JuqWE49BcXTjg==\n-----END AGE ENCRYPTED FILE-----\n"
|
|
}
|
|
],
|
|
"lastmodified": "2023-10-01T20:45:17Z",
|
|
"mac": "ENC[AES256_GCM,data:FgjlnN9ZGVUn3GA6UGlD8sOJawvRLdzyb0wMeoNVKB4ph/eMDmQ8Apyb/CkmlfeIbrU0zdjX6sSEUkXCabzRc2X4/3/GQ0AYgCAErKKWCjDKnw3I8EtDc//s1001i38hJnQ9uwGrD507Btji7KsOamXsehUm91wCETjY2dyzX3c=,iv:4IRAOUB3td6hKwveLYguOIMO9TAzeTQ6LGW2bXvSSPo=,tag:IbyuwRGsZGMRgRRj0xCP+Q==,type:str]",
|
|
"pgp": null,
|
|
"unencrypted_suffix": "_unencrypted",
|
|
"version": "3.8.0"
|
|
}
|
|
} |