Skip to content

Commit

Permalink
WIP use cluster service key vault
Browse files Browse the repository at this point in the history
  • Loading branch information
janboll committed Sep 2, 2024
1 parent 13ab24c commit 1a56f83
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions dev-infrastructure/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,11 @@ cleanup-orphaned-rolebindings:
first-party-identity: # hardcoded name, since there should be only one in the global RG
az deployment group create \
--name "aro-hcp-dev-first-party" \
--resource-group $(GLOBAL_RESOURCEGROUP) \
--resource-group $(RESOURCEGROUP) \
--template-file templates/first-party-identity.bicep $(PROMPT_TO_CONFIRM) \
--parameters configurations/mvp-first-party.bicepparam
APPLICATION_NAME=aro-hcp-dev-first-party \
KEY_VAULT_NAME=aro-hcp-dev-global-kv \
KEY_VAULT_NAME=service-kv-aro-hcp-dev \
CERTIFICATE_NAME=firstPartyMock \
ROLE_DEFINITION_NAME=dev-first-party-mock \
SUBSCRIPTION_ID=$(shell az account show --query id --output tsv) \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using '../templates/first-party-identity.bicep'

param kvCertOfficerManagedIdentityName = 'aro-hcp-dev-first-party'
param globalKeyVaultName = 'aro-hcp-dev-global-kv'
param globalKeyVaultName = 'service-kv-aro-hcp-dev'
1 change: 1 addition & 0 deletions dev-infrastructure/modules/first-party-identity.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ resource customRole 'Microsoft.Authorization/roleDefinitions@2022-04-01' = {
assignableScopes: [
subscription().id
subscriptionResourceId('Microsoft.Resources/resourceGroups/', 'global')
subscriptionResourceId('Microsoft.Resources/resourceGroups/', 'aro-hcp-dev-westus3-sc')
]
}
}

0 comments on commit 1a56f83

Please sign in to comment.