Skip to content

Handle multiple CyberArk Vaults #1

Open
@aaearon

Description

@aaearon

Right now we depend on the user to manage PASSession on their own. This makes it next to impossible to have users add multiple SecretManagement.CyberArk SecretVaults (use case: Multiple CyberArk environments, etc.)

We should handle the PASSession on behalf of the user and as long as they pass the needed parameters as part of VaultParameters when using Register-SecretVault.

Example of how this could look

$Parameters = @{ 
    BaseURI="https://cyberark-production.example.com"
    type="CyberArk"
    Credential="$Credentials"
    concurrentSession=$true 
}

Register-SecretVault -Name ProductionVault -ModuleName SecretManagement.CyberArk -VaultParameters $Parameters -DefaultVault

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions