pulumi/pkg
Matt Ellis af2a2d0f42 Correctly flow secretness across structured values
For providers which do not natively support secrets (which is all of
them today), we annotate output values coming back from the provider
if there is a coresponding secret input in the inputs we passed in.

This logic was not tearing into rich objects, so if you passed a
secret as a member of an array or object into a resource provider, we
would lose the secretness on the way back.

Because of the interaction with Check (where we call Check and then
take the values returned by the provider as inputs for all calls to
Diff/Update), this would apply not only to the Output values of a
resource but also the Inputs (because the secret metadata would not
flow from the inputs of check to the outputs).

This change augments our logic which transfers secrets metadata from
one property map to another to handle these additional cases.
2019-05-15 09:32:25 -07:00
..
apitype Rename SecretOutputs to AdditionalSecretOutputs 2019-05-10 17:07:52 -07:00
backend Fix --json output 2019-05-10 17:07:52 -07:00
diag Revert "Revert "Use result.Result pattern in more places. (#2573)" (#2575)" (#2577) 2019-03-21 13:23:46 -07:00
encoding Add license headers 2018-05-22 15:02:47 -07:00
engine Retain the SecretsManager that was used to deserialize a deployment 2019-05-10 17:07:52 -07:00
graph Add license headers 2018-05-22 15:02:47 -07:00
operations Collect logs from Google Cloud Functions 2019-04-08 09:44:05 -07:00
resource Correctly flow secretness across structured values 2019-05-15 09:32:25 -07:00
secrets Fix spelling issues 2019-05-15 08:32:49 -07:00
testing Set a passphrase in more tests 2019-05-10 17:07:52 -07:00
tokens Adopt golangci-lint and address issues 2018-11-08 14:11:47 -08:00
tools Add a WriteString method to tools/GenWriter. (#1839) 2018-08-29 14:43:20 -07:00
util Do not depend on backend package from client package 2019-05-10 17:07:52 -07:00
version Add license headers 2018-05-22 15:02:47 -07:00
workspace Load default providers deterministically (#2590) 2019-03-26 13:29:34 -07:00