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
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic VaultMount.VaultMountBuilderbuilder()static VaultMountCreate a newVaultMountgiven atype.@Nullable StringgetType()
-
Method Details
-
create
Create a newVaultMountgiven 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
-