Class 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 Detail

      • KubernetesSourcedCredential

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

      • 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()