Skip to main content

Crate alloy_signer_azure

Crate alloy_signer_azure 

Source
Expand description

§alloy-signer-azure

Ethereum Azure Key Vault signer.

The key must be an elliptic curve key (EC or EC-HSM) on the P-256K curve, in a vault or a Managed HSM. Constructing a signer requires the keys/get permission; signing requires keys/sign. The built-in Key Vault Crypto User role grants both. An identity with only keys/get can derive the signer’s address but cannot sign.

The key version is pinned when the signer is constructed. A key identifier without a version resolves to the latest version at that time, so a signer constructed after a key rotation uses the new key and has a different address; include the version to keep a stable address.

This crate uses the Azure SDK’s default HTTP client (reqwest with rustls, on tokio) and re-exports azure_core, azure_identity, and azure_security_keyvault_keys to construct compatible credentials and clients.

Enable this crate’s eip712 feature to sign EIP-712 typed data.

Re-exports§

pub use azure_core;
pub use azure_identity;
pub use azure_security_keyvault_keys;

Structs§

AzureSigner
Azure Key Vault Ethereum signer.

Enums§

AzureSignerError
Errors thrown by AzureSigner.