Skip to content

Conversation

migmartri
Copy link
Member

@migmartri migmartri commented Dec 4, 2023

This is the first step towards supporting API tokens for unattended operations in the control plane #453

This patch adds api-tokens column that stores the reference (not the actual token) and implements the business logic to store, list and revoke API tokens

The next patch will add API and CLI support for this functionality

Signed-off-by: Miguel Martinez Trivino <miguel@chainloop.dev>
Signed-off-by: Miguel Martinez Trivino <miguel@chainloop.dev>
Signed-off-by: Miguel Martinez Trivino <miguel@chainloop.dev>
Signed-off-by: Miguel Martinez Trivino <miguel@chainloop.dev>
@migmartri migmartri marked this pull request as ready for review December 7, 2023 23:16
Copy link
Member

@danlishka danlishka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@migmartri migmartri changed the title Api tokens reference peristence Api tokens reference persistence Dec 11, 2023
@migmartri migmartri merged commit 6ef1449 into chainloop-dev:main Dec 11, 2023
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