public final class KeyVaultKeyIdentifier extends Object
KeyVaultKey
parsed from the key URL. You can use this information when calling methods
of KeyClient
or KeyAsyncClient
.Constructor and Description |
---|
KeyVaultKeyIdentifier(String keyId)
Create a new
KeyVaultKeyIdentifier from a given key identifier. |
Modifier and Type | Method and Description |
---|---|
String |
getKeyId()
Gets the key identifier used to create this object.
|
String |
getName()
Gets the name of the key.
|
String |
getVaultUrl()
Gets the URL of the Key Vault.
|
String |
getVersion()
Gets the optional version of the key.
|
public KeyVaultKeyIdentifier(String keyId)
KeyVaultKeyIdentifier
from a given key identifier.
Valid examples are:
keyId
- The key identifier to extract information from.IllegalArgumentException
- If keyId
is an invalid Key Vault Key identifier.NullPointerException
- If keyId
is null
.public String getKeyId()
public String getVaultUrl()
public String getName()
public String getVersion()
Copyright © 2021 Microsoft Corporation. All rights reserved.