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