pocket_protector icon indicating copy to clipboard operation
pocket_protector copied to clipboard

add "imports" to key domains

Open kurtbrose opened this issue 7 years ago • 0 comments

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)

kurtbrose avatar Feb 12 '18 22:02 kurtbrose