pulumi/pkg/backend
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
..
display Display text-based diff if yaml/json diff is semantically equal 2023-01-17 17:04:41 -08:00
filestate Merge #12038 2023-02-07 21:17:31 +00:00
httpstate Merge #12038 2023-02-07 21:17:31 +00:00
state [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
apply.go cli/update: Move experimental option to bottom 2023-01-06 14:12:41 -08:00
backend.go Revert "Support projects in the file state backend" 2023-02-02 15:26:26 -08:00
backend_test.go Push DefaultSecretsProvider up to pkg/cmd 2023-01-27 12:04:52 +00:00
doc.go Document Go packages (#6009) 2021-01-11 11:07:59 -07:00
errors.go Add a link to docs for the 409 Conflict error message (#3207) 2019-09-10 13:25:08 -07:00
mock.go Move the project file handling for secret config to one place 2023-02-01 17:03:38 +00:00
policypack.go [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
query.go Push DefaultSecretsProvider up to pkg/cmd 2023-01-27 12:04:52 +00:00
snapshot.go Move over some env vars to the new lib 2022-12-15 15:46:39 +01:00
snapshot_test.go Move over some env vars to the new lib 2022-12-15 15:46:39 +01:00
stack.go Move the project file handling for secret config to one place 2023-02-01 17:03:38 +00:00
updates.go Send update metadata about update plans 2022-10-12 22:55:59 +01:00
watch.go Push DefaultSecretsProvider up to pkg/cmd 2023-01-27 12:04:52 +00:00