AzureActiveDirectoryApplicationCredentials Class
- java.
lang. Object - com.
azure. search. documents. indexes. models. AzureActiveDirectoryApplicationCredentials
- com.
Implements
public final class AzureActiveDirectoryApplicationCredentials
implements JsonSerializable<AzureActiveDirectoryApplicationCredentials>
Credentials of a registered application created for your search service, used for authenticated access to the encryption keys stored in Azure Key Vault.
Constructor Summary
| Constructor | Description |
|---|---|
| AzureActiveDirectoryApplicationCredentials(String applicationId) |
Creates an instance of Azure |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Azure |
fromJson(JsonReader jsonReader)
Reads an instance of Azure |
| String |
getApplicationId()
Get the application |
| String |
getApplicationSecret()
Get the application |
|
Azure |
setApplicationSecret(String applicationSecret)
Set the application |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
AzureActiveDirectoryApplicationCredentials
public AzureActiveDirectoryApplicationCredentials(String applicationId)
Creates an instance of AzureActiveDirectoryApplicationCredentials class.
Parameters:
Method Details
fromJson
public static AzureActiveDirectoryApplicationCredentials fromJson(JsonReader jsonReader)
Reads an instance of AzureActiveDirectoryApplicationCredentials from the JsonReader.
Parameters:
Returns:
Throws:
getApplicationId
public String getApplicationId()
Get the applicationId property: An AAD Application ID that was granted the required access permissions to the Azure Key Vault that is to be used when encrypting your data at rest. The Application ID should not be confused with the Object ID for your AAD Application.
Returns:
getApplicationSecret
public String getApplicationSecret()
Get the applicationSecret property: The authentication key of the specified AAD application.
Returns:
setApplicationSecret
public AzureActiveDirectoryApplicationCredentials setApplicationSecret(String applicationSecret)
Set the applicationSecret property: The authentication key of the specified AAD application.
Parameters:
Returns: