Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: api keys support for CLI/backend/auth #1387

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

arybitskiy
Copy link
Contributor

📚 Description

API keys are stored in Unkey and also in database (that is needed for removing a key, since it is removed and verified by two different keys).
All the metadata is stored on unkey side.
Supports expiresAt.
CLI commands:

codemod api-keys:create --name "Custom Name" --expiresAt "2025-02-02"
codemod api-keys:list
codemod api-keys:delete --includes codemod # removes any key that partially matches `includes` param

🔗 Linked Issue

🧪 Test Plan

📄 Documentation to Update

@arybitskiy arybitskiy self-assigned this Nov 20, 2024
Copy link

vercel bot commented Nov 20, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
codemod ⬜️ Ignored (Inspect) Visit Preview Nov 25, 2024 1:28pm

Copy link

pkg-pr-new bot commented Nov 20, 2024

Open in Stackblitz

npm i https://pkg.pr.new/codemod@1387

commit: eea3060

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