Skip to content

Commit

Permalink
Now using GCP Secret Manager instead of Vault.
Browse files Browse the repository at this point in the history
  • Loading branch information
rfc3092 committed Oct 17, 2024
1 parent 2828eea commit cdfd861
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 16 deletions.
1 change: 0 additions & 1 deletion apps/budpro-service/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ dependencies {
implementation "no.nav.testnav.libs:servlet-core"
implementation "no.nav.testnav.libs:servlet-insecure-security"
implementation "no.nav.testnav.libs:servlet-security"
implementation "no.nav.testnav.libs:vault"

implementation "org.springdoc:springdoc-openapi-starter-webmvc-ui:$versions.springdoc"
implementation "org.springframework.boot:spring-boot-starter-oauth2-client"
Expand Down

This file was deleted.

8 changes: 3 additions & 5 deletions apps/budpro-service/src/main/resources/application-local.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
spring:
cloud:
vault:
host: vault.adeo.no
port: 443
config:
import: "sm://"
security:
oauth2:
resourceserver:
aad:
accepted-audience: ${azure.app.client.id}, api://${azure.app.client.id}
accepted-audience: ${sm://azureAppClientId}, api://${sm://azureAppClientId}

management:
endpoints:
Expand Down

0 comments on commit cdfd861

Please sign in to comment.