Interface Key.DefinitionStages.WithKey
-
- All Known Subinterfaces:
Key.Definition,Key.DefinitionStages.Blank
- Enclosing interface:
- Key.DefinitionStages
public static interface Key.DefinitionStages.WithKeyThe stage of a key definition allowing to specify whether to create a key or to import a key.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Key.DefinitionStages.WithCreatewithKeyTypeToCreate(com.azure.security.keyvault.keys.models.KeyType keyType)Specifies a key type to create a new key.Key.DefinitionStages.WithImportwithLocalKeyToImport(com.azure.security.keyvault.keys.models.JsonWebKey key)Specifies an existing key to import.
-
-
-
Method Detail
-
withKeyTypeToCreate
Key.DefinitionStages.WithCreate withKeyTypeToCreate(com.azure.security.keyvault.keys.models.KeyType keyType)
Specifies a key type to create a new key.- Parameters:
keyType- the JWK type to create- Returns:
- the next stage of the definition
-
withLocalKeyToImport
Key.DefinitionStages.WithImport withLocalKeyToImport(com.azure.security.keyvault.keys.models.JsonWebKey key)
Specifies an existing key to import.- Parameters:
key- the existing JWK to import- Returns:
- the next stage of the definition
-
-