diff --git a/plugins/repository-azure/src/main/java/org/opensearch/repositories/azure/AzureStorageSettings.java b/plugins/repository-azure/src/main/java/org/opensearch/repositories/azure/AzureStorageSettings.java index 487f5504b67f8..fc3b23bcbe9f6 100644 --- a/plugins/repository-azure/src/main/java/org/opensearch/repositories/azure/AzureStorageSettings.java +++ b/plugins/repository-azure/src/main/java/org/opensearch/repositories/azure/AzureStorageSettings.java @@ -271,9 +271,11 @@ private AzureStorageSettings( this.responseTimeout = responseTimeout; this.proxySettings = proxySettings; } + public boolean usesManagedIdentityCredential() { return tokenCredentialType.equals(TokenCredentialType.MANAGED_IDENTITY); } + public String getEndpointSuffix() { return endpointSuffix; }