Class KsmCredential

java.lang.Object
com.cloudbees.plugins.credentials.BaseCredentials
com.cloudbees.plugins.credentials.impl.BaseStandardCredentials
io.jenkins.plugins.ksm.credential.KsmCredential
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 KsmCredential extends com.cloudbees.plugins.credentials.impl.BaseStandardCredentials
See Also:
  • Field Details

  • Constructor Details

    • KsmCredential

      @DataBoundConstructor public KsmCredential(com.cloudbees.plugins.credentials.CredentialsScope scope, String id, String description, @CheckForNull String token, Secret clientId, Secret privateKey, Secret appKey, String hostname, boolean skipSslVerification, boolean allowConfigInject)
  • Method Details

    • getToken

      public String getToken()
    • getClientId

      public Secret getClientId()
    • getPrivateKey

      public Secret getPrivateKey()
    • getAppKey

      public Secret getAppKey()
    • getHostname

      public String getHostname()
    • getSkipSslVerification

      public boolean getSkipSslVerification()
    • getAllowConfigInject

      public boolean getAllowConfigInject()
    • getCredentialError

      public String getCredentialError()
    • getCredentialFromId

      public static KsmCredential getCredentialFromId(String credentialId, Item item) throws Exception
      Throws:
      Exception