Class EphemeralCertificate
java.lang.Object
io.jenkins.plugins.ephemeral_credentials.EphemeralCredentialSpec
io.jenkins.plugins.ephemeral_credentials.EphemeralCertificate
- All Implemented Interfaces:
Serializable
Certificate (PKCS#12 keystore + password). Like
EphemeralSecretFile,
the keystore is collected as pasted base64 text rather than a real file
upload - see that class's javadoc for why. Decoded straight into a
SecretBytes and handed to UploadedKeyStoreSource's
SecretBytes-accepting constructor, rather than its String
overload, which does its own base64 handling internally - passing the
already-decoded bytes avoids any ambiguity about what that overload
expects.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionParameters to pass to theinputstep when this credential is missing.com.cloudbees.plugins.credentials.Credentialsmaterialize(Map<String, Object> answers) Builds the credential from theinputstep's answers, keyed by the parameter names returned fromEphemeralCredentialSpec.inputParameters().Methods inherited from class io.jenkins.plugins.ephemeral_credentials.EphemeralCredentialSpec
getDescription, getId
-
Constructor Details
-
EphemeralCertificate
-
-
Method Details
-
inputParameters
Description copied from class:EphemeralCredentialSpecParameters to pass to theinputstep when this credential is missing.input's ownmessageis the spec'sEphemeralCredentialSpec.getDescription()(falling back to a generic default), set by the caller - these are just the value-collecting fields.- Specified by:
inputParametersin classEphemeralCredentialSpec
-
materialize
Description copied from class:EphemeralCredentialSpecBuilds the credential from theinputstep's answers, keyed by the parameter names returned fromEphemeralCredentialSpec.inputParameters().- Specified by:
materializein classEphemeralCredentialSpec
-