You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/concepts/configuration.md
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,12 @@ You can find a sample of how to set environment variables with Pulumi [here](htt
14
14
15
15
# Sensitive Config aka Secrets
16
16
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
+
```
18
23
19
24
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.
0 commit comments