Class AbstractVaultBaseStandardCredentials
java.lang.Object
com.cloudbees.plugins.credentials.BaseCredentials
com.cloudbees.plugins.credentials.impl.BaseStandardCredentials
com.datapipe.jenkins.vault.credentials.common.AbstractVaultBaseStandardCredentials
- All Implemented Interfaces:
com.cloudbees.plugins.credentials.common.IdCredentials
,com.cloudbees.plugins.credentials.common.StandardCredentials
,com.cloudbees.plugins.credentials.Credentials
,ExtensionPoint
,Describable<com.cloudbees.plugins.credentials.Credentials>
,Serializable
- Direct Known Subclasses:
VaultCertificateCredentialsImpl
,VaultFileCredentialImpl
,VaultGCRLoginImpl
,VaultSSHUserPrivateKeyImpl
,VaultStringCredentialImpl
,VaultUsernamePasswordCredentialImpl
public abstract class AbstractVaultBaseStandardCredentials
extends com.cloudbees.plugins.credentials.impl.BaseStandardCredentials
Base Vault credentials that contain a
path
, prefixPath
, namespace
,
and engineVersion
.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.cloudbees.plugins.credentials.impl.BaseStandardCredentials
com.cloudbees.plugins.credentials.impl.BaseStandardCredentials.BaseStandardCredentialsDescriptor
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
Nested classes/interfaces inherited from interface com.cloudbees.plugins.credentials.common.IdCredentials
com.cloudbees.plugins.credentials.common.IdCredentials.Helpers
Nested classes/interfaces inherited from interface com.cloudbees.plugins.credentials.common.StandardCredentials
com.cloudbees.plugins.credentials.common.StandardCredentials.NameProvider
-
Method Summary
Modifier and TypeMethodDescriptionGet credential display name.getPath()
protected String
Look up secret key value.Look up the secret key:value map.void
setContext
(ItemGroup context) void
setEngineVersion
(Integer engineVersion) void
setNamespace
(String namespace) void
void
setPrefixPath
(String prefixPath) Methods inherited from class com.cloudbees.plugins.credentials.impl.BaseStandardCredentials
equals, getDescription, getId, hashCode
Methods inherited from class com.cloudbees.plugins.credentials.BaseCredentials
getDescriptor, getScope
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.cloudbees.plugins.credentials.Credentials
getDescriptor, getScope
-
Method Details
-
getPrefixPath
-
setPrefixPath
-
getPath
-
setPath
-
getNamespace
-
setNamespace
-
getEngineVersion
-
setEngineVersion
-
setContext
-
getContext
-
getVaultSecretKeyValue
Look up secret key value.- Parameters:
key
- secret key name- Returns:
- vault secret value
-
getVaultSecretValue
Look up the secret key:value map.- Returns:
- vault secret value
-
getDisplayName
Get credential display name. Defaults to secret path.- Returns:
- display name
-