Generating User and Validator Keys¶
Generate your user key for Sawtooth.
$ sawtooth keygen
This command stores user keys in
Generate the key for the validator, which runs as root.
$ sudo sawadm keygen
By default, this command stores the validator key files in
/etc/sawtooth/keys/validator.pub. However, settings in the path configuration file could change this location; see Path Configuration File.
Sawtooth also includes a network key pair that is used to encrypt communication between the validators in a Sawtooth network. The network keys are described in a later procedure.