pulumi/pkg/apitype
Matt Ellis cc74ef8471 Encrypt secret values in deployments
When constructing a Deployment (which is a plaintext representation of
a Snapshot), ensure that we encrypt secret values. To do so, we
introduce a new type `secrets.Manager` which is able to encrypt and
decrypt values. In addition, it is able to reflect information about
itself that can be stored in the deployment such that we can
deserialize the deployment into a snapshot (decrypting the values in
the process) without external knowledge about how it was encrypted.

The ability to do this is import for allowing stack references to
work, since two stacks may not use the same manager (or they will use
the same type of manager, but have different state).

The state value is stored in plaintext in the deployment, so it **must
not** contain sensitive data.

A sample manager, which just base64 encodes and decodes strings is
provided, as it useful for testing. We will allow it to be varried
soon.
2019-05-10 17:07:52 -07:00
..
migrate Add API types for the V3 checkpoint (#2384) 2019-01-23 13:33:25 -08:00
cli.go Warn when pulumi is out of date 2018-08-13 13:18:02 -07:00
core.go Encrypt secret values in deployments 2019-05-10 17:07:52 -07:00
errors.go Expand ErrorResponse type (#1720) 2018-08-07 10:43:18 -07:00
events.go Filter diff keys based on provider info (#2526) 2019-03-06 16:41:19 -08:00
history.go Fix spelling (#2567) 2019-03-19 11:35:17 -07:00
logs.go Remove references to Pulumi private clouds (#2095) 2018-10-24 13:50:35 -07:00
stacks.go Add projectName member of StackSummary API type 2019-01-08 12:52:09 -08:00
updates.go Add apitype for stack rename request 2019-03-11 14:44:15 -07:00