Master Branch | Latest Build | CodeFactor | Coverage | PowerShell Gallery | License |
---|---|---|---|---|---|
Use PowerShell to retrieve credentials from the CyberArk Central Credential Provider Web Service or a local Credential Provider SDK.
Supply the AppID and URL to the CyberArk Central Credential Provider Web Service.
Specify relevant parameter values needed to find the required account.
Set the path to the CLIPasswordSDK.exe utility. This value will persist, and be imported each time the CredentialRetriever module is imported.
Supply the AppID & relevant parameter values needed to find the required account.
Where required for downstream consumption, easily convert returned password to a
System.Security.SecureString
, using the ToSecureString()
Method.
Use the ToCredential()
Method to convert the returned Username/Password to a PSCredential
Object.
- Requires Powershell v5.1 (minimum)
- CyberArk Central Credential Provider Web Service, And\Or
- CyberArk Credential Provider
This repository contains a folder named CredentialRetriever
.
The folder needs to be copied to one of your PowerShell Module Directories.
Use one of the following methods:
PowerShell 5.0 or above & Administrator rights are required.
To download the module from the PowerShell Gallery,
from an elevated PowerShell prompt, run:
Install-Module -Name CredentialRetriever -Scope CurrentUser
Find your PowerShell Module Paths with the following command:
$env:PSModulePath.split(';')
Extract the archive
Copy the CredentialRetriever
folder to your "Powershell Modules" directory of choice.
Validate Module Exists on your local machine:
Get-Module -ListAvailable CredentialRetriever
Import the module:
Import-Module CredentialRetriever
Get detailed information on commands:
Get-Help Get-CCPCredential -Full
All notable changes to this project will be documented in the Changelog
- Pete Maan - pspete
This project is licensed under the MIT License.
Any and all contributions to this project are appreciated.
See the CONTRIBUTING.md for a few more details.