Keys Interface

Implements

public interface Keys
extends SupportsCreating<Blank>, SupportsDeletingById, SupportsGettingById<Key>, SupportsGettingByNameAsync<Key>, SupportsListing<Key>

Entry point for Key Vault keys API.

Method Summary

Modifier and Type Method and Description
abstract Key getByNameAndVersion(String name, String version)

Gets a Key Vault key.

abstract rx.Observable<Key> getByNameAndVersionAsync(String name, String version)

Gets a Key Vault key.

abstract Key restore(byte[] backup)

Restores a backup key into a Key Vault key.

abstract rx.Observable<Key> restoreAsync(byte[] backup)

Restores a backup key into a Key Vault key.

Method Details

getByNameAndVersion

public abstract Key getByNameAndVersion(String name, String version)

Gets a Key Vault key.

Parameters:

name - the name of the key
version - the version of the key

Returns:

the key

getByNameAndVersionAsync

public abstract Observable getByNameAndVersionAsync(String name, String version)

Gets a Key Vault key.

Parameters:

name - the name of the key
version - the version of the key

Returns:

the key

restore

public abstract Key restore(byte[] backup)

Restores a backup key into a Key Vault key.

Parameters:

backup - the backup key

Returns:

the key restored from the backup

restoreAsync

public abstract Observable restoreAsync(byte[] backup)

Restores a backup key into a Key Vault key.

Parameters:

backup - the backup key

Returns:

the key restored from the backup

Applies to