pulumi/pkg/cmd/pulumi
bors[bot] 20e32f8f8a
Merge #10749
10749: Allow override of secretsprovider using $PULUMI_SECRETS_PROVIDER r=AaronFriel a=sfc-gh-alytvynov

<!--- 
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

Allow per-execution override of the secrets provider via an environment variable. This allows a temporary replacement without updating the stack config, such a during CI.

Fixes # (issue)

## Checklist

<!--- Please provide details if the checkbox below is to be left unchecked. -->
- [x] I have added tests that prove my fix is effective or that my feature works
<!--- 
User-facing changes require a CHANGELOG entry.
-->
- [x] I have updated the [CHANGELOG-PENDING](https://github.com/pulumi/pulumi/blob/master/CHANGELOG_PENDING.md) file with my change
<!--
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: Andrew Lytvynov <andrew.lytvynov@snowflake.com>
2022-09-22 18:35:52 +00:00
..
about.go Couple of 'about' improvments (#10566) 2022-09-02 11:48:34 +02:00
about_test.go Move about information to language plugins (#10392) 2022-08-15 14:55:04 +01:00
cancel.go Thread context through cmd more consistently (#10393) 2022-08-16 12:35:39 +01:00
config.go Thread context through cmd more consistently (#10393) 2022-08-16 12:35:39 +01:00
config_test.go ci: radical idea - what if slow tests & no stdout makes GH consider runner dead? 2022-03-06 14:52:13 -08:00
console.go [cli] fix `pulumi console` command (#10509) 2022-08-26 15:09:15 -07:00
convert-trace.go Add a convert-trace command. (#7319) 2021-06-17 14:46:05 -07:00
convert.go Fix lints 2022-09-14 18:47:48 +02:00
crypto.go Move default secret manager to stack (#10423) 2022-08-18 15:31:34 +01:00
crypto_cloud.go Rename PULUMI_SECRETS_PROVIDER to PULUMI_CLOUD_SECRET_OVERRIDE 2022-09-20 10:01:15 -07:00
crypto_cloud_test.go Fix linter findings 2022-09-21 17:07:05 -07:00
destroy.go Fix lint on master with line too long (#10567) 2022-09-01 19:34:11 +02:00
doc.go Document Go packages (#6009) 2021-01-11 11:07:59 -07:00
errors.go Be more consistent about using ` for quoting commands (#10434) 2022-08-18 15:31:22 +01:00
gen_completion.go Expose `gen-completion` command when running `pulumi --help` (#10218) 2022-07-22 09:36:16 -07:00
gen_markdown.go [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
import.go Fix lints 2022-09-14 18:47:48 +02:00
login.go Thread context through cmd more consistently (#10393) 2022-08-16 12:35:39 +01:00
logout.go added confirmation string to `pulumi logout` (#9641) 2022-05-20 11:50:00 -07:00
logs.go Thread context through cmd more consistently (#10393) 2022-08-16 12:35:39 +01:00
logs_test.go ci: radical idea - what if slow tests & no stdout makes GH consider runner dead? 2022-03-06 14:52:13 -08:00
main.go [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
main_1.17_test.go [pkg] Enable main_test to compile on go 1.17 and go 1.18 (#9771) 2022-06-09 16:47:49 -07:00
main_1.18_test.go [pkg] Enable main_test to compile on go 1.17 and go 1.18 (#9771) 2022-06-09 16:47:49 -07:00
main_test.go [pkg] Enable main_test to compile on go 1.17 and go 1.18 (#9771) 2022-06-09 16:47:49 -07:00
new.go Add tracing to `npm install` and fix orphan tracing (#10518) 2022-09-12 17:42:27 -04:00
new_test.go ci: gofmt 1.18+ clean 2022-09-21 09:48:39 -07:00
org.go Thread context through cmd more consistently (#10393) 2022-08-16 12:35:39 +01:00
package.go ci: Remove several test skips, check if unnecessary 2022-09-21 17:46:08 -07:00
package_extract_schema.go Add gen-sdk sub-command 2022-09-14 17:07:05 +02:00
package_gen_sdk.go Update depreciated: ioutil -> os 2022-09-15 11:31:34 +02:00
plugin.go Split PluginInfo in Info and Spec (#10501) 2022-08-26 15:51:14 +01:00
plugin_install.go Add --checksum to `pulumi plugin install` (#10528) 2022-08-30 16:11:36 +01:00
plugin_ls.go Split PluginInfo in Info and Spec (#10501) 2022-08-26 15:51:14 +01:00
plugin_rm.go Update error handling (#8406) 2021-11-12 18:37:17 -08:00
policy.go [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
policy_disable.go Thread context through cmd more consistently (#10393) 2022-08-16 12:35:39 +01:00
policy_enable.go Thread context through cmd more consistently (#10393) 2022-08-16 12:35:39 +01:00
policy_group_ls.go Thread context through cmd more consistently (#10393) 2022-08-16 12:35:39 +01:00
policy_ls.go Thread context through cmd more consistently (#10393) 2022-08-16 12:35:39 +01:00
policy_new.go Change 'policy new' to use the language host to install deps 2022-09-20 00:38:37 +01:00
policy_new_test.go ci: gofmt 1.18+ clean 2022-09-21 09:48:39 -07:00
policy_publish.go Thread context through cmd more consistently (#10393) 2022-08-16 12:35:39 +01:00
policy_rm.go Thread context through cmd more consistently (#10393) 2022-08-16 12:35:39 +01:00
policy_validate.go Thread context through cmd more consistently (#10393) 2022-08-16 12:35:39 +01:00
preview.go Thread context through cmd more consistently (#10393) 2022-08-16 12:35:39 +01:00
pulumi.go Begin on schema acquisition 2022-09-14 13:19:48 +02:00
pulumi_test.go ci: gofmt 1.18+ clean 2022-09-21 09:48:39 -07:00
query.go Thread context through cmd more consistently (#10393) 2022-08-16 12:35:39 +01:00
refresh.go Other check (#10597) 2022-09-02 12:02:46 +02:00
replay_events.go [cli] Add a replay-events debug command. (#9271) 2022-04-07 09:03:19 -07:00
schema.go [codegen/schema] Add a schema checker (#7865) 2021-08-30 19:29:24 -07:00
schema_check.go Update error handling (#8406) 2021-11-12 18:37:17 -08:00
stack.go Be more consistent about using ` for quoting commands (#10434) 2022-08-18 15:31:22 +01:00
stack_change_secrets_provider.go Use Stack.DefaultSecretManager in createSecretsManager (#10436) 2022-08-19 14:09:16 +01:00
stack_export.go Consistently disable HTML escaping in JSON output (#10440) 2022-08-19 13:27:34 +01:00
stack_graph.go Thread context through cmd more consistently (#10393) 2022-08-16 12:35:39 +01:00
stack_history.go Thread context through cmd more consistently (#10393) 2022-08-16 12:35:39 +01:00
stack_import.go Thread context through cmd more consistently (#10393) 2022-08-16 12:35:39 +01:00
stack_init.go Thread context through cmd more consistently (#10393) 2022-08-16 12:35:39 +01:00
stack_ls.go Thread context through cmd more consistently (#10393) 2022-08-16 12:35:39 +01:00
stack_ls_test.go Thread context through cmd more consistently (#10393) 2022-08-16 12:35:39 +01:00
stack_output.go Thread context through cmd more consistently (#10393) 2022-08-16 12:35:39 +01:00
stack_output_test.go ci: radical idea - what if slow tests & no stdout makes GH consider runner dead? 2022-03-06 14:52:13 -08:00
stack_rename.go Thread context through cmd more consistently (#10393) 2022-08-16 12:35:39 +01:00
stack_rm.go Thread context through cmd more consistently (#10393) 2022-08-16 12:35:39 +01:00
stack_select.go Thread context through cmd more consistently (#10393) 2022-08-16 12:35:39 +01:00
stack_tag.go Thread context through cmd more consistently (#10393) 2022-08-16 12:35:39 +01:00
stack_unselect.go include error in formatted message and explicitly check for an empty stack 2022-03-14 11:32:33 +01:00
state.go Don't panic when snap is nil (#10593) 2022-09-02 11:46:57 +02:00
state_delete.go Thread context through cmd more consistently (#10393) 2022-08-16 12:35:39 +01:00
state_rename.go Thread context through cmd more consistently (#10393) 2022-08-16 12:35:39 +01:00
state_unprotect.go Thread context through cmd more consistently (#10393) 2022-08-16 12:35:39 +01:00
terminal.go Fix negative page size panic (#10475) 2022-08-23 16:45:47 -04:00
terminal_test.go Fix negative page size panic (#10475) 2022-08-23 16:45:47 -04:00
up.go Amend comment based on findings 2022-09-16 16:09:03 -04:00
up_test.go ci: radical idea - what if slow tests & no stdout makes GH consider runner dead? 2022-03-06 14:52:13 -08:00
util.go Couple of 'about' improvments (#10566) 2022-09-02 11:48:34 +02:00
util_test.go ci: gofmt 1.18+ clean 2022-09-21 09:48:39 -07:00
version.go [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
view-trace.go ci: gofmt 1.18+ clean 2022-09-21 09:48:39 -07:00
watch.go Fix typo in --secrets-provider help message (#10541) 2022-08-31 07:41:07 +01:00
whoami.go Thread context through cmd more consistently (#10393) 2022-08-16 12:35:39 +01:00