Getting Started

Install IdentityCommand.CEM and connect to Cloud Visibility

Prerequisites

  • Requires Powershell Core (recommended), or Windows PowerShell (version 5.1)
  • An Idira Identity tenant with the Cloud Visibility service enabled
  • An Account to Access Idira Identity
  • The IdentityCommand module.

Install Options

Install from the PowerShell Gallery:

Install-Module -Name IdentityCommand.CEM -Scope CurrentUser

Or download the latest release, unblock and extract the archive, and copy the IdentityCommand.CEM folder into a path listed in $env:PSModulePath.

Authentication

The module requires authentication to the Idira Identity platform using the IdentityCommand module.

The IdentityCommand module must be installed and available in order to use IdentityCommand.CEM.

Authenticate with the IdentityCommand module, using New-IDSession (interactive user, including any MFA challenges) or New-IDPlatformToken (non-interactive service user). Commands find the Cloud Visibility service url from the Identity session on first use - no separate connection step is needed:

# Interactive user authentication
New-IDSession -tenant_url https://abc1234.id.cyberark.cloud -Credential $Credential

# Or non-interactive service user authentication via an OAuth platform token
New-IDPlatformToken -tenant_url https://abc1234.id.cyberark.cloud -Credential $ServiceUserCredential

Get-CEMWorkspaceDelegation -cloud_platform AWS -workspace_id '123456789012' -workspace_type account

Cloud Visibility is served from a tenant-scoped gateway (https://<subdomain>-cem.cyberark.cloud), which platform discovery publishes as the bootstrap endpoint of the cem service key.

Commands follow the current Identity session: a later New-IDSession or New-IDPlatformToken is used by the next command, and after Close-IDSession commands fail until you authenticate again.