Key.UpdateStages.WithKey Interface
public static interface Key.UpdateStages.WithKey
The stage of a key update allowing to create a new version of the key.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
Update |
withKeyTypeToCreate(KeyType keyType)
Specifies a key type to create a new key version. |
abstract
Update |
withLocalKeyToImport(JsonWebKey key)
Specifies an existing key to import as a new version. |
Method Details
withKeyTypeToCreate
public abstract Key.UpdateWithCreate withKeyTypeToCreate(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
public abstract Key.UpdateWithImport withLocalKeyToImport(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
Applies to
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.
Azure SDK for Java