Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ Before you can run the `deploy_tre.yml` workflow there are some one-time configu

1. Configure federated identity credentials for GitHub Actions OIDC

Configure the service principal to trust GitHub Actions OIDC tokens from your repository:
Configure the service principal to trust GitHub Actions OIDC tokens from your repository. The `--id` parameter expects the `appId` (application/client ID) returned from the previous step:

```cmd
az ad app federated-credential create --id <APPLICATION_OBJECT_ID> --parameters credential.json
az ad app federated-credential create --id <appId> --parameters credential.json
```

Where `credential.json` contains (replace `OWNER`, `REPO`, and `ENVIRONMENT` with your values):
Expand Down
4 changes: 2 additions & 2 deletions docs/tre-admins/setup-instructions/workflows.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ Before you can run the `deploy_tre.yml` workflow there are some one-time configu

1. Configure federated identity credentials for GitHub Actions OIDC

Configure the service principal to trust GitHub Actions OIDC tokens from your repository:
Configure the service principal to trust GitHub Actions OIDC tokens from your repository. The `--id` parameter expects the `appId` (application/client ID) returned from the previous step:

```cmd
az ad app federated-credential create --id <APPLICATION_OBJECT_ID> --parameters credential.json
az ad app federated-credential create --id <appId> --parameters credential.json
```

Where `credential.json` contains (replace `OWNER`, `REPO`, and `ENVIRONMENT` with your values):
Expand Down