Skip to content

Commit

Permalink
install_on_ibexa_cloud.md: Details Composer authentication
Browse files Browse the repository at this point in the history
  • Loading branch information
adriendupuis committed Jan 21, 2025
1 parent 38ff639 commit 2b30a38
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/getting_started/img/psh_addvariable.png
Binary file not shown.
14 changes: 13 additions & 1 deletion docs/ibexa_cloud/install_on_ibexa_cloud.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,19 @@ You can set this token as an environment variable.
When you do, make sure the **Visible during runtime** box in Platform.sh configuration is unchecked.
This ensures that the token isn't exposed.

![Setting token to be invisible during runtime](psh_addvariable.png)
### Composer authentication using the web console

In **Settings** (top right gear icon) -> **Project Settings** -> **Variables** -> **+ Create variable**

![Setting token to be invisible during runtime](ibexa_cloud-composer_auth.png)

### Composer authentication using the CLI command

```bash
ibexa_cloud variable:create --level project --name env:COMPOSER_AUTH \
--json true --visible-runtime false --sensitive true --visible-build true \
--value '{"http-basic": {"updates.ibexa.co": {"username": "<installation-key>", "password": "<token-password>"}}}'
```

## 4. Push the project

Expand Down

0 comments on commit 2b30a38

Please sign in to comment.