Skip to content

Commit

Permalink
Update DefaultAccountKeyCount documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
nanuuki committed Dec 20, 2021
1 parent 35ac606 commit ec33b8c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,8 @@ Valid log leves are (case-insensitive):

To enable multiple keys for custodial accounts you'll need to set `FLOW_WALLET_DEFAULT_ACCOUNT_KEY_COUNT` to the number of keys each account should have. When a new account is created the auto-generated account key is cloned so that the total number of keys matches the configured value.

NOTE: Changing `FLOW_WALLET_DEFAULT_ACCOUNT_KEY_COUNT` does not affect _existing_ accounts.

### All possible configuration variables

Refer to [configs/configs.go](configs/configs.go) for details and documentation.
Expand Down
2 changes: 1 addition & 1 deletion configs/configs.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ type Config struct {
EncryptionKey string `env:"FLOW_WALLET_ENCRYPTION_KEY,notEmpty"`
// Encryption key type, one of: local, aws_kms, google_kms
EncryptionKeyType string `env:"FLOW_WALLET_ENCRYPTION_KEY_TYPE,notEmpty" envDefault:"local"`
// DefaultAccountKeyCount specifies how many times the account key will be duplicated upon account creation
// DefaultAccountKeyCount specifies how many times the account key will be duplicated upon account creation, does not affect existing accounts
DefaultAccountKeyCount uint `env:"FLOW_WALLET_DEFAULT_ACCOUNT_KEY_COUNT" envDefault:"1"`

// -- Database --
Expand Down

0 comments on commit ec33b8c

Please sign in to comment.