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.createKey(CreateKeyOptions createKeyOptions)
Creates a new key and stores it in the key vault.
|
KeyVaultKey |
KeyClient.createKey(CreateKeyOptions createKeyOptions)
Creates a new key and stores it in the key vault.
|
Mono<com.azure.core.http.rest.Response<KeyVaultKey>> |
KeyAsyncClient.createKeyWithResponse(CreateKeyOptions createKeyOptions)
Creates a new key and stores it in the key vault.
|
com.azure.core.http.rest.Response<KeyVaultKey> |
KeyClient.createKeyWithResponse(CreateKeyOptions createKeyOptions,
com.azure.core.util.Context context)
Creates a new key and stores it in the key vault.
|
Modifier and Type | Class and Description |
---|---|
class |
CreateEcKeyOptions
Represents the configurable options to create an EC key.
|
class |
CreateOctKeyOptions
Represents the configurable options to create an AES key.
|
class |
CreateRsaKeyOptions
Represents the configurable options to create an RSA key.
|
Modifier and Type | Method and Description |
---|---|
CreateKeyOptions |
CreateKeyOptions.setEnabled(Boolean enabled)
Set a value that indicates if the key is enabled.
|
CreateKeyOptions |
CreateKeyOptions.setExpiresOn(OffsetDateTime expiresOn)
Set the
key expiration time in UTC. |
CreateKeyOptions |
CreateKeyOptions.setKeyOperations(KeyOperation... keyOperations)
Set the key operations.
|
CreateKeyOptions |
CreateKeyOptions.setNotBefore(OffsetDateTime notBefore)
Set the
key's notBefore time in UTC. |
CreateKeyOptions |
CreateKeyOptions.setTags(Map<String,String> tags)
Set the tags to be associated with the key.
|
Copyright © 2021 Microsoft Corporation. All rights reserved.