Class ServiceAccountCredential

  • 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, org.jenkinsci.plugins.kubernetes.credentials.TokenProducer, org.jenkinsci.plugins.plaincredentials.StringCredentials

    @Deprecated
    public class ServiceAccountCredential
    extends org.jenkinsci.plugins.kubernetes.credentials.FileSystemServiceAccountCredential
    Deprecated.
    Read the OAuth bearer token from service account file provisioned by kubernetes Service Account Admission Controller when Jenkins itself is deployed inside a Pod.
    Author:
    Nicolas De Loof
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.jenkinsci.plugins.kubernetes.credentials.FileSystemServiceAccountCredential

        org.jenkinsci.plugins.kubernetes.credentials.FileSystemServiceAccountCredential.DescriptorImpl
      • Nested classes/interfaces inherited from class com.cloudbees.plugins.credentials.impl.BaseStandardCredentials

        com.cloudbees.plugins.credentials.impl.BaseStandardCredentials.BaseStandardCredentialsDescriptor
      • Nested classes/interfaces inherited from interface com.cloudbees.plugins.credentials.common.IdCredentials

        com.cloudbees.plugins.credentials.common.IdCredentials.Helpers
      • Nested classes/interfaces inherited from interface com.cloudbees.plugins.credentials.common.StandardCredentials

        com.cloudbees.plugins.credentials.common.StandardCredentials.NameProvider
      • Nested classes/interfaces inherited from interface org.jenkinsci.plugins.plaincredentials.StringCredentials

        org.jenkinsci.plugins.plaincredentials.StringCredentials.NameProvider
    • Constructor Summary

      Constructors 
      Constructor Description
      ServiceAccountCredential​(com.cloudbees.plugins.credentials.CredentialsScope scope, String id, String description)
      Deprecated.
       
    • Method Summary

      • Methods inherited from class org.jenkinsci.plugins.kubernetes.credentials.FileSystemServiceAccountCredential

        getSecret, getToken
      • Methods inherited from class com.cloudbees.plugins.credentials.impl.BaseStandardCredentials

        equals, getDescription, getId, hashCode
      • Methods inherited from class com.cloudbees.plugins.credentials.BaseCredentials

        getDescriptor, getScope
      • Methods inherited from interface com.cloudbees.plugins.credentials.Credentials

        forRun, getDescriptor, getScope
      • Methods inherited from interface com.cloudbees.plugins.credentials.common.IdCredentials

        getId
      • Methods inherited from interface com.cloudbees.plugins.credentials.common.StandardCredentials

        getDescription
    • Constructor Detail

      • ServiceAccountCredential

        @DataBoundConstructor
        public ServiceAccountCredential​(com.cloudbees.plugins.credentials.CredentialsScope scope,
                                        String id,
                                        String description)
        Deprecated.