stac-extensions / stac-extensions/authentication

Indicate expiration of signed url

Open
#39 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
17
Forks
5
Avg merge
2m
Merged PRs (30d)
1

Description

A common use case when using STAC API with STAC Assets that reference S3 objects is to to generate presigned URLs on egress. However, these urls have a (usually) pretty short expiration time. I think it would be useful to notate on these that they will expire.

Maybe a field "authentication:expiry" with a RFC3339 datetime of the URL expiration?

I could also see a use for an authentication scheme of a new type none that auth:refs could use, and then that scheme definition indicates that there are no additional authentication steps required for access, but that the href will expire though a field like "expiry".

Contributor guide

No contributing guide indexed for this repository

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 with the two alternatives proposed in the issue: an authentication:expiry field or a none scheme with expiry. Resolve which representation and RFC3339 behavior should be specified; done means the chosen model is documented and the ambiguity is removed.

Written by the indexing model from the issue text.

Assessment

Domain
authentication
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.