Closed Bug 1774217 Opened 2 years ago Closed 1 year ago

support comments in auth tokens

Categories

(Tecken :: General, enhancement, P2)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: willkg, Assigned: willkg)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Tecken requires an auth token for uploading symbols. Tokens are tied to permissions and also destination. For example, you need one token with "upload symbols" permission to upload release symbols but you need a different token with "upload TRY symbols" permission to upload try symbols. If you had two tokens, they look identical. It's impossible to look at infrastructure configuration and know which is which.

It would be nice if we could append a name to tokens. So instead of a token like e457e12e663c45a68be541758875ae31, we could have something like e457e12e663c45a68be541758875ae31-try or e457e12e663c45a68be541758875ae31-stagetesttry.

This bug covers fleshing out some way of being able to distinguish tokens and how to implement that.

One approach is to adjust the token middleware to drop - and everything afterwards if it sees it. Then people can label their tokens however they like and it doesn't affect anything.

I think I might go for that since it's a small change and doesn't require us to update the ui.

Assignee: nobody → willkg
Status: NEW → ASSIGNED

This got deployed to production just now in bug #1854172. Marking as FIXED.

Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: