Skip to content

Commit d1dc7c1

Browse files
fix: update principal configuration to use custom principal identifiers
1 parent cf94f63 commit d1dc7c1

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ jobs:
2525
AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
2626
AZURE_SUBSCRIPTION_ID: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
2727
AZURE_CLIENT_SECRET: ${{ secrets.AZURE_CLIENT_SECRET }}
28-
AZURE_PRINCIPAL_ID: ${{ secrets.AZURE_PRINCIPAL_ID }}
29-
AZURE_PRINCIPAL_NAME: ${{ secrets.AZURE_PRINCIPAL_NAME }}
30-
AZURE_PRINCIPAL_TYPE: 'ServicePrincipal'
28+
CUSTOM_PRINCIPAL_ID: ${{ secrets.CUSTOM_PRINCIPAL_ID }}
29+
CUSTOM_PRINCIPAL_NAME: ${{ secrets.CUSTOM_PRINCIPAL_NAME }}
30+
CUSTOM_PRINCIPAL_TYPE: 'ServicePrincipal'
3131

3232
outputs:
3333
imageTag: ${{ steps.set-image-tag.outputs.imageTag }}
@@ -206,9 +206,9 @@ jobs:
206206
DISABLE_AUTHENTICATION=true
207207
NO_AUTH=true
208208
SKIP_AUTH=true
209-
AZURE_PRINCIPAL_ID
210-
AZURE_PRINCIPAL_NAME
211-
AZURE_PRINCIPAL_TYPE
209+
CUSTOM_PRINCIPAL_ID
210+
CUSTOM_PRINCIPAL_NAME
211+
CUSTOM_PRINCIPAL_TYPE
212212
213213
- name: Extract URLs from deployment
214214
id: extract-urls

infra/main.parameters.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
},
1111
"principal": {
1212
"value": {
13-
"id": "${AZURE_PRINCIPAL_ID}",
14-
"name": "${AZURE_PRINCIPAL_NAME}",
15-
"type": "${AZURE_PRINCIPAL_TYPE=User}"
13+
"id": "${CUSTOM_PRINCIPAL_ID}",
14+
"name": "${CUSTOM_PRINCIPAL_NAME}",
15+
"type": "${CUSTOM_PRINCIPAL_TYPE=User}"
1616
}
1717
},
1818
"appEnvironment": {

infra/main.waf.parameters.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
},
1111
"principal": {
1212
"value": {
13-
"id": "${AZURE_PRINCIPAL_ID}",
14-
"name": "${AZURE_PRINCIPAL_NAME}",
15-
"type": "${AZURE_PRINCIPAL_TYPE=User}"
13+
"id": "${CUSTOM_PRINCIPAL_ID}",
14+
"name": "${CUSTOM_PRINCIPAL_NAME}",
15+
"type": "${CUSTOM_PRINCIPAL_TYPE=User}"
1616
}
1717
},
1818
"appEnvironment": {

0 commit comments

Comments
 (0)