Class VaultConfiguration
java.lang.Object
hudson.model.AbstractDescribableImpl<VaultConfiguration>
com.datapipe.jenkins.vault.configuration.VaultConfiguration
- All Implemented Interfaces:
Describable<VaultConfiguration>
,Serializable
public class VaultConfiguration
extends AbstractDescribableImpl<VaultConfiguration>
implements Serializable
- See Also:
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionVaultConfiguration
(VaultConfiguration toCopy) VaultConfiguration
(String vaultUrl, String vaultCredentialId, boolean failIfNotFound) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic ListBoxModel
engineVersions
(Item context) int
Number of retries when reading a secret from vaultint
The time in milliseconds in between retries when reading a secret from vaultcom.bettercloud.vault.VaultConfig
mergeWithParent
(VaultConfiguration parent) void
setDisableChildPoliciesOverride
(Boolean disableChildPoliciesOverride) void
setEngineVersion
(Integer engineVersion) void
setFailIfNotFound
(Boolean failIfNotFound) void
setPolicies
(String policies) void
setPrefixPath
(String prefixPath) void
setSkipSslVerification
(Boolean skipSslVerification) void
setTimeout
(Integer timeout) void
setVaultCredential
(VaultCredential vaultCredential) void
setVaultCredentialId
(String vaultCredentialId) void
setVaultNamespace
(String vaultNamespace) void
setVaultUrl
(String vaultUrl) Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Constructor Details
-
VaultConfiguration
@DataBoundConstructor public VaultConfiguration() -
VaultConfiguration
@Deprecated public VaultConfiguration(String vaultUrl, String vaultCredentialId, boolean failIfNotFound) Deprecated. -
VaultConfiguration
-
-
Method Details
-
mergeWithParent
-
getVaultUrl
-
getVaultCredentialId
-
getVaultCredential
-
setVaultUrl
-
setVaultCredentialId
-
setVaultCredential
-
getFailIfNotFound
-
setFailIfNotFound
-
getSkipSslVerification
-
setSkipSslVerification
-
getEngineVersion
-
setEngineVersion
-
getVaultNamespace
-
setVaultNamespace
-
getPrefixPath
-
setPrefixPath
-
getPolicies
-
setPolicies
-
getDisableChildPoliciesOverride
-
setDisableChildPoliciesOverride
-
getTimeout
-
setTimeout
-
getMaxRetries
public int getMaxRetries()Number of retries when reading a secret from vault- Returns:
- number of retries
-
getRetryIntervalMilliseconds
public int getRetryIntervalMilliseconds()The time in milliseconds in between retries when reading a secret from vault- Returns:
- 1000 milliseconds
-
getVaultConfig
@NonNull public com.bettercloud.vault.VaultConfig getVaultConfig() -
fixDefaults
-
engineVersions
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public static ListBoxModel engineVersions(Item context)
-