cyberark / epv-api-scripts

These API scripts enable CyberArk users to automate privileged account management task like account creation, user management, and more.
https://www.cyberark.com/best
Apache License 2.0
203 stars 176 forks source link

Function to create identity authentication header #277

Closed Ethlas closed 2 years ago

Ethlas commented 2 years ago

Desired Outcome

*Creating a module to be able to run a command that creates an authentication header for Identity ISPSS to later be used in other scripts

Implemented Changes

Describe how the desired outcome above has been achieved with this PR. In particular, consider:

Should look like this:

Name                           Value
----                           -----
X-IDAP-NATIVE-CLIENT           true
Authorization                  Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ5REJCQjc

Connected Issue/Story

Definition of Done

At least 1 todo must be completed in the sections below for the PR to be merged.

Changelog

Test coverage

Documentation

Behavior

Security