cool-easter-32542
05/01/2023, 4:53 PMcurl --header "my-api-key:$(API_KEY)" <https://example.com/secure-resourece>
Describe alternatives you've considered
I've thought of asking our ops people to remove authentication for the resource, i.e. working around the issue. I've also tried creating a custom shell command in Pants that runs the curl call and unpacks the data after downloading it.
Additional context
This will be used by my team to download some binary data that is used while running tests. The data in question is some sensor data that is produced by our instrument and we don't want it to be added to our code repository.
pantsbuild/pants