flytegg / flytegg/plugin-portal
Allow naming API keys
- Dominant language
- Kotlin
- Stars
- 92
- Forks
- 15
- Avg merge
- 49m
- Merged PRs (30d)
- 4
Description
## Summary
Allow users to assign human-readable names to API keys so they can tell which key belongs to which server, integration, or environment.
Credit to [Zoriot](https://github.com/Zoriot) for the report.
## Problem
When a user has multiple API keys, it is hard to identify which key is used where if keys are only shown by token prefix, creation date, or generic metadata. This makes key rotation and cleanup riskier because users may not know which live server or integration depends on a key.
## Proposed behavior
- Let users provide a name when creating an API key.
- Show the name anywhere API keys are listed or managed.
- Allow renaming an existing key without rotating it.
- Keep existing key creation working with a sensible default name when none is provided.
## Examples
- `Survival production server`
- `Test server`
- `Discord bot integration`
- `Local development`
## Implementation notes
- Store the name with the API key record or metadata, depending on the current auth/key model.
- Avoid showing full key values after creation.
- Include created date, last used date if available, and key prefix alongside the name so users can safely identify old keys.
- Validate length and trim whitespace to avoid messy key lists.
Contributor guide
Research direction
The issue does not name files or tests; start by locating the current API-key creation, listing, management, and authentication model entry points in the repository. Trace how keys are stored and exposed, then verify that named and unnamed keys can be created, listed, and renamed without revealing full key values.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- api, authentication
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100