SecretKeyVaultProperties Class
- java.
lang. Object - com.
azure. resourcemanager. appcontainers. models. SecretKeyVaultProperties
- com.
Implements
public final class SecretKeyVaultProperties
implements JsonSerializable<SecretKeyVaultProperties>
Properties for a secret stored in a Key Vault.
Constructor Summary
| Constructor | Description |
|---|---|
| SecretKeyVaultProperties() |
Creates an instance of Secret |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Secret |
fromJson(JsonReader jsonReader)
Reads an instance of Secret |
| String |
identity()
Get the identity property: Resource ID of a managed identity to authenticate with Azure Key Vault, or System to use a system-assigned identity. |
| String |
keyVaultUrl()
Get the key |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Secret |
withIdentity(String identity)
Set the identity property: Resource ID of a managed identity to authenticate with Azure Key Vault, or System to use a system-assigned identity. |
|
Secret |
withKeyVaultUrl(String keyVaultUrl)
Set the key |
Methods inherited from java.lang.Object
Constructor Details
SecretKeyVaultProperties
public SecretKeyVaultProperties()
Creates an instance of SecretKeyVaultProperties class.
Method Details
fromJson
public static SecretKeyVaultProperties fromJson(JsonReader jsonReader)
Reads an instance of SecretKeyVaultProperties from the JsonReader.
Parameters:
Returns:
Throws:
identity
public String identity()
Get the identity property: Resource ID of a managed identity to authenticate with Azure Key Vault, or System to use a system-assigned identity.
Returns:
keyVaultUrl
public String keyVaultUrl()
Get the keyVaultUrl property: URL pointing to the Azure Key Vault secret.
Returns:
toJson
validate
public void validate()
Validates the instance.
withIdentity
public SecretKeyVaultProperties withIdentity(String identity)
Set the identity property: Resource ID of a managed identity to authenticate with Azure Key Vault, or System to use a system-assigned identity.
Parameters:
Returns:
withKeyVaultUrl
public SecretKeyVaultProperties withKeyVaultUrl(String keyVaultUrl)
Set the keyVaultUrl property: URL pointing to the Azure Key Vault secret.
Parameters:
Returns: