pulumi/pkg
Matt Ellis 4368830448 Rework secret annotation algorithm slightly
We adopt a new algoritm for annotating secrets, which works as
follows:

If the source and destinations are both property maps, annotate their
secrets deeply.

Otherwise, if there is an property in both the input and output arrays
with the same name and the value in the inputs has secrets /anywhere/
in it, mark the output itself a secret.

This means, for example, an array in the inputs with a secret value as
one of the elmenets will mean in the outputs the entire array value is
marked as a secret. This is done because arrays often are treated as
sets by providers and so we really shouldn't consider ordering. It
also means that if a value is added to the array as part of the
operation we still mark the new array as an output even though the
values may not be indentical to the inputs.
2019-05-15 09:33:02 -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 Rework secret annotation algorithm slightly 2019-05-15 09:33:02 -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