@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public final class NullKeyMaterialFactory extends KeyMaterialFactory
KeyMaterialFactory that does nothing.KeyMaterial.NULL,
Serialized FormNULL| Constructor and Description |
|---|
NullKeyMaterialFactory() |
| Modifier and Type | Method and Description |
|---|---|
KeyMaterial |
materialize()
Builds the key material environment variables needed to be passed when docker runs, to access
DockerServerCredentials that this object was created from. |
checkContextualized, contextualize, getContext, pluspublic KeyMaterial materialize() throws IOException, InterruptedException
KeyMaterialFactoryDockerServerCredentials that this object was created from.
When you are done using the credentials, call KeyMaterial.close() to allow sensitive
information to be removed from the disk.
materialize in class KeyMaterialFactoryIOExceptionInterruptedExceptionCopyright © 2004-2015. All Rights Reserved.