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
.-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canConvert
(String type) com.microsoft.azure.util.AzureImdsCredentials
convert
(io.fabric8.kubernetes.api.model.Secret secret) Methods inherited from class com.cloudbees.jenkins.plugins.kubernetes_credentials_provider.SecretToCredentialConverter
all
-
Constructor Details
-
AzureManagedIdentityCredentialsConvertor
public AzureManagedIdentityCredentialsConvertor()
-
-
Method Details
-
canConvert
- Specified by:
canConvert
in classcom.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 classcom.cloudbees.jenkins.plugins.kubernetes_credentials_provider.SecretToCredentialConverter
- Throws:
com.cloudbees.jenkins.plugins.kubernetes_credentials_provider.CredentialsConvertionException
-