stac-utils / stac-utils/rustac
Support Auth extension
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 145
- Forks
- 24
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 12
Description
It would be great to have authentication support in stac-cli, just like stac-browser is doing with https://github.com/radiantearth/stac-browser/issues/81 and https://github.com/radiantearth/stac-browser/blob/main/docs/options.md#authconfig
For example, to access an API Key protected STAC instance, I'd like to do something that would like this:
stac search --auth-type=apiKey --auth-in=header --auth-name=x-api-key <HREF>
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by comparing stac-cli's existing command behavior with stac-browser's auth example and the linked authconfig documentation. Define how the proposed apiKey, header, and x-api-key options should work for a protected STAC instance, then identify the relevant CLI entry points and tests before implementing and validating authenticated search.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- authentication, cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100