@Generated(value="OracleSDKGenerator", comments="API Version: release") public interface KmsManagementAsync extends AutoCloseable
closevoid setEndpoint(String endpoint)
Sets the endpoint to call (ex, https://www.example.com).
endpoint - The endpoint of the serice.Future<CancelKeyDeletionResponse> cancelKeyDeletion(CancelKeyDeletionRequest request, AsyncHandler<CancelKeyDeletionRequest,CancelKeyDeletionResponse> handler)
Cancels the scheduled deletion of the specified key. Canceling a scheduled deletion restores the key to the respective states they were in before the deletion was scheduled.
request - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.Future<ChangeKeyCompartmentResponse> changeKeyCompartment(ChangeKeyCompartmentRequest request, AsyncHandler<ChangeKeyCompartmentRequest,ChangeKeyCompartmentResponse> handler)
Moves a key into a different compartment. When provided, If-Match is checked against ETag values of the key.
request - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.Future<CreateKeyResponse> createKey(CreateKeyRequest request, AsyncHandler<CreateKeyRequest,CreateKeyResponse> handler)
Creates a new key.
request - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.Future<CreateKeyVersionResponse> createKeyVersion(CreateKeyVersionRequest request, AsyncHandler<CreateKeyVersionRequest,CreateKeyVersionResponse> handler)
Generates new cryptographic material for a key. The key must be in an ENABLED state to be rotated.
request - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.Future<DisableKeyResponse> disableKey(DisableKeyRequest request, AsyncHandler<DisableKeyRequest,DisableKeyResponse> handler)
Disables a key to make it unavailable for encryption or decryption.
request - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.Future<EnableKeyResponse> enableKey(EnableKeyRequest request, AsyncHandler<EnableKeyRequest,EnableKeyResponse> handler)
Enables a key to make it available for encryption or decryption.
request - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.Future<GetKeyResponse> getKey(GetKeyRequest request, AsyncHandler<GetKeyRequest,GetKeyResponse> handler)
Gets information about the specified key.
request - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.Future<GetKeyVersionResponse> getKeyVersion(GetKeyVersionRequest request, AsyncHandler<GetKeyVersionRequest,GetKeyVersionResponse> handler)
Gets information about the specified key version.
request - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.Future<ListKeyVersionsResponse> listKeyVersions(ListKeyVersionsRequest request, AsyncHandler<ListKeyVersionsRequest,ListKeyVersionsResponse> handler)
Lists all key versions for the specified key.
request - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.Future<ListKeysResponse> listKeys(ListKeysRequest request, AsyncHandler<ListKeysRequest,ListKeysResponse> handler)
Lists the keys in the specified vault and compartment.
request - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.Future<ScheduleKeyDeletionResponse> scheduleKeyDeletion(ScheduleKeyDeletionRequest request, AsyncHandler<ScheduleKeyDeletionRequest,ScheduleKeyDeletionResponse> handler)
Schedules the deletion of the specified key. This sets the state of the key to PENDING_DELETION and then deletes it after the retention period ends.
request - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.Future<UpdateKeyResponse> updateKey(UpdateKeyRequest request, AsyncHandler<UpdateKeyRequest,UpdateKeyResponse> handler)
Updates the properties of a key. Specifically, you can update the displayName, freeformTags, and definedTags properties. Furthermore, the key must in an ACTIVE or CREATING state to be updated.
request - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.Copyright © 2016–2019. All rights reserved.