[6/x] API Keys#33
Draft
JoshuaGabriel wants to merge 6 commits into
Draft
Conversation
admin-only API keys persisted into mon's kv store. machine clients can auth without resuing human oauth password Signed-off-by: Joshua Blanch <joshua.blanch@clyso.com>
Move Login/Logout/Check to /api/v1/auth/* NewServer takes apiKeyStore directly Signed-off-by: Joshua Blanch <joshua.blanch@clyso.com>
auth api-key create to create an API key with all admin perms Signed-off-by: Joshua Blanch <joshua.blanch@clyso.com>
we call config-key get <api> to make sure this key doesn't exist yet but this existence check is a bit noisy since it logs as an ERR Signed-off-by: Joshua Blanch <joshua.blanch@clyso.com>
scope format: config-opt:read config-opt:read/update cli: ceph-api auth api-key create --scope config-opt:read --scope config-opt:update Signed-off-by: Joshua Blanch <joshua.blanch@clyso.com>
Signed-off-by: Joshua Blanch <joshua.blanch@clyso.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add config-key backed API keys, including CLI creation support and inline scope definitions.
Scoped API keys can restrict access by resource
These API keys are stored in the monitor's DB
stacked ontop of #32