Documentation ¶
Overview ¶
Package awssigner contains a new signer that uses aws-kms as an hsm
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PubKeyData ¶
type PubKeyData struct {
// contains filtered or unexported fields
}
PubKeyData is the public key data.
type Signer ¶
type Signer struct {
// contains filtered or unexported fields
}
Signer is an aws signer.
func NewKmsSigner ¶
func NewKmsSigner(ctx context.Context, awsRegion, awsAccessKey, awsSecretAccessKey, keyID string) (_ *Signer, err error)
NewKmsSigner creates a kms handler.
func (*Signer) GetTransactor ¶
func (signingHandler *Signer) GetTransactor(ctx context.Context, chainID *big.Int) (*bind.TransactOpts, error)
GetTransactor creates a kms transactor.
Directories ¶
Path | Synopsis |
---|---|
Package kmsmock sets up a mock kms server that is used for testing our kms driver TODO: we should consider moving this to a common testutils/mocking folder or something internal to avoid exporting
|
Package kmsmock sets up a mock kms server that is used for testing our kms driver TODO: we should consider moving this to a common testutils/mocking folder or something internal to avoid exporting |
internal
Package internal contains modules exported from local-kms in order to avoid rewriting code
|
Package internal contains modules exported from local-kms in order to avoid rewriting code |
Click to show internal directories.
Click to hide internal directories.