pocket_protector
pocket_protector copied to clipboard
add "imports" to key domains
add the ability of key domains to import values from each other
suggested YAML:
domains:
domain1:
secrets:
a: encrypted-a
b: encrypted-b
domain2:
imports:
domain1:
key: domain1-private-key-encrypted-by-domain2-public-key
secrets: ["a", "b"]
(another alternative would be "extends" which imports all values.... this feels better though as it is more explicit, harder to accidentally pull in a value)