Class DockerServerCredentials
java.lang.Object
com.cloudbees.plugins.credentials.BaseCredentials
com.cloudbees.plugins.credentials.impl.BaseStandardCredentials
org.jenkinsci.plugins.docker.commons.credentials.DockerServerCredentials
- 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
public class DockerServerCredentials
extends com.cloudbees.plugins.credentials.impl.BaseStandardCredentials
Represents the connection details to talk to a TLS server, which involves
 endpoint URI, optional client secret key & certificate, and optional CA certificate
 to verify the server.
- Author:
- Kohsuke Kawaguchi
- See Also:
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class com.cloudbees.plugins.credentials.impl.BaseStandardCredentialscom.cloudbees.plugins.credentials.impl.BaseStandardCredentials.BaseStandardCredentialsDescriptorNested classes/interfaces inherited from interface hudson.ExtensionPointExtensionPoint.LegacyInstancesAreScopedToHudsonNested classes/interfaces inherited from interface com.cloudbees.plugins.credentials.common.IdCredentialscom.cloudbees.plugins.credentials.common.IdCredentials.HelpersNested classes/interfaces inherited from interface com.cloudbees.plugins.credentials.common.StandardCredentialscom.cloudbees.plugins.credentials.common.StandardCredentials.NameProvider
- 
Constructor SummaryConstructorsConstructorDescriptionDockerServerCredentials(com.cloudbees.plugins.credentials.CredentialsScope scope, String id, String description, Secret clientKeySecret, String clientCertificate, String serverCaCertificate) DockerServerCredentials(com.cloudbees.plugins.credentials.CredentialsScope scope, String id, String description, String clientKey, String clientCertificate, String serverCaCertificate) Deprecated.
- 
Method SummaryModifier and TypeMethodDescriptionGets the PEM formatted client certificate.Deprecated.Gets the PEM formatted secret key to identify the client.Gets the PEM formatted server certificate.Methods inherited from class com.cloudbees.plugins.credentials.impl.BaseStandardCredentialsequals, getDescription, getId, hashCodeMethods inherited from class com.cloudbees.plugins.credentials.BaseCredentialsgetDescriptor, getScopeMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cloudbees.plugins.credentials.CredentialsforRun, getDescriptor, getScope
- 
Constructor Details
- 
Method Details- 
getClientKeyDeprecated.
- 
getClientKeySecretGets the PEM formatted secret key to identify the client. The--tlskeyoption in docker(1)- Returns:
- null if there's no authentication
 
- 
getClientCertificateGets the PEM formatted client certificate. The--tlscertoption in docker(1).- Returns:
- null if there's no authentication
 
- 
getServerCaCertificateGets the PEM formatted server certificate. The--tlscacertoption in docker(1).- Returns:
- null if there's no authentication
 
 
- 
DockerServerCredentials(CredentialsScope, String, String, Secret, String, String)