Skip to content

Add script for exporting KCM resources into a PAM Project template#1849

Merged
craiglurey merged 5 commits intoKeeper-Security:releasefrom
lthievenaz-keeper:pam-kcm-importer-script
Mar 6, 2026
Merged

Add script for exporting KCM resources into a PAM Project template#1849
craiglurey merged 5 commits intoKeeper-Security:releasefrom
lthievenaz-keeper:pam-kcm-importer-script

Conversation

@lthievenaz-keeper
Copy link
Contributor

With the pam project extend command, you can automatically add resources to an existing PAM model using a JSON file.

This PR adds a script - kcm_export.py - to our examples, that could be used to connect to a KCM database and automatically pull all connections and connection groups into a valid JSON file for the extend command.

The script uses a dictionary of mappings - KCM_mappings.json - to convert KCM parameters to pam project parameters. Would make this easy to update, or for end-users to customize.

Add folder and script to convert KCM resources to PAM Project Extend template
Add mapping dictionary of KCM parameters, to use in conjunction with the kcm_export.py script
Older versions of python don't support using the same quote characters on f strings - fixed
@craiglurey craiglurey merged commit 9fcc968 into Keeper-Security:release Mar 6, 2026
2 of 4 checks passed
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