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:quj0a6aHmu+Byq4FmtqIYymqzIos3OisMAZ0MBBMOF2c0LZmmbGCk6qtQKZkXDorLg5AgOdHKALhYBVx8zGewc/BnBToD1mN8hIsYLAUsqol8rykabOFGnVWts3HgaFtUi+XGsUfA3HoZ5s=,iv:mBeg2EaGaj7AaJuVbL3QWHyX6sYSk4XpHB/dT+Ng9C4=,tag:lDEuBDWTRAOwr+/4Bi8Z3Q==,type:str]",
|
|
"sops": {
|
|
"kms": null,
|
|
"gcp_kms": null,
|
|
"azure_kv": null,
|
|
"hc_vault": null,
|
|
"age": [
|
|
{
|
|
"recipient": "age1g0h4fhgnfr7zvp3mqa32u24k4nlfpqmk4dvl5pwnj7t3m6zl2cfs3mw7ht",
|
|
"enc": "-----BEGIN AGE ENCRYPTED FILE-----\nYWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSB0Y3VQQW9CUHdDMHNpaEUr\nS0hxOWhIOFZCaUVvaVFVS01lZWVLT293clVRClBnUGV2SG9FendadmpZRHp1c2hD\naFFiK2o1cktNZGFhWFAxQll5bXNnOE0KLS0tIDg2Q0N0QS9IVGJVUy9rMzBxUWpB\ndWhpREdvb3ZGZzVnMVFXbGxXUk0rWEkKEnDa1eucaPHHOEfCbdeqbXMl5G4knRbt\ntkeyDtj2fTd6K6YSFNYwNL+SBM0oV0TPQAawbby9fpOJiqhJl61dDg==\n-----END AGE ENCRYPTED FILE-----\n"
|
|
},
|
|
{
|
|
"recipient": "age1vh6qdlxzfsy8gquvzwsfz40ezkx9m5m9q8sj4225nh3mr9lrjvrqt079mp",
|
|
"enc": "-----BEGIN AGE ENCRYPTED FILE-----\nYWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBMQ2FuM2xwNE9CYll4OXlW\nb05PUzNETXNKN0dKNVlnRnJBVGlXaElqbGhrCmphVi9oTjVuY2JJQTN3Tnc2LzFK\nMGRRZVc3UUZlVUFJaTFnbEdpd1J2cEEKLS0tIDFOUTRLYjc5cjdHcGhjTndvS003\nSjFXQkxLeW1RTUhmYlJwdVdyR2srTG8KNMZMbOLwi513P0BJQOYDEOE6tbGOPwsL\ncrjMk0vmC8BIwMbOv8Cc2fMZUWvAsAzCRow3qAj7l6kAMu3zHFPUyA==\n-----END AGE ENCRYPTED FILE-----\n"
|
|
}
|
|
],
|
|
"lastmodified": "2023-10-01T20:45:24Z",
|
|
"mac": "ENC[AES256_GCM,data:IdJogmhbBInxvlwVIoKwVT/RPBp2AnHxBrFxYAQ0iSNQwI4uZLRbPVDovm1VDyz2qy5MLyDkWTmoRgvIBrIlHeRfn0HnOrwaI2BDl9B4olrN3neD80FdxlNqqWoRBhoiuSlBZIm5bl55vJQsYx297h0wPmaG+hd1rY7Ze+HWXUY=,iv:wArXyMBM9NnFdRKdC+qyc+fLkiwSBHWSZvfGdfTz5Ec=,tag:8SGUOBFAseBL7qEI4UcqrQ==,type:str]",
|
|
"pgp": null,
|
|
"unencrypted_suffix": "_unencrypted",
|
|
"version": "3.8.0"
|
|
}
|
|
} |