Access Keys allow you to share read-only access to your graphite data with external applications, scripts, or dashboard plugins.
For added security, a key can be limited to a whitelist of IP addresses. Team users with read-only or read/write privileges will not see the Access Key list or have the option to create keys, only team managers and account owners have access.
Your list of access keys, found on the “Overview” page.
The created access key will be listed in the table as shown in the image above. Simply copy the location and use it in your external application as per its documentation.
Click the “Add Access Key” button to do the obvious.
Creating an Access Key
- Access Key Name Creating an Access Key requires that you name the key. This has no connection to the key itself, it’s just a handy reminder of why you added it. E.g. to connect to a Tasseo or Graphite dashboard, or to an alerting system such as Seyren.
- Optional - Add An IP Whitelist It’s not necessary for you to add a whitelist, but this will add an extra level of protection if your key is leaked, and you want to ensure that data is only coming from servers you control. The whitelist accepts comma-separated IP addresses in the standard format (XXX.XXX.XXX.XXX).
- Type - Primary or Graphite Unless you’re specifically using the Access Key to share a primary dashboard, the option you want to pick is ‘Graphite’. This gives external applications access to Graphite’s data.
Clicking the wrench / Edit icon to bring up the Edit Access Key dialog. There is also an option here to Whitelist an IP if needed:
Edit the details of your access key, hit “Save” to preserve your changes.
Hit the trash can icon to bring up the Delete Access Key dialog and simply hit the “Yes, Delete” button to purge the Access Key from the system.
- When I visit the Access Key URL I get a ‘403 Forbidden’ error The access key enables access to the read-only parts of Hosted Graphite that allow you to retrieve data, and anything else returns a 403. If you add ‘/render/’ to the end of the created URL, you’ll see a blank graph image showing a red “No Data”.