Interface Key.DefinitionStages.WithKey

All Known Subinterfaces:
Key.Definition, Key.DefinitionStages.Blank
Enclosing interface:
Key.DefinitionStages

public static interface Key.DefinitionStages.WithKey
The stage of a key definition allowing to specify whether to create a key or to import a key.
  • Method Details

    • withKeyTypeToCreate

      Key.DefinitionStages.WithCreate withKeyTypeToCreate(com.microsoft.azure.keyvault.webkey.JsonWebKeyType 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.microsoft.azure.keyvault.webkey.JsonWebKey key)
      Specifies an existing key to import.
      Parameters:
      key - the existing JWK to import
      Returns:
      the next stage of the definition