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<KeyVaultKey> |
KeyAsyncClient.importKey(ImportKeyOptions importKeyOptions)
Imports an externally created key and stores it in key vault.
|
KeyVaultKey |
KeyClient.importKey(ImportKeyOptions importKeyOptions)
Imports an externally created key and stores it in key vault.
|
Mono<com.azure.core.http.rest.Response<KeyVaultKey>> |
KeyAsyncClient.importKeyWithResponse(ImportKeyOptions importKeyOptions)
Imports an externally created key and stores it in key vault.
|
com.azure.core.http.rest.Response<KeyVaultKey> |
KeyClient.importKeyWithResponse(ImportKeyOptions importKeyOptions,
com.azure.core.util.Context context)
Imports an externally created key and stores it in key vault.
|
Modifier and Type | Method and Description |
---|---|
ImportKeyOptions |
ImportKeyOptions.setEnabled(Boolean enabled)
Set a value that indicates if the key is enabled.
|
ImportKeyOptions |
ImportKeyOptions.setExpiresOn(OffsetDateTime expiresOn)
Set the
key expiration time in UTC. |
ImportKeyOptions |
ImportKeyOptions.setHardwareProtected(Boolean hardwareProtected)
Set whether the key being imported is of HSM type or not.
|
ImportKeyOptions |
ImportKeyOptions.setNotBefore(OffsetDateTime notBefore)
Set the
key's notBefore time in UTC. |
Copyright © 2021 Microsoft Corporation. All rights reserved.