pulumi/pkg/backend/httpstate
bors[bot] e84522340c
Merge #12038
12038: Move the project file handling for secret config to one place r=Frassle a=Frassle



<!--- 
Thanks so much for your contribution! If this is your first time contributing, please ensure that you have read the [CONTRIBUTING](https://github.com/pulumi/pulumi/blob/master/CONTRIBUTING.md) documentation.
-->

# Description

<!--- Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. -->

A continuing clean up of secrets.

This means the secret providers just work in terms of workspace.ProjectStack, mutate as they wish and let the higher level work out if it should save the file or not. Rather than having each secret provider have to deal with loading and saving the stack config files all that that logic is now moved out to `getStackSecretsManager` and `createSecretsManager`.

## Checklist

<!--- Please provide details if the checkbox below is to be left unchecked. -->
- [ ] I have added tests that prove my fix is effective or that my feature works - Should be covered by existing tests. No behavioral changes intended. 
<!--- 
User-facing changes require a CHANGELOG entry.
-->
- [ ] I have run `make changelog` and committed the `changelog/pending/<file>` documenting my change - Not user facing
<!--
If the change(s) in this PR is a modification of an existing call to the Pulumi Service,
then the service should honor older versions of the CLI where this change would not exist.
You must then bump the API version in /pkg/backend/httpstate/client/api.go, as well as add
it to the service.
-->
- [ ] Yes, there are changes in this PR that warrants bumping the Pulumi Service API version
  <!-- `@Pulumi` employees: If yes, you must submit corresponding changes in the service repo. -->


Co-authored-by: Fraser Waters <fraser@pulumi.com>
2023-02-07 21:17:31 +00:00
..
client Add `--insecure` flag to `pulumi login` 2023-02-03 16:09:37 -08:00
testdata Reduce memory use for PULUMI_OPTIMIZED_CHECKPOINT_PATCH 2022-12-15 11:23:06 -05:00
backend.go Add `--insecure` flag to `pulumi login` 2023-02-03 16:09:37 -08:00
backend_test.go ci: gofmt 1.18+ clean 2022-09-21 09:48:39 -07:00
console.go Add support for a PULUMI_CONSOLE_DOMAIN env var (#4410) 2020-04-17 11:50:00 -07:00
console_test.go ci: gofmt 1.18+ clean 2022-09-21 09:48:39 -07:00
diffs.go Reduce memory use for PULUMI_OPTIMIZED_CHECKPOINT_PATCH 2022-12-15 11:23:06 -05:00
doc.go Document Go packages (#6009) 2021-01-11 11:07:59 -07:00
policypack.go all: Drop ioutil 2023-01-06 16:35:14 -08:00
snapshot.go Reduce memory use for PULUMI_OPTIMIZED_CHECKPOINT_PATCH 2022-12-15 11:23:06 -05:00
snapshot_test.go Add `--insecure` flag to `pulumi login` 2023-02-03 16:09:37 -08:00
stack.go Move the project file handling for secret config to one place 2023-02-01 17:03:38 +00:00
state.go Push DefaultSecretsProvider up to pkg/cmd 2023-01-27 12:04:52 +00:00
token_source.go Support PULUMI_OPTIMIZED_CHECKPOINT_PATCH protocol 2022-10-12 12:29:05 -04:00
token_source_test.go Disable token_source_test on windows (#10557) 2022-09-01 01:30:52 +02:00