-
Notifications
You must be signed in to change notification settings - Fork 5
Key gen
Kevin Jump edited this page Oct 20, 2022
·
1 revision
Key Gen will generate a new HMAC key value that you can enter into your appsettings.json file if you want to use HMAC based authentication between your command line and the Umbraco instance
usync key-gen
output
*** uSync Command Line ***
Key: iQi/kIMp5ggCc5DxOORVaA5kvuvaE8NRkB7uFxTRRLo=
You will need to set this key in your servers appsetting.json file
"uSync": {
"Commands": {
"Enabled": "hmac",
"key": "iQi/kIMp5ggCc5DxOORVaA5kvuvaE8NRkB7uFxTRRLo="
}
}
When running commands this value should make up the -key part of the command e.g
> uSync run info -s servername -k iQi/kIMp5ggCc5DxOORVaA5kvuvaE8NRkB7uFxTRRLo=