Skip to content

Commit 2b30a38

Browse files
committed
install_on_ibexa_cloud.md: Details Composer authentication
1 parent 38ff639 commit 2b30a38

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed
82.9 KB
Loading
-19.5 KB
Binary file not shown.

docs/ibexa_cloud/install_on_ibexa_cloud.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,19 @@ You can set this token as an environment variable.
7070
When you do, make sure the **Visible during runtime** box in Platform.sh configuration is unchecked.
7171
This ensures that the token isn't exposed.
7272

73-
![Setting token to be invisible during runtime](psh_addvariable.png)
73+
### Composer authentication using the web console
74+
75+
In **Settings** (top right gear icon) -> **Project Settings** -> **Variables** -> **+ Create variable**
76+
77+
![Setting token to be invisible during runtime](ibexa_cloud-composer_auth.png)
78+
79+
### Composer authentication using the CLI command
80+
81+
```bash
82+
ibexa_cloud variable:create --level project --name env:COMPOSER_AUTH \
83+
--json true --visible-runtime false --sensitive true --visible-build true \
84+
--value '{"http-basic": {"updates.ibexa.co": {"username": "<installation-key>", "password": "<token-password>"}}}'
85+
```
7486

7587
## 4. Push the project
7688

0 commit comments

Comments
 (0)