public class AzureMsiAuthenticationOptions extends Object
AzureMsiAuthentication.
Authentication options provide the path, role, an optional AzureVmEnvironment,
and instance metadata/OAuth2 token URIs. AzureMsiAuthenticationOptions can be
constructed using builder(). Instances of this class are immutable once
constructed.
AzureMsiAuthenticationOptions,
builder()| Modifier and Type | Class and Description |
|---|---|
static class |
AzureMsiAuthenticationOptions.AzureMsiAuthenticationOptionsBuilder
Builder for
AzureMsiAuthenticationOptions. |
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_AZURE_AUTHENTICATION_PATH |
static URI |
DEFAULT_IDENTITY_TOKEN_SERVICE_URI |
static URI |
DEFAULT_INSTANCE_METADATA_SERVICE_URI |
| Modifier and Type | Method and Description |
|---|---|
static AzureMsiAuthenticationOptions.AzureMsiAuthenticationOptionsBuilder |
builder() |
URI |
getIdentityTokenServiceUri() |
URI |
getInstanceMetadataServiceUri() |
String |
getPath() |
String |
getRole() |
AzureVmEnvironment |
getVmEnvironment() |
public static final String DEFAULT_AZURE_AUTHENTICATION_PATH
public static final URI DEFAULT_INSTANCE_METADATA_SERVICE_URI
public static final URI DEFAULT_IDENTITY_TOKEN_SERVICE_URI
public static AzureMsiAuthenticationOptions.AzureMsiAuthenticationOptionsBuilder builder()
public String getPath()
public String getRole()
@Nullable public AzureVmEnvironment getVmEnvironment()
AzureVmEnvironment. If null, the environment is
retrieved from the VM instance metadata
service.public URI getInstanceMetadataServiceUri()
URI to the instance metadata endpoint.Copyright © 2016–2019 Pivotal Software, Inc.. All rights reserved.