Skip to content

feat: add name field to API tokens#3788

Open
setswei wants to merge 1 commit intosemaphoreui:developfrom
setswei:feature/api-token-name
Open

feat: add name field to API tokens#3788
setswei wants to merge 1 commit intosemaphoreui:developfrom
setswei:feature/api-token-name

Conversation

@setswei
Copy link
Copy Markdown

@setswei setswei commented Apr 17, 2026

  • Add Name field to APIToken model
  • Add v2.17.18 SQL migration to add name column to user__token table
  • Update SQLite bootstrap migration to include name column
  • Update createAPIToken API handler to accept optional name in request body
  • Add name column to tokens table in frontend
  • Add dialog prompt for token name when creating new tokens

- Add Name field to APIToken model
- Add v2.17.18 SQL migration to add name column to user__token table
- Update SQLite bootstrap migration to include name column
- Update createAPIToken API handler to accept optional name in request body
- Add name column to tokens table in frontend
- Add dialog prompt for token name when creating new tokens
@setswei setswei force-pushed the feature/api-token-name branch from 1b924ee to 0622d98 Compare April 17, 2026 13:27
@setswei
Copy link
Copy Markdown
Author

setswei commented Apr 17, 2026

I have been using semaphoreui for quite some time now, and i am starting to use a lot of API tokens to allow other tools to integrate with it. I follow strict security practices within the environments i work with, and one of these is that each integration needs to have its own credentials, etc.

So i added a name field to the API Tokens section that allows you to add a descriptive name to the token. all tests, db migration files have been updated to support this.

image

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.

1 participant