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:D7qYKyr0hlXhMXSKWdrBKSsSNKtbQ/woZ3KZqCFojYXSx2Ly+cT4ObKUXPod,iv:Nkus/jPU/85wJ8P/5XBpcFB6QPV1N32BsOu85m26kn0=,tag:a841CZKuUPbqpLb89MBAtw==,type:str]",
|
|
"sops": {
|
|
"kms": null,
|
|
"gcp_kms": null,
|
|
"azure_kv": null,
|
|
"hc_vault": null,
|
|
"age": [
|
|
{
|
|
"recipient": "age1hqe5hs2jz2fk5zvw346ajhwlagkheunacahpu42uruxu0nlnwy7qn9q5k6",
|
|
"enc": "-----BEGIN AGE ENCRYPTED FILE-----\nYWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSAzZitVQy9pQ3U4MXRndkIy\nYTFIbURJbUFiSldnY3B1OGJZdit4RURnTUM0CkFER3BwOU1sVUE2MWJmbDNGWTJu\nNVNicFhHN20yOG5idk93WTc0RGJnd1EKLS0tIHZXUStscWxlcStvc2JiSDUreVpy\nM1ZodFpNcUNnd1R3bkNabXVQUFFPOE0KKLDRMyMEY32xb8ulPcz8PSVDYlVBkDoU\nF/POaMcLJr4+s2AxWWiONpEWp+/wFy2rmAs7TQkLcF8ftUkRzzijyA==\n-----END AGE ENCRYPTED FILE-----\n"
|
|
},
|
|
{
|
|
"recipient": "age1vh6qdlxzfsy8gquvzwsfz40ezkx9m5m9q8sj4225nh3mr9lrjvrqt079mp",
|
|
"enc": "-----BEGIN AGE ENCRYPTED FILE-----\nYWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBlQ25xaVphcytXS29oaW5x\nVFpyVVA4UG1LMzFTRDNsdUFsUHVEZWJPd2pVClFpbUJoMlo5L0pZc2hyZ1FwTXZn\ndytWcHdqYkU3TnpraEoxR0JraE5FQW8KLS0tIFlUbmp4MnB1WFpZNmk0N3JVdXMy\nTmlmdWdaaGJsUm1ldEtRSzgvZFdlQVEK0JgsYehdgikYiwF0zZaTOLFKCoRuel5v\nq6TYJn2qw61+uK+5S9pMokDR+hGD6DdIGfXC1KLLBvkS4+3eqx9bPQ==\n-----END AGE ENCRYPTED FILE-----\n"
|
|
}
|
|
],
|
|
"lastmodified": "2023-10-01T20:45:38Z",
|
|
"mac": "ENC[AES256_GCM,data:rZMMx0qbb1HNYycyzcHYE/ZMoYdqjidJMs8HrhZVaDYQB+EkDVZSU69cI42pzK2n0bTzA0a6xJA8uAo/VNKfN4N8ex6jVMlIKkj56mCLfnJkYTUih8LYMaT6Fkhuf60Stqqu/bK3L6E7o1nhYKMR0PX/GmO7cshZfqtZZKIBI0k=,iv:riZfubPuM8KoDRHQfUFOidF9NUjb8nIwwpWjcZDL4Yc=,tag:xKWdfc0yAEjhShT+hcTrPA==,type:str]",
|
|
"pgp": null,
|
|
"unencrypted_suffix": "_unencrypted",
|
|
"version": "3.8.0"
|
|
}
|
|
} |