KC-1352 Modernize pam project import --sample-data (no hardcoded credentials)#2213
Merged
sk-keeper merged 2 commits intoJul 16, 2026
Conversation
Restore playground generator, credential cleanup in examples/tests, and vendored keeper_dag import fixes that do not overlap with upstream. Co-authored-by: Cursor <[email protected]>
Preserve upstream NSF gateway/sync paths; delegate --sample-data to playground.py and document generated credentials. Co-authored-by: Cursor <[email protected]>
idimov-keeper
force-pushed
the
KC-1352-remove-hardcoded-demo-credentials-in-pam-project-import
branch
from
July 16, 2026 22:29
2d92cdb to
3b34d2f
Compare
sk-keeper
approved these changes
Jul 16, 2026
sk-keeper
deleted the
KC-1352-remove-hardcoded-demo-credentials-in-pam-project-import
branch
July 16, 2026 22:53
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.
Replaces the hard-coded
--sample-datablock inedit.pywith a singlepam_import/playground.pymodule. All sample data is generated per run.Changes
playground.py: generates vault records, credentials,docker-compose.yamland
docker-seccomp.jsonfor the discovery playground — no secrets in source.compose; comply with the enterprise password policy (random password meeting the
policy's rules, matching the Web Vault) and use only shell/JSON/YAML-safe chars.
record-addcommand (dot-notation fields),removing the legacy "Unknown field types" noise; expected policy/BreachWatch
warnings suppressed only for the image-fixed OpenLDAP demo creds.
docker-compose.yaml: top-levelname:from--name; Docker auto-assigns thenetwork subnet (avoids pool overlaps); gateway uses
keeper/gateway:latest,base64
GATEWAY_CONFIG, and debug logging.network_idderived from the project name (matches the compose network).--sample-dataprints only two lines (compose path + seccomp URL) and exits;--outputis ignored under-s,--nameis honored.postgresql→postgres); rotation settingsnow persist (sync before configuring rotation); OpenLDAP demo users are rotatable
and carry the
distinguishedNamekdnrm needs.mongodbprotocol but is commented out with an explanation — its KeeperDB connect needs
gateway
ConversationTypesupport that isn't shipped yet.