Class VaultMount
java.lang.Object
org.springframework.vault.support.VaultMount
Value object to bind Vault HTTP Mount API requests/responses.
A VaultMount
represents an auth or secret mount with its config details.
Instances of this class are immutable once constructed.
- Author:
- Mark Paluch, Maciej Drozdzowski
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic VaultMount.VaultMountBuilder
builder()
static VaultMount
Create a newVaultMount
given atype
.getType()
-
Method Details
-
create
Create a newVaultMount
given atype
.- Parameters:
type
- backend type, must not be empty or null.- Returns:
- the created
VaultMount
.
-
builder
- Returns:
- a new
VaultMount.VaultMountBuilder
.
-
getType
- Returns:
- the backend type.
-
getDescription
- Returns:
- human readable description of this mount.
-
getConfig
- Returns:
- additional configuration details.
-
getOptions
- Returns:
- mount type specific options.
- Since:
- 2.2
-