Skip to content

Commit

Permalink
test backend / provider oidc settings
Browse files Browse the repository at this point in the history
  • Loading branch information
mmcfarland committed May 2, 2024
1 parent 91fe97d commit 2755a18
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Planetary Computer APIs CI/CD

on:
push:
branches: [remove-secret-from-cicd]
branches: [user/mjm/remove-secret-from-cicd-test]
tags: ["*"]

permissions:
Expand Down Expand Up @@ -85,4 +85,4 @@ jobs:
ARM_SUBSCRIPTION_ID: ${{ fromJSON(secrets.SECURE_AZURE_CREDENTIALS).subscriptionId }}
ARM_TENANT_ID: ${{ fromJSON(secrets.SECURE_AZURE_CREDENTIALS).tenantId }}
ARM_USE_OIDC: true
# ARM_CLIENT_SECRET: ${{ fromJSON(secrets.AZURE_CREDENTIALS).clientSecret }}
# ARM_CLIENT_SECRET: ${{ fromJSON(secrets.AZURE_CREDENTIALS).clientSecret }}
3 changes: 3 additions & 0 deletions deployment/terraform/staging/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ terraform {
storage_account_name = "pctesttfstate"
container_name = "pc-test-api"
key = "pqe-apis.tfstate"

use_azuread_auth = true
use_oidc = true
}
}

Expand Down

0 comments on commit 2755a18

Please sign in to comment.