Public/Get-OnePAMConfig.ps1

function Get-OnePAMConfig {
    <#
    .SYNOPSIS
        Displays the current OnePAM client configuration.
    .DESCRIPTION
        Reads and returns the configuration from ~/.onepam/config.json,
        including API base URL and organization UUID.
    .EXAMPLE
        Get-OnePAMConfig
    #>

    [CmdletBinding()]
    param()

    $cfg = Get-OpConfig

    [PSCustomObject]@{
        api_base = $cfg.api_base
        org_uuid = $cfg.org_uuid
    }
}