Class ServerHostKeyMaterialFactory
java.lang.Object
org.jenkinsci.plugins.docker.commons.credentials.KeyMaterialFactory
org.jenkinsci.plugins.docker.commons.impl.ServerHostKeyMaterialFactory
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
public class ServerHostKeyMaterialFactory
extends KeyMaterialFactory
A
KeyMaterial that maintains information about the host.- Author:
- Stephen Connolly
-
Field Summary
Fields inherited from class org.jenkinsci.plugins.docker.commons.credentials.KeyMaterialFactory
NULL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionBuilds the key material environment variables needed to be passed when docker runs, to accessDockerServerCredentialsthat this object was created from.Methods inherited from class org.jenkinsci.plugins.docker.commons.credentials.KeyMaterialFactory
checkContextualized, contextualize, createSecretsDirectory, getChannel, getContext, materialize, plus
-
Constructor Details
-
ServerHostKeyMaterialFactory
-
-
Method Details
-
materialize2
Builds the key material environment variables needed to be passed when docker runs, to accessDockerServerCredentialsthat this object was created from.When you are done using the credentials, call
KeyMaterial2.close(hudson.remoting.VirtualChannel)to allow sensitive information to be removed from the disk.- Overrides:
materialize2in classKeyMaterialFactory- Throws:
IOExceptionInterruptedException
-