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:
  • Constructor Details

    • VaultConfiguration

      @DataBoundConstructor public VaultConfiguration()
    • VaultConfiguration

      @Deprecated public VaultConfiguration(String vaultUrl, String vaultCredentialId, boolean failIfNotFound)
      Deprecated.
    • VaultConfiguration

      public VaultConfiguration(VaultConfiguration toCopy)
  • Method Details

    • mergeWithParent

      public VaultConfiguration mergeWithParent(VaultConfiguration parent)
    • getVaultUrl

      public String getVaultUrl()
    • getVaultCredentialId

      public String getVaultCredentialId()
    • getVaultCredential

      public VaultCredential getVaultCredential()
    • setVaultUrl

      @DataBoundSetter public void setVaultUrl(String vaultUrl)
    • setVaultCredentialId

      @DataBoundSetter public void setVaultCredentialId(String vaultCredentialId)
    • setVaultCredential

      @DataBoundSetter public void setVaultCredential(VaultCredential vaultCredential)
    • getFailIfNotFound

      public Boolean getFailIfNotFound()
    • setFailIfNotFound

      @DataBoundSetter public void setFailIfNotFound(Boolean failIfNotFound)
    • getSkipSslVerification

      public Boolean getSkipSslVerification()
    • setSkipSslVerification

      @DataBoundSetter public void setSkipSslVerification(Boolean skipSslVerification)
    • getEngineVersion

      public Integer getEngineVersion()
    • setEngineVersion

      @DataBoundSetter public void setEngineVersion(Integer engineVersion)
    • getVaultNamespace

      public String getVaultNamespace()
    • setVaultNamespace

      @DataBoundSetter public void setVaultNamespace(String vaultNamespace)
    • getPrefixPath

      public String getPrefixPath()
    • setPrefixPath

      @DataBoundSetter public void setPrefixPath(String prefixPath)
    • getPolicies

      public String getPolicies()
    • setPolicies

      @DataBoundSetter public void setPolicies(String policies)
    • getDisableChildPoliciesOverride

      public Boolean getDisableChildPoliciesOverride()
    • setDisableChildPoliciesOverride

      @DataBoundSetter public void setDisableChildPoliciesOverride(Boolean disableChildPoliciesOverride)
    • getTimeout

      public Integer getTimeout()
    • setTimeout

      @DataBoundSetter public void setTimeout(Integer timeout)
    • 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

      public VaultConfiguration fixDefaults()
    • engineVersions

      @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public static ListBoxModel engineVersions(Item context)