# derek-hartman/powercyberark architecture

> Architecture diagram of the GitHub repository derek-hartman/powercyberark, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-14). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/derek-hartman/powercyberark
- Repository: https://github.com/derek-hartman/powercyberark

## Overview

PowerCyberArk is a PowerShell module for CyberArk EPM. Its documented user workflow is to place the module in a module directory, import it, and use its functions. The named public functions cover authentication, computer operations, and set-list retrieval. The README identifies the EPM API as the product context, but no source excerpts were provided, so function internals and calls between components are not shown here.

Main entry points: [`1.0.0/PowerCyberArk.psm1`](https://github.com/derek-hartman/powercyberark/blob/main/1.0.0/PowerCyberArk.psm1) (PowerCyberArk Module), [`1.0.0/Public/Get-CyberArkBasicAuth.ps1`](https://github.com/derek-hartman/powercyberark/blob/main/1.0.0/Public/Get-CyberArkBasicAuth.ps1) (Basic Auth), [`1.0.0/Public/Get-CyberArkSAMLAuth.ps1`](https://github.com/derek-hartman/powercyberark/blob/main/1.0.0/Public/Get-CyberArkSAMLAuth.ps1) (SAML Auth), [`1.0.0/Public/Get-CyberArkComputer.ps1`](https://github.com/derek-hartman/powercyberark/blob/main/1.0.0/Public/Get-CyberArkComputer.ps1) (Get Computer)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_module["Module"]
  node_module_entry["PowerCyberArk Module<br/>[PowerCyberArk.psm1]"]
  node_manifest["Module Manifest<br/>[PowerCyberArk.psd1]"]
end

subgraph group_auth["Authentication"]
  node_basic_auth["Basic Auth"]
  node_saml_auth["SAML Auth"]
end

subgraph group_computers["Computer Operations"]
  node_get_computer["Get Computer"]
  node_remove_computer["Remove Computer"]
end

subgraph group_sets["Set Retrieval"]
  node_get_set_list["Get Set List"]
end

node_user(("PowerShell User"))
node_epm["CyberArk EPM"]

node_user -->|"imports module"| node_module_entry
node_module_entry -->|"provides functions"| node_basic_auth
node_module_entry -->|"provides functions"| node_saml_auth
node_module_entry -->|"provides functions"| node_get_computer
node_module_entry -->|"provides functions"| node_remove_computer
node_module_entry -->|"provides functions"| node_get_set_list
node_module_entry -->|"for EPM"| node_epm

click node_module_entry "https://github.com/derek-hartman/powercyberark/blob/main/1.0.0/PowerCyberArk.psm1"
click node_manifest "https://github.com/derek-hartman/powercyberark/blob/main/1.0.0/PowerCyberArk.psd1"
click node_basic_auth "https://github.com/derek-hartman/powercyberark/blob/main/1.0.0/Public/Get-CyberArkBasicAuth.ps1"
click node_saml_auth "https://github.com/derek-hartman/powercyberark/blob/main/1.0.0/Public/Get-CyberArkSAMLAuth.ps1"
click node_get_computer "https://github.com/derek-hartman/powercyberark/blob/main/1.0.0/Public/Get-CyberArkComputer.ps1"
click node_remove_computer "https://github.com/derek-hartman/powercyberark/blob/main/1.0.0/Public/Remove-CyberArkComputerByID.ps1"
click node_get_set_list "https://github.com/derek-hartman/powercyberark/blob/main/1.0.0/Public/Get-CyberArkSetList.ps1"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_module_entry,node_manifest,node_user toneBlue
class node_basic_auth,node_saml_auth toneAmber
class node_get_computer,node_remove_computer toneMint
class node_get_set_list toneRose
class node_epm toneIndigo
```

## Components

### Module

- [PowerCyberArk Module](https://github.com/derek-hartman/powercyberark/blob/main/1.0.0/PowerCyberArk.psm1): `1.0.0/PowerCyberArk.psm1`
- [Module Manifest](https://github.com/derek-hartman/powercyberark/blob/main/1.0.0/PowerCyberArk.psd1): `1.0.0/PowerCyberArk.psd1`

### Authentication

- [Basic Auth](https://github.com/derek-hartman/powercyberark/blob/main/1.0.0/Public/Get-CyberArkBasicAuth.ps1): `1.0.0/Public/Get-CyberArkBasicAuth.ps1`
- [SAML Auth](https://github.com/derek-hartman/powercyberark/blob/main/1.0.0/Public/Get-CyberArkSAMLAuth.ps1): `1.0.0/Public/Get-CyberArkSAMLAuth.ps1`

### Computer Operations

- [Get Computer](https://github.com/derek-hartman/powercyberark/blob/main/1.0.0/Public/Get-CyberArkComputer.ps1): `1.0.0/Public/Get-CyberArkComputer.ps1`
- [Remove Computer](https://github.com/derek-hartman/powercyberark/blob/main/1.0.0/Public/Remove-CyberArkComputerByID.ps1): `1.0.0/Public/Remove-CyberArkComputerByID.ps1`

### Set Retrieval

- [Get Set List](https://github.com/derek-hartman/powercyberark/blob/main/1.0.0/Public/Get-CyberArkSetList.ps1): `1.0.0/Public/Get-CyberArkSetList.ps1`

### Other components

- **PowerShell User**
- **CyberArk EPM**

## Connections

- PowerShell User → PowerCyberArk Module: imports module (evidence: `README.md`)
- PowerCyberArk Module → Basic Auth: provides functions (evidence: `README.md`)
- PowerCyberArk Module → SAML Auth: provides functions (evidence: `README.md`)
- PowerCyberArk Module → Get Computer: provides functions (evidence: `README.md`)
- PowerCyberArk Module → Remove Computer: provides functions (evidence: `README.md`)
- PowerCyberArk Module → Get Set List: provides functions (evidence: `README.md`)
- PowerCyberArk Module → CyberArk EPM: for EPM (evidence: `README.md`)
