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: docusaurus/docs/cloud/projects/settings.md
+20-5Lines changed: 20 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -414,8 +414,23 @@ Environment variables (more information in the [Developer Documentation](../../d
414
414
}}
415
415
/>
416
416
417
-
In the <Iconname="code"classes="ph-bold" /> *Variables* tab, you can:
418
-
- click the **Add variable** button to create a new variable
419
-
- edit any variable, each being composed of a *Name* and a *Value*
420
-
- click the <Iconname="trash-simple" /> delete button associated with any non-default variable to delete it
421
-
- click the **Save** button to save any change made on the page
417
+
In the <Iconname="code"classes="ph-bold" /> *Variables* tab are listed both the default and custom environment variables for your Strapi Cloud project. Each variable is composed of a *Name* and a *Value*.
418
+
419
+
#### Managing environment variables
420
+
421
+
Hovering on an environment variable, either default or custom, displays the following available options:
422
+
423
+
- <Iconname="eye" /> **Show value** to replace the `*` characters with the actual value of a variable.
424
+
- <Iconname="copy" /> **Copy to clipboard** to copy the value of a variable.
425
+
- <Iconname="dots-three" /> **Actions** to access the <Iconname="pencil-simple" /> Edit and <Iconname="trash-simple" /> Delete buttons. Both options are only available for custom environment variables.
426
+
- When editing a variable, don't forget to confirm the changes by clicking on **Save**.
427
+
- When deleting a variable, you will be asked to click on a **Confirm** button to confirm the deletion.
428
+
429
+
#### Creating custom environment variables
430
+
431
+
Custom environment variables can be created for the Strapi Cloud project. Make sure to redeploy your project after creating or editing an environment variable.
432
+
433
+
1. In the *Custom environment variables* section, click on the **Add variable** button.
434
+
2. Write the *Name* and *Value* of the new environment variable in the same-named fields.
435
+
3. (optional) Click on **Add another** to directly create one or more other custom environment variables.
436
+
4. Click on the **Save** button to confirm the creation of the custom environment variables.
0 commit comments