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 |
---|---|
KeyVaultKey |
KeyClient.createKey(CreateKeyOptions createKeyOptions)
Creates a new key and stores it in the key vault.
|
Mono<KeyVaultKey> |
KeyAsyncClient.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 |
CreateRsaKeyOptions
Represents the configurable options to create an Rsa key.
|
Modifier and Type | Method and Description |
---|---|
CreateKeyOptions |
CreateKeyOptions.setEnabled(Boolean enabled)
Set the enabled value.
|
CreateKeyOptions |
CreateKeyOptions.setExpiresOn(OffsetDateTime expiresOn)
Set the
expires UTC time. |
CreateKeyOptions |
CreateKeyOptions.setKeyOperations(KeyOperation... keyOperations)
Set the key operations value.
|
CreateKeyOptions |
CreateKeyOptions.setNotBefore(OffsetDateTime notBefore)
Set the
notBefore UTC time. |
CreateKeyOptions |
CreateKeyOptions.setTags(Map<String,String> tags)
Set the tags to be associated with the key.
|
Copyright © 2020 Microsoft Corporation. All rights reserved.