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

Add shutdown endpoint to internal Keyper API #426

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

Conversation

ezdac
Copy link
Collaborator

@ezdac ezdac commented Jan 12, 2024

This PR adds an endpoint to the internal Keyper API that shuts down the service:

A POST <keyper-api-address>/v1/shutdown will shut down the keyper gracefully and let the program exit with signal 0.
The Keyper API is not meant to be exposed externally.

rolling-shutter/keyper/kproapi/oapi.yaml Outdated Show resolved Hide resolved
Co-authored-by: jannikluhn <jannik@brainbot.com>
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.

None yet

2 participants