Skip to content

Conversation

@segiddins
Copy link
Contributor

Now that we allow creating API keys with a custom expiration time (that is immutable to users), we want to allow API keys made to be intentionally super short-lived to skip MFA

This is useful for allowing a user to mint a single API token for 10 minutes and use it for multiple requests in that timeframe without needing to supply MFA on each request

@segiddins segiddins requested review from indirect and martinemde May 8, 2024 04:54
Now that we allow creating API keys with a custom expiration time (that is immutable to users), we want to allow API keys made to be intentionally super short-lived to skip MFA

This is useful for allowing a user to mint a single API token for 10 minutes and use it for multiple requests in that timeframe without needing to supply MFA on each request
@segiddins segiddins force-pushed the segiddins/allow-api-keys-valid-for-less-than-15min-total-to-skip-mfa branch from 7e5c9c4 to f7a0559 Compare May 8, 2024 06:52
@codecov
Copy link

codecov bot commented May 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.11%. Comparing base (a2d46d5) to head (f7a0559).
Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4691      +/-   ##
==========================================
+ Coverage   97.10%   97.11%   +0.01%     
==========================================
  Files         392      393       +1     
  Lines        8279     8326      +47     
==========================================
+ Hits         8039     8086      +47     
  Misses        240      240              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@segiddins segiddins merged commit 4fc57f6 into master May 8, 2024
@segiddins segiddins deleted the segiddins/allow-api-keys-valid-for-less-than-15min-total-to-skip-mfa branch May 8, 2024 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants