PM-947: Commander IdP CLI commands - Track D#1869
Open
tbjones-ks wants to merge 1 commit intoPM-947-privileged-cloud-managementfrom
Open
PM-947: Commander IdP CLI commands - Track D#1869tbjones-ks wants to merge 1 commit intoPM-947-privileged-cloud-managementfrom
tbjones-ks wants to merge 1 commit intoPM-947-privileged-cloud-managementfrom
Conversation
Change List: - Added field encryption for user/meta fields sent to gateway using record key - Added gateway response decryption for group list and provision commands - Added --domain flag to provision with validation for username format - Added --save-record flag to save provisioned user as pamUser record with Azure User ID - Added --delete-record flag to deprovision to remove associated pamUser record - Added friendly error message parsing for Azure API errors - Updated all IdP commands to check data.success in gateway responses
ee9867e to
5775832
Compare
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.
Summary
Implement end-to-end Commander CLI support for Identity Provider operations (provision, deprovision, group management) with full encryption, error handling, and record management.
Issue
Changes
userandmetafields using PAM config record key (AES-GCM)--domainflag to provision command with username format validation--save-record/-sflag to save provisioned credentials aspamUserrecord withAzure User IDcustom field--delete-record/-dflag to deprovision command to remove associated vault record (auto-find by Azure User ID or explicit record UID)_friendly_error()helper to parse Azure API errors into user-friendly messages_dispatch_idp_action()to checkdata.successin gateway responsesCommands Updated
pam idp user provision— encryption,--domain,--save-record,--folderpam idp user deprovision— encryption,--delete-recordpam idp group list— response decryption, member count displaypam idp group add-user— encryptionpam idp group remove-user— encryptionBreaking Changes
None
Testing Performed