IKey Interface

Definition

An immutable client-side representation of an Azure Key Vault key.

public interface IKey : Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasId, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasInner<Microsoft.Azure.KeyVault.Models.KeyBundle>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasName, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IIndexable, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IUpdatable<Microsoft.Azure.Management.KeyVault.Fluent.Key.Update.IUpdate>
type IKey = interface
    interface IBeta
    interface IIndexable
    interface IHasInner<KeyBundle>
    interface IHasId
    interface IHasName
    interface IUpdatable<IUpdate>
Public Interface IKey
Implements IBeta, IHasId, IHasInner(Of KeyBundle), IHasName, IIndexable, IUpdatable(Of IUpdate)
Implements

Properties

Attributes

Gets the key management attributes.

Id

Gets the resource id string

(Inherited from IHasId)
Inner (Inherited from IHasInner<T>)
JsonWebKey

Gets the Json web key.

Key (Inherited from IIndexable)
Managed

Gets true if the key's lifetime is managed by key vault. If this is a key backing a certificate, then managed will be true.

Name

Gets the name of the resource

(Inherited from IHasName)
Tags

Gets application specific metadata in the form of key-value pairs.

Methods

Backup()
BackupAsync(CancellationToken)
Decrypt(JsonWebKeyEncryptionAlgorithm, Byte[])

Decrypts a single block of encrypted data.

DecryptAsync(JsonWebKeyEncryptionAlgorithm, Byte[], CancellationToken)

Decrypts a single block of encrypted data.

Encrypt(JsonWebKeyEncryptionAlgorithm, Byte[])

Encrypts an arbitrary sequence of bytes using an encryption key that is stored in a key vault.

EncryptAsync(JsonWebKeyEncryptionAlgorithm, Byte[], CancellationToken)

Encrypts an arbitrary sequence of bytes using an encryption key that is stored in a key vault.

ListVersions()
ListVersionsAsync(CancellationToken)
Sign(JsonWebKeySignatureAlgorithm, Byte[])

Creates a signature from a digest.

SignAsync(JsonWebKeySignatureAlgorithm, Byte[], CancellationToken)

Creates a signature from a digest.

UnwrapKey(JsonWebKeyEncryptionAlgorithm, Byte[])

Unwraps a symmetric key wrapped originally by this Key Vault key.

UnwrapKeyAsync(JsonWebKeyEncryptionAlgorithm, Byte[], CancellationToken)

Unwraps a symmetric key wrapped originally by this Key Vault key.

Update() (Inherited from IUpdatable<T>)
Verify(JsonWebKeySignatureAlgorithm, Byte[], Byte[])

Verifies a signature from a digest.

VerifyAsync(JsonWebKeySignatureAlgorithm, Byte[], Byte[], CancellationToken)

Verifies a signature from a digest.

WrapKey(JsonWebKeyEncryptionAlgorithm, Byte[])

Wraps a symmetric key using the specified algorithm.

WrapKeyAsync(JsonWebKeyEncryptionAlgorithm, Byte[], CancellationToken)

Wraps a symmetric key using the specified algorithm.

Applies to