pulumi/pkg/backend/httpstate/client
stack72 30c8718098 Using a decryptAll functionality when deserializing a deployment
Fixes: #6445

Previously, when a deserialisation operation, e.g, `pulumi stack` command
was carried out, each service based secret in the stack was decrypted one at a time
causing n times the number of API requests to the Pulumi service

This meant the following to the user:

```
Calling [pulumi stack] with [1000] secrets took [210.04] seconds.
```

With this new code, we now scan all the inputs and outputs for secrets,
and make a bulk secret decryption dequest to the service and then use
the secrets as a lookup for the deserialization operation. This means
we have a single API request to the service and now means the following
to the user:

```
Calling [pulumi stack] with [1000] secrets took [16.30] seconds.
```
2022-01-04 13:32:13 +00:00
..
api.go Set less agressive timeouts for HTTP retries (#8549) 2021-12-09 09:53:10 -08:00
api_endpoints.go Improve tracing support. (#3238) 2019-09-16 14:16:43 -07:00
client.go Using a decryptAll functionality when deserializing a deployment 2022-01-04 13:32:13 +00:00
doc.go Document Go packages (#6009) 2021-01-11 11:07:59 -07:00