Package io.quarkus.vault.sys
Class EnableEngineOptions
- java.lang.Object
-
- io.quarkus.vault.sys.EnableEngineOptions
-
public class EnableEngineOptions extends Object
Options for enabling a new secret engine.
-
-
Field Summary
Fields Modifier and Type Field Description List<String>allowedManagedKeysList of managed key registry entry names that the mount in question is allowed to access.List<String>allowedResponseHeadersList of headers to allow, allowing a plugin to include them in the response.List<String>auditNonHMACRequestKeysList of keys that will not be HMAC'd by audit devices in the request data object.List<String>auditNonHMACResponseKeysList of keys that will not be HMAC'd by audit devices in the response data object.StringdefaultLeaseTimeToLiveDefault lease duration.BooleanforceNoCacheDisable cachingEngineListingVisibilitylistingVisibilitySpecifies whether to show this mount in the UI-specific listing endpoint.StringmaxLeaseTimeToLiveMax lease duration.Map<String,String>optionsEngine specific mount optionsList<String>passthroughRequestHeadersList of headers to allow and pass from the request to the plugin.StringpluginVersionSpecifies the semantic version of the plugin to use, e.g.
-
Constructor Summary
Constructors Constructor Description EnableEngineOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EnableEngineOptionssetAllowedManagedKeys(List<String> allowedManagedKeys)EnableEngineOptionssetAllowedResponseHeaders(List<String> allowedResponseHeaders)EnableEngineOptionssetAuditNonHMACRequestKeys(List<String> auditNonHMACRequestKeys)EnableEngineOptionssetAuditNonHMACResponseKeys(List<String> auditNonHMACResponseKeys)EnableEngineOptionssetDefaultLeaseTimeToLive(String defaultLeaseTimeToLive)EnableEngineOptionssetForceNoCache(Boolean forceNoCache)EnableEngineOptionssetListingVisibility(EngineListingVisibility listingVisibility)EnableEngineOptionssetMaxLeaseTimeToLive(String maxLeaseTimeToLive)EnableEngineOptionssetOptions(Map<String,String> options)EnableEngineOptionssetPassthroughRequestHeaders(List<String> passthroughRequestHeaders)EnableEngineOptionssetPluginVersion(String pluginVersion)
-
-
-
Field Detail
-
defaultLeaseTimeToLive
public String defaultLeaseTimeToLive
Default lease duration.
-
maxLeaseTimeToLive
public String maxLeaseTimeToLive
Max lease duration.
-
forceNoCache
public Boolean forceNoCache
Disable caching
-
auditNonHMACRequestKeys
public List<String> auditNonHMACRequestKeys
List of keys that will not be HMAC'd by audit devices in the request data object.
-
auditNonHMACResponseKeys
public List<String> auditNonHMACResponseKeys
List of keys that will not be HMAC'd by audit devices in the response data object.
-
listingVisibility
public EngineListingVisibility listingVisibility
Specifies whether to show this mount in the UI-specific listing endpoint. Valid values are "unauth" or "hidden". If not set, behaves like "hidden".
-
passthroughRequestHeaders
public List<String> passthroughRequestHeaders
List of headers to allow and pass from the request to the plugin.
-
allowedResponseHeaders
public List<String> allowedResponseHeaders
List of headers to allow, allowing a plugin to include them in the response.
-
pluginVersion
public String pluginVersion
Specifies the semantic version of the plugin to use, e.g. "v1.0.0". If unspecified, the server will select any matching unversioned plugin that may have been registered, the latest versioned plugin registered, or a built-in plugin in that order of precendence.
-
allowedManagedKeys
public List<String> allowedManagedKeys
List of managed key registry entry names that the mount in question is allowed to access.
-
-
Method Detail
-
setDefaultLeaseTimeToLive
public EnableEngineOptions setDefaultLeaseTimeToLive(String defaultLeaseTimeToLive)
-
setMaxLeaseTimeToLive
public EnableEngineOptions setMaxLeaseTimeToLive(String maxLeaseTimeToLive)
-
setForceNoCache
public EnableEngineOptions setForceNoCache(Boolean forceNoCache)
-
setAuditNonHMACRequestKeys
public EnableEngineOptions setAuditNonHMACRequestKeys(List<String> auditNonHMACRequestKeys)
-
setAuditNonHMACResponseKeys
public EnableEngineOptions setAuditNonHMACResponseKeys(List<String> auditNonHMACResponseKeys)
-
setListingVisibility
public EnableEngineOptions setListingVisibility(EngineListingVisibility listingVisibility)
-
setPassthroughRequestHeaders
public EnableEngineOptions setPassthroughRequestHeaders(List<String> passthroughRequestHeaders)
-
setAllowedResponseHeaders
public EnableEngineOptions setAllowedResponseHeaders(List<String> allowedResponseHeaders)
-
setPluginVersion
public EnableEngineOptions setPluginVersion(String pluginVersion)
-
setAllowedManagedKeys
public EnableEngineOptions setAllowedManagedKeys(List<String> allowedManagedKeys)
-
setOptions
public EnableEngineOptions setOptions(Map<String,String> options)
-
-