Skip to content

Commit

Permalink
Key vault integration
Browse files Browse the repository at this point in the history
  • Loading branch information
vimal-knoldus committed Oct 4, 2023
1 parent 0cc95d2 commit e0577f5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion admin-service/azure-deploy-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ spec:
protocol: TCP
env:
- name: COSMOS_KEY
value: IfSwYCdJNGer4D50MjuL74MTP1dzbNcQyKJ62mqxzruLfiAniOkW3QXFxsMhcEkNjyQMMN6oT6QRACDblrDAFQ==
valueFrom:
secretKeyRef:
name: ntdemokeyvault
key: COSMOS-KEY
- name: COSMOS_URI
value: https://az-nashtech-db.documents.azure.com:443/
- name: KAFKA_SERVER
Expand Down
2 changes: 1 addition & 1 deletion admin-service/src/main/resources/application-cosmos.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cosmosdb:
key: ${COSMOS_KEY}
key: ${COSMOS-KEY}
uri: ${COSMOS_URI}
name: az-nashtech-db
container-name: az-car-collection
Expand Down

0 comments on commit e0577f5

Please sign in to comment.