Interface Key.UpdateStages.WithKey
-
- All Known Subinterfaces:
Key.Update,Key.UpdateWithCreate,Key.UpdateWithImport
- Enclosing interface:
- Key.UpdateStages
public static interface Key.UpdateStages.WithKeyThe stage of a key update allowing to create a new version of the key.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Key.UpdateWithCreatewithKeyTypeToCreate(com.azure.security.keyvault.keys.models.KeyType keyType)Specifies a key type to create a new key version.Key.UpdateWithImportwithLocalKeyToImport(com.azure.security.keyvault.keys.models.JsonWebKey key)Specifies an existing key to import as a new version.
-
-
-
Method Detail
-
withKeyTypeToCreate
Key.UpdateWithCreate withKeyTypeToCreate(com.azure.security.keyvault.keys.models.KeyType keyType)
Specifies a key type to create a new key version.- Parameters:
keyType- the JWK type to create- Returns:
- the next stage of the update
-
withLocalKeyToImport
Key.UpdateWithImport withLocalKeyToImport(com.azure.security.keyvault.keys.models.JsonWebKey key)
Specifies an existing key to import as a new version.- Parameters:
key- the existing JWK to import- Returns:
- the next stage of the update
-
-