public class KsmCredential
extends com.cloudbees.plugins.credentials.impl.BaseStandardCredentials
| Modifier and Type | Class and Description |
|---|---|
static class |
KsmCredential.DescriptorImpl |
com.cloudbees.plugins.credentials.impl.BaseStandardCredentials.BaseStandardCredentialsDescriptorcom.cloudbees.plugins.credentials.common.StandardCredentials.NameProvidercom.cloudbees.plugins.credentials.common.IdCredentials.HelpersExtensionPoint.LegacyInstancesAreScopedToHudson| Modifier and Type | Field and Description |
|---|---|
static String |
tokenErrorPrefix |
static int |
tokenHashLength |
| Constructor and Description |
|---|
KsmCredential(com.cloudbees.plugins.credentials.CredentialsScope scope,
String id,
String description,
String token,
Secret clientId,
Secret privateKey,
Secret appKey,
String hostname,
boolean skipSslVerification,
boolean allowConfigInject) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getAllowConfigInject() |
Secret |
getAppKey() |
Secret |
getClientId() |
String |
getCredentialError() |
static KsmCredential |
getCredentialFromId(String credentialId) |
String |
getHostname() |
Secret |
getPrivateKey() |
boolean |
getSkipSslVerification() |
String |
getToken() |
equals, getDescription, getId, hashCodegetDescriptor, getScopepublic static final String tokenErrorPrefix
public static final int tokenHashLength
public String getToken()
public Secret getClientId()
public Secret getPrivateKey()
public Secret getAppKey()
public String getHostname()
public boolean getSkipSslVerification()
public boolean getAllowConfigInject()
public String getCredentialError()
public static KsmCredential getCredentialFromId(String credentialId) throws Exception
ExceptionCopyright © 2016–2021. All rights reserved.