From 7275a2ce19d3c3f222f9507f304170eaee51d2b8 Mon Sep 17 00:00:00 2001
From: buildmaster The profiles are determined by the properties: Secrets can be obtained from other contexts within the key-value backend by adding their paths to the application name, separated by commas.
For example, given the application name
+
+spring.cloud.vault.kv.profilesspring.profiles.activeusefulapp,mysql1,projectx/aws, each of these folders will be used:
data/ context between the mount path and the actual context path.
+Spring Cloud Vault adds the data/ context between the mount path and the actual context path depending on whether the mount uses the versioned key-value backend.
data/ context between the mount path an
backend: secret
profile-separator: '/'
default-context: application
- application-name: my-app
+ application-name: my-app
+ profiles: local, cloud
@@ -1785,6 +1799,9 @@ Spring Cloud Vault adds the data/ context between the mount path an
application-name overrides the application name for use in the key-value backend
profiles overrides the active profiles for use in the key-value backend
profile-separator separates the profile name from the context in property sources with profiles
The profiles are determined by the properties:
+spring.cloud.vault.kv.profiles
spring.profiles.active
Secrets can be obtained from other contexts within the key-value backend by adding their paths to the application name, separated by commas.
For example, given the application name usefulapp,mysql1,projectx/aws, each of these folders will be used:
data/ context between the mount path and the actual context path.
+Spring Cloud Vault adds the data/ context between the mount path and the actual context path depending on whether the mount uses the versioned key-value backend.
data/ context between the mount path an
backend: secret
profile-separator: '/'
default-context: application
- application-name: my-app
+ application-name: my-app
+ profiles: local, cloud
@@ -1785,6 +1799,9 @@ Spring Cloud Vault adds the data/ context between the mount path an
application-name overrides the application name for use in the key-value backend
profiles overrides the active profiles for use in the key-value backend
profile-separator separates the profile name from the context in property sources with profiles