Class AzureManagedIdentityCredentialsConvertor

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

@Extension public class AzureManagedIdentityCredentialsConvertor extends com.cloudbees.jenkins.plugins.kubernetes_credentials_provider.SecretToCredentialConverter
SecretToCredentialConvertor that converts AzureImdsCredentials.
  • Constructor Details

    • AzureManagedIdentityCredentialsConvertor

      public AzureManagedIdentityCredentialsConvertor()
  • 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.AzureImdsCredentials 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