You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/java/com/bettercloud/vault/VaultConfig.java
+16Lines changed: 16 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -50,6 +50,8 @@ public class VaultConfig implements Serializable {
50
50
privateintretryIntervalMilliseconds;
51
51
@Getter
52
52
privateIntegerglobalEngineVersion;
53
+
@Getter
54
+
privateStringnameSpace;
53
55
privateEnvironmentLoaderenvironmentLoader;
54
56
55
57
/**
@@ -73,6 +75,20 @@ public VaultConfig environmentLoader(final EnvironmentLoader environmentLoader)
73
75
returnthis;
74
76
}
75
77
78
+
/**
79
+
* <p>Optional. Sets a global namespace to the Vault server instance, if desired. Otherwise, namespace can be applied individually to any read / write / auth call.
80
+
*
81
+
* <p>Namespace support requires Vault Enterprise Pro, please see https://learn.hashicorp.com/vault/operations/namespaces</p>
82
+
*
83
+
* @param nameSpace The namespace to use globally in this VaultConfig instance.
84
+
* @return This object, with the namespace populated, ready for additional builder-pattern method calls or else
0 commit comments