Class EphemeralSecretFile
java.lang.Object
io.jenkins.plugins.ephemeral_credentials.EphemeralCredentialSpec
io.jenkins.plugins.ephemeral_credentials.EphemeralSecretFile
- All Implemented Interfaces:
Serializable
Secret file. There's no clean way to have
input collect a genuine
file upload here -- FileParameterDefinition writes the uploaded
file to disk as part of its own normal handling, in direct tension with
this plugin's "never persisted" design -- so the value is collected as
pasted base64-encoded text and served from memory instead.- 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
-
EphemeralSecretFile
-
-
Method Details
-
getFileName
-
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
-