Class AzureMsiAuthenticationOptions
java.lang.Object
org.springframework.vault.authentication.AzureMsiAuthenticationOptions
Authentication options for
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.
- Since:
- 2.1
- Author:
- Mark Paluch
- See Also:
-
Field Details
-
DEFAULT_AZURE_AUTHENTICATION_PATH
- See Also:
-
DEFAULT_INSTANCE_METADATA_SERVICE_URI
-
DEFAULT_IDENTITY_TOKEN_SERVICE_URI
-
-
Method Details
-
builder
-
getPath
- Returns:
- the path of the azure authentication backend mount.
-
getRole
- Returns:
- the role against which the login is being attempted.
-
getVmEnvironment
- Returns:
- the
AzureVmEnvironment
. If null, the environment is retrieved from theVM instance metadata service
.
-
getInstanceMetadataServiceUri
- Returns:
URI
to the instance metadata endpoint.
-
getIdentityTokenServiceUri
- Returns:
URI
to the token service for the managed identity.
-