nwfsc-cb / rCAX

rCAX R package: an R client to access the REST API for the StreamNet Coordinated Assessments tables
https://nwfsc-cb.github.io/rCAX/
Other
5 stars 1 forks source link

Idea/Plan for including API key in the package #24

Closed eeholmes closed 1 year ago

eeholmes commented 1 year ago

@mari-williams

I have a proposal for how to include an API key in the package so users don't have to go ask StreamNet for one.

The key would be stored in binary in the package in internal data. So although the package code is open source, the key is not in plain ASCII anywhere. Hopefully this would be an ok plan. This would make the rCAX R package just another way to do a CAX Tabular Query.

Can you run this by the CAX folks? I'd like to do this before we share since otherwise StreamNet will be getting hit with API Key requests from people.

Thx!

Eli

mari-williams commented 1 year ago

Greg - Fine with us. Good plan. Thanks for asking first!