public class AzureCredentials extends AzureBaseCredentials
| Modifier and Type | Class and Description |
|---|---|
static class |
AzureCredentials.DescriptorImpl |
static class |
AzureCredentials.ServicePrincipal |
static class |
AzureCredentials.ValidationException |
com.cloudbees.plugins.credentials.impl.BaseStandardCredentials.BaseStandardCredentialsDescriptorcom.cloudbees.plugins.credentials.common.StandardCredentials.NameProvider| Constructor and Description |
|---|
AzureCredentials(com.cloudbees.plugins.credentials.CredentialsScope scope,
String id,
String description,
String subscriptionId,
String clientId,
String clientSecret) |
AzureCredentials(com.cloudbees.plugins.credentials.CredentialsScope scope,
String id,
String description,
String subscriptionId,
String clientId,
String clientSecret,
String oauth2TokenEndpoint,
String serviceManagementURL,
String authenticationEndpoint,
String resourceManagerEndpoint,
String graphEndpoint)
Deprecated.
Leave for backward compatibility.
|
serializeToTokenDataequals, getDescription, getId, hashCodegetDescriptor, getScope@DataBoundConstructor
public AzureCredentials(com.cloudbees.plugins.credentials.CredentialsScope scope,
String id,
String description,
String subscriptionId,
String clientId,
String clientSecret)
@Deprecated public AzureCredentials(com.cloudbees.plugins.credentials.CredentialsScope scope, String id, String description, String subscriptionId, String clientId, String clientSecret, String oauth2TokenEndpoint, String serviceManagementURL, String authenticationEndpoint, String resourceManagerEndpoint, String graphEndpoint)
@Deprecated public static AzureCredentials.ServicePrincipal getServicePrincipal(String credentialsId)
public static com.microsoft.azure.keyvault.authentication.KeyVaultCredentials getCredentialById(String credentialId)
public String getSubscriptionId()
public String getClientId()
public String getClientSecret()
public String getPlainClientSecret()
@DataBoundSetter public void setCertificateId(String certificateId)
public String getCertificateId()
public String getTenant()
@DataBoundSetter public void setTenant(String tenant)
@Deprecated public String getOauth2TokenEndpoint()
@DataBoundSetter @Deprecated public void setOauth2TokenEndpoint(String oauth2TokenEndpoint)
oauth2TokenEndpoint - the endpoint value in the form "https://login.windows.net/<TenantId>"@Deprecated public String getAzureEnvionmentName()
public String getAzureEnvironmentName()
getAzureEnvironmentName in class AzureBaseCredentials@DataBoundSetter public void setAzureEnvironmentName(String azureEnvironmentName)
@Deprecated public String getServiceManagementURL()
getManagementEndpoint().public String getManagementEndpoint()
getManagementEndpoint in class AzureBaseCredentials@DataBoundSetter @Deprecated public void setServiceManagementURL(String serviceManagementURL)
setManagementEndpoint(String).@DataBoundSetter public void setManagementEndpoint(String managementEndpoint)
@Deprecated public String getAuthenticationEndpoint()
getActiveDirectoryEndpoint().public String getActiveDirectoryEndpoint()
getActiveDirectoryEndpoint in class AzureBaseCredentials@DataBoundSetter @Deprecated public void setAuthenticationEndpoint(String authenticationEndpoint)
setActiveDirectoryEndpoint(String).@DataBoundSetter public void setActiveDirectoryEndpoint(String activeDirectoryEndpoint)
public String getResourceManagerEndpoint()
getResourceManagerEndpoint in class AzureBaseCredentials@DataBoundSetter public void setResourceManagerEndpoint(String resourceManagerEndpoint)
public String getGraphEndpoint()
getGraphEndpoint in class AzureBaseCredentialspublic com.microsoft.jenkins.azurecommons.core.credentials.TokenCredentialData createToken()
createToken in class AzureBaseCredentials@DataBoundSetter public void setGraphEndpoint(String graphEndpoint)
Copyright © 2016–2020. All rights reserved.