Uses of Class
com.azure.security.keyvault.keys.models.KeyVaultKey
Package
Description
Package containing classes for creating
KeyAsyncClient
and
KeyClient
to perform operations on Azure Key Vault.Package containing classes for creating
CryptographyAsyncClient
and CryptographyClient
to perform cryptography operations.Package containing classes used for representing keys, deleted keys and their attributes in
Azure Key Vault.
-
Uses of KeyVaultKey in com.azure.security.keyvault.keys
Modifier and TypeMethodDescriptionKeyClient.createEcKey
(CreateEcKeyOptions createEcKeyOptions) Creates a newEC key
and stores it in the key vault.KeyClient.createKey
(CreateKeyOptions createKeyOptions) Creates a newkey
and stores it in the key vault.Creates a newkey
and stores it in the key vault.KeyClient.createOctKey
(CreateOctKeyOptions createOctKeyOptions) Creates and stores a newsymmetric key
in the key vault.KeyClient.createRsaKey
(CreateRsaKeyOptions createRsaKeyOptions) Creates a newRSA key
and stores it in the key vault.Gets the public part of the specifiedkey
and key version.Gets the public part of the specifiedkey
and key version.KeyClient.importKey
(ImportKeyOptions importKeyOptions) Imports an externally createdkey
and stores it in the key vault.KeyClient.importKey
(String name, JsonWebKey keyMaterial) Imports an externally createdkey
and stores it in the key vault.KeyClient.restoreKeyBackup
(byte[] backup) Restores a backed upkey
to a vault.Rotates akey
.KeyClient.updateKeyProperties
(KeyProperties keyProperties, KeyOperation... keyOperations) Updates theattributes
andkey operations
associated with the specifiedkey
, but not the cryptographic key material of the specifiedkey
in the key vault.Modifier and TypeMethodDescriptionKeyAsyncClient.beginRecoverDeletedKey
(String name) Recovers thedeleted key
in the key vault to its latest version and can only be performed on a soft-delete enabled vault.KeyClient.beginRecoverDeletedKey
(String name) Recovers thedeleted key
in the key vault to its latest version and can only be performed on a soft-delete enabled vault.KeyAsyncClient.createEcKey
(CreateEcKeyOptions createEcKeyOptions) Creates a newEC key
and stores it in the key vault.KeyAsyncClient.createEcKeyWithResponse
(CreateEcKeyOptions createEcKeyOptions) Creates a newEC key
and stores it in the key vault.KeyClient.createEcKeyWithResponse
(CreateEcKeyOptions createEcKeyOptions, Context context) Creates a newEC key
and stores it in the key vault.KeyAsyncClient.createKey
(CreateKeyOptions createKeyOptions) Creates a newkey
and stores it in the key vault.Creates a newkey
and stores it in the key vault.KeyAsyncClient.createKeyWithResponse
(CreateKeyOptions createKeyOptions) Creates a newkey
and stores it in the key vault.KeyClient.createKeyWithResponse
(CreateKeyOptions createKeyOptions, Context context) Creates a newkey
and stores it in the key vault.KeyAsyncClient.createOctKey
(CreateOctKeyOptions createOctKeyOptions) Creates and stores a newsymmetric key
in the key vault.KeyAsyncClient.createOctKeyWithResponse
(CreateOctKeyOptions createOctKeyOptions) Creates and stores a newsymmetric key
in the key vault.KeyClient.createOctKeyWithResponse
(CreateOctKeyOptions createOctKeyOptions, Context context) Creates and stores a newsymmetric key
in the key vault.KeyAsyncClient.createRsaKey
(CreateRsaKeyOptions createRsaKeyOptions) /** Creates a newRSA key
and stores it in the key vault.KeyAsyncClient.createRsaKeyWithResponse
(CreateRsaKeyOptions createRsaKeyOptions) Creates a newRSA key
and stores it in the key vault.KeyClient.createRsaKeyWithResponse
(CreateRsaKeyOptions createRsaKeyOptions, Context context) Creates a newRSA key
and stores it in the key vault.Gets the public part of the specifiedkey
and key version.Gets the public part of the specifiedkey
and key version.KeyAsyncClient.getKeyWithResponse
(String name, String version) Gets the public part of the specifiedkey
and key version.KeyClient.getKeyWithResponse
(String name, String version, Context context) Gets the public part of the specifiedkey
and key version.KeyAsyncClient.importKey
(ImportKeyOptions importKeyOptions) Imports an externally createdkey
and stores it in the key vault.KeyAsyncClient.importKey
(String name, JsonWebKey keyMaterial) Imports an externally createdkey
and stores it in the key vault.KeyAsyncClient.importKeyWithResponse
(ImportKeyOptions importKeyOptions) Imports an externally createdkey
and stores it in the key vault.KeyClient.importKeyWithResponse
(ImportKeyOptions importKeyOptions, Context context) Imports an externally createdkey
and stores it in the key vault.KeyAsyncClient.restoreKeyBackup
(byte[] backup) Restores a backed upkey
to a vault.KeyAsyncClient.restoreKeyBackupWithResponse
(byte[] backup) Restores a backed upkey
to a vault.KeyClient.restoreKeyBackupWithResponse
(byte[] backup, Context context) Restores a backed upkey
to a vault.Rotates akey
.KeyAsyncClient.rotateKeyWithResponse
(String name) Rotates akey
.KeyClient.rotateKeyWithResponse
(String name, Context context) Rotates akey
.KeyAsyncClient.updateKeyProperties
(KeyProperties keyProperties, KeyOperation... keyOperations) Updates theattributes
andkey operations
associated with the specifiedkey
, but not the cryptographic key material of the specifiedkey
in the key vault.KeyAsyncClient.updateKeyPropertiesWithResponse
(KeyProperties keyProperties, KeyOperation... keyOperations) Updates theattributes
andkey operations
associated with the specifiedkey
, but not the cryptographic key material of the specifiedkey
in the key vault.KeyClient.updateKeyPropertiesWithResponse
(KeyProperties keyProperties, Context context, KeyOperation... keyOperations) Updates theattributes
andkey operations
associated with the specifiedkey
, but not the cryptographic key material of the specifiedkey
in the key vault. -
Uses of KeyVaultKey in com.azure.security.keyvault.keys.cryptography
Modifier and TypeMethodDescriptionCryptographyClient.getKey()
Gets the public part of the configured key.Modifier and TypeMethodDescriptionCryptographyAsyncClient.getKey()
Gets the public part of the configured key.CryptographyAsyncClient.getKeyWithResponse()
Gets the public part of the configured key.CryptographyClient.getKeyWithResponse
(Context context) Gets the public part of the configured key. -
Uses of KeyVaultKey in com.azure.security.keyvault.keys.models
Modifier and TypeClassDescriptionfinal class
Deleted Key is the resource consisting of name, recovery id, deleted date, scheduled purge date and its attributes inherited fromKeyVaultKey
.