Class VaultSecretValue

java.lang.Object
hudson.model.AbstractDescribableImpl<VaultSecretValue>
com.datapipe.jenkins.vault.model.VaultSecretValue
All Implemented Interfaces:
Describable<VaultSecretValue>

public class VaultSecretValue extends AbstractDescribableImpl<VaultSecretValue>
Author:
Peter Tierno <ptierno@datapipe.com>
  • Constructor Details

    • VaultSecretValue

      @Deprecated public VaultSecretValue(String envVar, @NonNull String vaultKey)
      Deprecated.
    • VaultSecretValue

      @DataBoundConstructor public VaultSecretValue(@NonNull String vaultKey)
  • Method Details

    • setEnvVar

      @DataBoundSetter public void setEnvVar(String envVar)
    • setIsRequired

      @DataBoundSetter public void setIsRequired(boolean isRequired)
    • getEnvVar

      public String getEnvVar()
      Returns:
      envVar if value is not empty otherwise return vaultKey
    • getVaultKey

      public String getVaultKey()
    • getIsRequired

      public boolean getIsRequired()