@valora/viem-account-hsm-gcp
Version:
[](https://github.com/valora-xyz/viem-account-hsm-gcp/blob/main/LICENSE) [](htt
8 lines (7 loc) • 346 B
TypeScript
import { KeyManagementServiceClient } from '@google-cloud/kms';
import { LocalAccount } from 'viem/accounts';
export type GcpHsmAccount = LocalAccount<'gcpHsm'>;
export declare function gcpHsmToAccount({ hsmKeyVersion, kmsClient: kmsClient_, }: {
hsmKeyVersion: string;
kmsClient?: KeyManagementServiceClient;
}): Promise<GcpHsmAccount>;