Skip to content

Commit

Permalink
approle authentication is fully working
Browse files Browse the repository at this point in the history
  • Loading branch information
jgoldverg committed Jun 10, 2024
1 parent ee20f11 commit b7c4b6b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 16 deletions.
16 changes: 0 additions & 16 deletions src/main/resources/bootstrap-aws.yml
Original file line number Diff line number Diff line change
@@ -1,16 +0,0 @@
spring:
application:
name: TransferService
cloud:
vault:
uri: ${VAULT_URI}
kv:
enabled: true
profile-separator: '/'
default-context: TransferService
backend: secrets
authentication: aws_iam
aws-iam:
role: aws-role
region: us-east-2
server-name: vault
15 changes: 15 additions & 0 deletions src/main/resources/bootstrap-prod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
spring:
application:
name: TransferService
cloud:
vault:
uri: ${VAULT_URI}
kv:
enabled: true
profile-separator: '/'
default-context: prod/TransferService
backend: secrets
authentication: approle
app-role:
role-id: ${VAULT_ROLE_ID}
secret-id: ${VAULT_SECRET_ID}

0 comments on commit b7c4b6b

Please sign in to comment.