Skip to content

PAM Project Extend - Add support for stringified JSON#1969

Closed
lthievenaz-keeper wants to merge 1 commit intoKeeper-Security:masterfrom
lthievenaz-keeper:pam-extend-accept-stringified-json
Closed

PAM Project Extend - Add support for stringified JSON#1969
lthievenaz-keeper wants to merge 1 commit intoKeeper-Security:masterfrom
lthievenaz-keeper:pam-extend-accept-stringified-json

Conversation

@lthievenaz-keeper
Copy link
Copy Markdown
Contributor

PAM Project Extend command requires physical file with sensitive credential data. This commit adds support for passing stringified JSON data in the filename directly, rather than a filepath.

Command syntax:

CLI

pam project extend -c <config_uid> -f "{\"pam_data\":{\"resources\":[...],\"users\":[...]}

SDK

from keepercommander.commands.pam_import.extend PAMProjectExtendCommand

data = json.dumps(list_records)
PAMProjectExtendCommand().execute(params,config=config_uid, file_name=data)

PAM Project Extend command requires physical file with sensitive credential data.
This commit adds support for passing stringified JSON data in the filename directly, rather than a filepath.
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.

1 participant