Package com.thycotic.secrets.jenkins
Class VaultSecret
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<VaultSecret>
-
- com.thycotic.secrets.jenkins.VaultSecret
-
- All Implemented Interfaces:
Describable<VaultSecret>
public class VaultSecret extends AbstractDescribableImpl<VaultSecret>
A DevOps Secrets Vault Secret, identified by it's tenant and path, and a list of mappings from the secret's data fields to environment variables.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VaultSecret.DescriptorImpl
static class
VaultSecret.Mapping
-
Constructor Summary
Constructors Constructor Description VaultSecret(String path, List<VaultSecret.Mapping> mappings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCredentialId()
List<VaultSecret.Mapping>
getMappings()
String
getPath()
String
getTenant()
String
getTld()
void
setCredentialId(String credentialId)
void
setTenant(String tenant)
void
setTld(String tld)
-
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
-
-
-
Constructor Detail
-
VaultSecret
@DataBoundConstructor public VaultSecret(String path, List<VaultSecret.Mapping> mappings)
-
-
Method Detail
-
getPath
public String getPath()
-
getMappings
public List<VaultSecret.Mapping> getMappings()
-
getCredentialId
public String getCredentialId()
-
setCredentialId
@DataBoundSetter public void setCredentialId(String credentialId)
-
getTenant
public String getTenant()
-
setTenant
@DataBoundSetter public void setTenant(String tenant)
-
getTld
public String getTld()
-
setTld
@DataBoundSetter public void setTld(String tld)
-
-