akamai / AkamaiOPEN-edgegrid-golang

This library implements an Authentication handler for the Akamai OPEN EdgeGrid Authentication scheme
Apache License 2.0
90 stars 69 forks source link

Add .edgerc support #1

Closed ktyacke closed 8 years ago

ktyacke commented 8 years ago

Please add support for ingesting credentials from a .edgerc file. An example of this can be found in the Python signing library at https://github.com/akamai-open/AkamaiOPEN-edgegrid-python . An .edgerc file is simply a .ini file that is commonly used to store credentials used in requests to the OPEN API. Any .ini parser should be able to read it as it is in standard .ini format. This file is most often stored in the users home directory (i.e. "~/.edgerc"), but your program should accept a path to this file as one of it's params.

njuettner commented 8 years ago

INI files are supported now :).