Package | Description |
---|---|
com.azure.security.keyvault.keys |
Package containing classes for creating
KeyAsyncClient and
KeyClient to perform operations on Azure Key Vault. |
com.azure.security.keyvault.keys.models |
Package containing classes used for representing keys, deleted keys and their attributes in
Azure Key Vault.
|
Modifier and Type | Method and Description |
---|---|
Mono<KeyRotationPolicy> |
KeyAsyncClient.updateKeyRotationPolicy(String name,
KeyRotationPolicyProperties keyRotationPolicyProperties)
Updates the
KeyRotationPolicy of the key with the provided name. |
KeyRotationPolicy |
KeyClient.updateKeyRotationPolicy(String name,
KeyRotationPolicyProperties keyRotationPolicyProperties)
Updates the
KeyRotationPolicy of the key with the provided name. |
Mono<com.azure.core.http.rest.Response<KeyRotationPolicy>> |
KeyAsyncClient.updateKeyRotationPolicyWithResponse(String name,
KeyRotationPolicyProperties keyRotationPolicyProperties)
Updates the
KeyRotationPolicy of the key with the provided name. |
com.azure.core.http.rest.Response<KeyRotationPolicy> |
KeyClient.updateKeyRotationPolicyWithResponse(String name,
KeyRotationPolicyProperties keyRotationPolicyProperties,
com.azure.core.util.Context context)
Updates the
KeyRotationPolicy of the key with the provided name. |
Modifier and Type | Class and Description |
---|---|
class |
KeyRotationPolicy
The complete key rotation policy that belongs to a key.
|
Modifier and Type | Method and Description |
---|---|
KeyRotationPolicyProperties |
KeyRotationPolicyProperties.setExpiryTime(String expiryTime)
Set the optional key expiration period used to define the duration after which a newly rotated key will expire.
|
KeyRotationPolicyProperties |
KeyRotationPolicyProperties.setLifetimeActions(List<KeyRotationLifetimeAction> keyRotationLifetimeActions)
Set the actions that will be performed by Key Vault over the lifetime of a key.
|
Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.