@tacoinfra/conseil-kms
Version:
Utilize AWS KMS Keys to work with ConseilJS.
13 lines (12 loc) • 464 B
TypeScript
import { KeyStore, KeyStoreCurve, KeyStoreType } from 'conseiljs';
export default class KmsKeyStore implements KeyStore {
readonly publicKey: string;
readonly publicKeyHash: string;
readonly storeType: KeyStoreType;
readonly derivationPath: undefined;
readonly curve: KeyStoreCurve;
readonly secretKey: string;
readonly seed: string;
static from(kmsKeyId: string, region: string): Promise<KmsKeyStore>;
private constructor();
}