pulumi/sdk
Ian Wahbe c299365ac6 Allow encrypting the `id` property for a resource
We already handled id correctly when it was an output. We just didn't
handle it correctly for the special ID field in a serialized resource.

When we serialize a resource, we now check if `"id"` is a secret output.
If so, we set `coreapi.ResourceV3.ID` to `resource.SecretSig`. We
reverse this process when deserializing.

This solution is sound as long as
- `stack.SerializeResource` is the only place where resources are
serialized.
- `stack.DeserializeResource` is the only place where resources are
deserialized.
- We can assume that `resource.SecretSig` is not used as an ID.
2022-02-08 16:29:10 +01:00
..
dotnet [sdk/dotnet] Normalize provider providers merge (#8838) 2022-01-31 12:44:31 +01:00
go Allow encrypting the `id` property for a resource 2022-02-08 16:29:10 +01:00
nodejs [sdk/nodejs] Pickup provider as part of providers (#8923) 2022-02-04 12:38:34 +01:00
proto Make resource autonames determinstic (#8631) 2022-01-20 11:18:54 +00:00
python Use black code formatter for the python sdk (#8919) 2022-02-04 01:16:16 +01:00
README.md Updating .NET references 2020-04-27 12:42:11 -07:00
go.mod Ensure tests/go.sum has been updated (#8835) 2022-01-26 13:45:18 +02:00
go.sum Ensure tests/go.sum has been updated (#8835) 2022-01-26 13:45:18 +02:00

README.md

Pulumi Language SDKs

This directory contains the Pulumi SDKs for all supported languages.

Please see the respective READMEs for information about installing and using these libraries:

The language providers work by implementing gRPC interfaces defined in proto/.