Class AzureServicePrincipalCredentialsConvertor

java.lang.Object
com.cloudbees.jenkins.plugins.kubernetes_credentials_provider.SecretToCredentialConverter
io.jenkins.plugins.azurecredentialsk8s.AzureServicePrincipalCredentialsConvertor
All Implemented Interfaces:
ExtensionPoint

@Extension public class AzureServicePrincipalCredentialsConvertor extends com.cloudbees.jenkins.plugins.kubernetes_credentials_provider.SecretToCredentialConverter
SecretToCredentialConvertor that converts AzureCredentials.ServicePrincipal.
  • Constructor Details

    • AzureServicePrincipalCredentialsConvertor

      public AzureServicePrincipalCredentialsConvertor()
  • Method Details

    • canConvert

      public boolean canConvert(String type)
      Specified by:
      canConvert in class com.cloudbees.jenkins.plugins.kubernetes_credentials_provider.SecretToCredentialConverter
    • convert

      public com.microsoft.azure.util.AzureCredentials convert(io.fabric8.kubernetes.api.model.Secret secret) throws com.cloudbees.jenkins.plugins.kubernetes_credentials_provider.CredentialsConvertionException
      Specified by:
      convert in class com.cloudbees.jenkins.plugins.kubernetes_credentials_provider.SecretToCredentialConverter
      Throws:
      com.cloudbees.jenkins.plugins.kubernetes_credentials_provider.CredentialsConvertionException