lablup / lablup/backend.ai

Stop serving credential secrets to administrators

Open
#14,099 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
670
Forks
183
Avg merge
15h 13m
Merged PRs (30d)
368

Description

Credential secrets - keypair secret keys, passwords, private keys - are never readable by any administrator (BEP-1077 5.3): administration is reissue and disable, and the secret is shown once to its owner at issuance. Close the legacy read paths that return another user's secret key to admins (legacy GraphQL keypair fields and any REST equivalent), keep self-reads, and make sure reissue/disable operations cover the administrative need. This is an intended narrowing - record it in the compatibility notes of the release that ships it.

Deferred: the right direction, but the frontend consumes the legacy secret-returning fields, so this lands in a later version coordinated with a WebUI release.

JIRA Issue: BA-7575

Contributor guide

Open the contributing guide

Research direction

Start by locating the legacy GraphQL keypair fields and any REST equivalent, then check how the frontend consumes those secret-returning fields. Confirm that self-reads remain available and that reissue/disable cover administration; record the narrowing in the compatibility notes for the release coordinated with the WebUI version.

Written by the indexing model from the issue text.

Assessment

Tech stack
graphql, python
Domain
api, authorization, documentation, security
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.