stac-utils / stac-utils/rustac

Support Auth extension

Open
#267 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

[crate] cli [crate] extensions
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.