pulumi/pkg/resource/deploy
Matt Ellis 529645194e Track secrets inside the engine
A new `Secret` property value is introduced, and plumbed across the
engine.

- When Unmarshalling properties /from/ RPC calls, we instruct the
  marshaller to retain secrets, since we now understand them in the
  rest of the engine.

- When Marshalling properties /to/ RPC calls, we use or tracked data
  to understand if the other side of the connection can accept
  secrets. If they can, we marshall them in a similar manner to assets
  where we have a special object with a signiture specific for secrets
  and an underlying value (which is the /plaintext/ value). In cases
  where the other end of the connection does not understand secrets,
  we just drop the metadata and marshal the underlying value as we
  normally would.

- Any secrets that are passed across the engine events boundary are
  presently passed as just `[secret]`.

- When persisting secret values as part of a deployment, we use a rich
  object so that we can track the value is a secret, but right now the
  underlying value is not actually encrypted.
2019-05-10 17:07:52 -07:00
..
deploytest Expose resource outputs through invoke 2019-05-02 18:08:08 -07:00
providers Load specific provider versions if requested (#2648) 2019-04-17 11:25:02 -07:00
builtins.go Expose resource outputs through invoke 2019-05-02 18:08:08 -07:00
plan.go Expose resource outputs through invoke 2019-05-02 18:08:08 -07:00
plan_executor.go Revert "Revert "Use result.Result pattern in more places. (#2573)" (#2575)" (#2577) 2019-03-21 13:23:46 -07:00
plan_test.go Add an API for importing stack outputs (#2180) 2018-11-14 13:33:35 -08:00
snapshot.go Add a list of in-flight operations to the deployment (#1759) 2018-08-10 21:39:59 -07:00
source.go Formally specify querySource with tests 2019-05-02 18:08:08 -07:00
source_error.go Use result.Result in more places. (#2568) 2019-03-19 16:21:50 -07:00
source_eval.go Track secrets inside the engine 2019-05-10 17:07:52 -07:00
source_eval_test.go Remove uses of plugins in the snapshot (#2662) 2019-04-23 09:53:44 -07:00
source_fixed.go Use result.Result in more places. (#2568) 2019-03-19 16:21:50 -07:00
source_null.go Use result.Result in more places. (#2568) 2019-03-19 16:21:50 -07:00
source_query.go Track secrets inside the engine 2019-05-10 17:07:52 -07:00
source_query_test.go Formally specify querySource with tests 2019-05-02 18:08:08 -07:00
step.go Use Outputs instead of merged Inputs+Outputs (#2659) 2019-04-22 13:52:36 -07:00
step_executor.go Default to unbounded parallelism (#2065) 2018-10-17 15:33:26 -07:00
step_generator.go Add an ignoreChanges resource option (#2657) 2019-04-22 13:54:48 -07:00
target.go Add license headers 2018-05-22 15:02:47 -07:00