Skip to content

Commit 83aeaa0

Browse files
committed
add example of setting a config value
1 parent 8c16b5c commit 83aeaa0

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

docs/concepts/configuration.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,12 @@ You can find a sample of how to set environment variables with Pulumi [here](htt
1414

1515
# Sensitive Config aka Secrets
1616

17-
The Defang CLI allows you to securely store sensitive information such as API keys, passwords, and other credentials.
17+
The Defang CLI allows you to securely store sensitive information such as API keys, passwords, and other credentials. To do so just run:
18+
19+
```bash
20+
# Set a configuration value called API_KEY
21+
defang config set API_KEY
22+
```
1823

1924
You can use sensitive config by specifying them in the `environment` section of a service in a `compose.yaml` file without any value, or by specifying an environment key with a `null` value in your Pulumi code.
2025

0 commit comments

Comments
 (0)