Class KubernetesSourcedCredential

java.lang.Object
com.cloudbees.jenkins.plugins.kubernetes_credentials_provider.KubernetesSourcedCredential

public class KubernetesSourcedCredential extends Object
Stores a credential that was sourced from a kubernetes secret. Metadata that was passed via labels should be stored here.
  • Constructor Details

    • KubernetesSourcedCredential

      public KubernetesSourcedCredential(com.cloudbees.plugins.credentials.common.IdCredentials idCredentials, Set<String> itemGroups)
  • Method Details

    • getIdCredentials

      public com.cloudbees.plugins.credentials.common.IdCredentials getIdCredentials()
    • getItemGroups

      public Set<String> getItemGroups()
    • getId

      public String getId()
    • getScope

      @Nullable public com.cloudbees.plugins.credentials.CredentialsScope getScope()