pulumi/pkg/resource/stack
Pat Gavlin 40b0f8cbab
Cache ciphertext for secret properties. (#3183)
This caching is enabled by wrapping the `secrets.Manager` returned by
`DefaultSecretsProvider.OfType` in an outer `secrets.Manager` that
cooperates with `stack.{Serialize,Deserialize}PropertyValue`. Ciphertext
is cached on a per-secret-instance basis (i.e. not a per-plaintext-value
basis). Cached ciphertext is only reused if the plaintext for the secret
value has not changed. Entries are inserted into the cache upon both
encryption and decryption so that values that originated from ciphertext
and that have not changed can aoid re-encryption.

Contributes to #3178.
2019-09-18 15:52:31 -07:00
..
testdata Add a version property to checkpoints 2018-03-10 13:03:05 -08:00
checkpoint.go Refactor the way secrets managers are provided (#3001) 2019-08-01 10:33:52 -07:00
checkpoint_test.go Add license headers 2018-05-22 15:02:47 -07:00
debug.test Add a version property to checkpoints 2018-03-10 13:03:05 -08:00
deployment.go Cache ciphertext for secret properties. (#3183) 2019-09-18 15:52:31 -07:00
deployment_test.go Refactor the way secrets managers are provided (#3001) 2019-08-01 10:33:52 -07:00
secrets.go Cache ciphertext for secret properties. (#3183) 2019-09-18 15:52:31 -07:00
secrets_test.go Cache ciphertext for secret properties. (#3183) 2019-09-18 15:52:31 -07:00