diff --git a/pages/common/pulumi-config.md b/pages/common/pulumi-config.md new file mode 100644 index 0000000000000..028196626d2aa --- /dev/null +++ b/pages/common/pulumi-config.md @@ -0,0 +1,28 @@ +# pulumi config + +> Manage configuration settings for a Pulumi stack. +> More information: . + +- View current configuration in JSON format: + +`pulumi config --json` + +- Get the value of a configuration key: + +`pulumi config get {{key}}` + +- Remove a configuration value: + +`pulumi config rm {{key}}` + +- Set value for a key from a file: + +`cat {{path/to/file}} | pulumi config set {{key}}` + +- Set secret value (e.g. API key) for a key and store/display as ciphertext: + +`pulumi config set --secret {{key}} {{S3cr37_value}}` + +- Remove multiple configuration values from a specified config file: + +`pulumi config --config-file {{path/to/file}} rm-all {{key1}} {{key2}} {{key3}} ... {{[flags]}}`