pulumi/sdk/python/lib
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
..
pulumi Do not taint all stack outputs as secrets if just one is 2019-08-13 16:11:38 -07:00
test Check for valid PB types in serialize_property (#3060) 2019-08-09 16:48:28 -07:00
MANIFEST.in Include README in pypi package 2018-07-13 18:19:42 -07:00
setup.py Do not include 'test' package in our python library. (#3067) 2019-08-12 11:32:33 -07:00