Skip to content
This repository has been archived by the owner on Sep 23, 2024. It is now read-only.

Commit

Permalink
Log KMS key usage
Browse files Browse the repository at this point in the history
  • Loading branch information
vcastellm committed Mar 1, 2024
1 parent 5aa26c3 commit 9c7b9a0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,13 @@ func start(cliCtx *cli.Context) error {
)

if c.EthTxManager.KMSKeyName != "" {
log.Debugf("using KMS key: %s", c.EthTxManager.KMSKeyName)
auth, addr, err = useKMSAuth(c)
if err != nil {
return err
}
} else if len(c.EthTxManager.PrivateKeys) > 0 {
log.Debugf("using local private key: %s", c.EthTxManager.PrivateKeys[0].Path)
auth, addr, err = useLocalAuth(c)
if err != nil {
return err
Expand Down

0 comments on commit 9c7b9a0

Please sign in to comment.