m-lab / murakami

Run automated internet measurement tests in a Docker container.
Apache License 2.0
41 stars 11 forks source link

Read env variables for exporter keys #97

Open critzo opened 3 years ago

critzo commented 3 years ago

Currently exporters read a keyfile that is packaged with a release on each device. Replace this by having each exporter read the contents of a key from an environment variable.

Relates to GCS, SCP exporters.

critzo commented 2 years ago

Per @robertodauria's initial research, this requires keys to have no newlines and be converted to base64 encoding. We can probably put together a script that does this, and add it to utilities/, complemented with documentation.