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: content/yaml-quick-start/white-label-getting-started.md
+22-12Lines changed: 22 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,7 +54,7 @@ This group might contain the following environment variables:
54
54
-**.env** file if your app uses some secrets at runtime. `DOTENV_FILE` (base64 encoded).
55
55
56
56
57
-
To add these values you can either use the [Codemagic UI](https://docs.codemagic.io/yaml-basic-configuration/configuring-environment-variables/#configuring-environment-variables) or use the [Codemagic REST API](https://docs.codemagic.io/rest-api/codemagic-rest-api/) to add these groups and values programmatically, which could be advantageous if you have a large number of clients or wish to add these values from your own backend system or client dashboard.
57
+
To add these values you can either use the [Codemagic UI](https://docs.codemagic.io/yaml-basic-configuration/configuring-environment-variables/#configuring-environment-variables) or use the [Codemagic REST API](https://codemagic.io/api/v3/schema#/) to add these groups and values programmatically, which could be advantageous if you have a large number of clients or wish to add these values from your own backend system or client dashboard.
58
58
59
59
60
60
To add an environment variable using the Codemagic REST API, you need your API access token, the application id, the client group unique name, and the variable name and value.
@@ -66,22 +66,32 @@ To add an environment variable using the Codemagic REST API, you need your API a
66
66
An example of adding a secret variable to an application group looks like this:
💡 To find **{variable_group_id}**, a group needs to be created before uploading variables. More information can be found [here](https://codemagic.io/api/v3/schema#/) under the Secrets and Environment Vars dropdown.
87
+
88
+
{{</notebox>}}
89
+
80
90
{{<notebox>}}
81
91
💡
82
92
Files such as **Android keystores**, or **.env** files should be base64 encoded and can be passed like this:
0 commit comments