pulumi/pkg/resource
Matt Ellis 9308246114 Do not taint all stack outputs as secrets if just one is
When using StackReference, if the stack you reference contains any
secret outputs, we have to mark the entire `outputs` member as a
secret output. This is because we only track secretness on a per
`Output<T>` basis.

For `getSecret` and friends, however, we know the name of the output
you are looking up and we can be smarter about if the returned
`Output<T>` should be treated as a secret or not.

This change augments the provider for StackReference such that it also
returns a list of top level stack output names who's values contain
secrets. In the language SDKs, we use this information, when present,
to decide if we should return an `Output<T>` that is marked as a
secret or not. Since the SDK and CLI are independent components, care
is taken to ensure that when the CLI does not return this information,
we behave as we did before (i.e. if any output is a secret, we treat
every output as a secret).

Fixes #2744
2019-08-13 16:11:38 -07:00
..
config Encrypt secret values in deployments 2019-05-10 17:07:52 -07:00
deploy Do not taint all stack outputs as secrets if just one is 2019-08-13 16:11:38 -07:00
edit Retain the SecretsManager that was used to deserialize a deployment 2019-05-10 17:07:52 -07:00
graph Process deletions conservatively in parallel (#1963) 2018-09-27 15:49:08 -07:00
plugin Emit stderr of npm install 2019-08-13 12:48:16 -07:00
provider Implement status sinks 2018-08-31 15:56:53 -07:00
stack Support additional cloud secrets providers (#2994) 2019-08-02 16:12:16 -07:00
testdata Fix asset bugs; write more tests 2017-10-24 09:00:11 -07:00
asset.go Harden asset and archive deserialization. (#3042) 2019-08-06 16:32:05 -07:00
asset_test.go Correctly handle FileArchives when the filename contains a dot 2019-03-28 13:26:07 -07:00
custom_timeouts.go Addition of Custom Timeouts (#2885) 2019-07-16 00:26:28 +03:00
errors.go Add license headers 2018-05-22 15:02:47 -07:00
properties.go Fix conversion of empty array properties. (#3047) 2019-08-07 11:42:40 -07:00
properties_diff.go Fix a panic during property diffing 2019-05-15 16:20:25 -07:00
properties_diff_test.go Fix a panic during property diffing 2019-05-15 16:20:25 -07:00
properties_path.go Pass ignoreChanges to providers. (#3005) 2019-07-31 11:39:07 -05:00
properties_path_test.go Pass ignoreChanges to providers. (#3005) 2019-07-31 11:39:07 -05:00
properties_test.go Fix conversion of empty array properties. (#3047) 2019-08-07 11:42:40 -07:00
resource_goal.go Addition of Custom Timeouts (#2885) 2019-07-16 00:26:28 +03:00
resource_id.go Add license headers 2018-05-22 15:02:47 -07:00
resource_id_test.go Adopt golangci-lint and address issues 2018-11-08 14:11:47 -08:00
resource_operation.go Add support for importing existing resources. (#2893) 2019-07-12 11:12:01 -07:00
resource_state.go Addition of Custom Timeouts (#2885) 2019-07-16 00:26:28 +03:00
stack.go Make a smattering of CLI UX improvements 2018-09-24 08:43:46 -07:00
status.go Partial status for resource providers 2018-07-02 13:32:23 -07:00
urn.go Add license headers 2018-05-22 15:02:47 -07:00
urn_test.go Add license headers 2018-05-22 15:02:47 -07:00