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

auth: auth-server: Define key management API #50

Merged
merged 1 commit into from
Oct 23, 2024

Conversation

joeykraut
Copy link
Member

Purpose

This PR defines a minimal key management API; specifically with an endpoint to add a key and another to deprecate a key.

We store API secrets encrypted under the server's symmetric encryption key, this PR adds that logic as well.

Testing

  • Tested both new endpoints, verified the database state after testing

auth/auth-server-api/src/lib.rs Show resolved Hide resolved
auth/auth-server-api/src/lib.rs Outdated Show resolved Hide resolved
auth/auth-server/src/main.rs Show resolved Hide resolved
@joeykraut joeykraut merged commit 83d5065 into main Oct 23, 2024
2 of 3 checks passed
@joeykraut joeykraut deleted the joey/api-key-interface branch October 23, 2024 01:29
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