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 |
---|---|
KeyRotationPolicy |
KeyClient.getKeyRotationPolicy(String name)
Gets the
KeyRotationPolicy for the key with the provided name. |
KeyRotationPolicy |
KeyClient.updateKeyRotationPolicy(String name,
KeyRotationPolicyProperties keyRotationPolicyProperties)
Updates the
KeyRotationPolicy of the key with the provided name. |
Modifier and Type | Method and Description |
---|---|
KeyRotationPolicy |
KeyRotationPolicy.setExpiryTime(String expiryTime)
Set the optional key expiration period used to define the duration after which a newly rotated key will expire.
|
KeyRotationPolicy |
KeyRotationPolicy.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.