Updating keys can be done both through the Gateway and the Dashboard, and as such, you'll need parameters settings on two configuration files: `tyk.conf` and `tyk_analytics.conf`.
If you've retrieved your Dashboard configuration file from one of our repo in the past, you'll most likely run into the issue where you can't update keys through the UI. You'll need to add the following the following in your `tyk_analytics.conf`.
"enable_delete_key_by_hash":true,
"enable_update_key_by_hash":true,
"enable_hashed_keys_listing": true,
These also come as ENV variables if you're using env variables instead of parameters. More information for those can be found in our Dashboard configuration page.
Additionally, if it's still not updating you'll need to make some configuration changes to your `tyk.conf` file as well:
"hash_keys":true,
"enable_hashed_keys_listing": true,
These also come as ENV variables if you're using env variables instead of parameters. More information for this can be found in our Gateway configuration page.
Alternatively, if you're updating/viewing your keys directly through either the Gateway and Dashboard APIs then the above parameters or env variables are needed again. The Gateway API requires the parameters in your `tyk.conf` and the Dashboard API requires the parameters in your `tyk_analytics.conf.
Comments
0 comments
Please sign in to leave a comment.