Skip to content

Dune PSModule — Installation & Login

This quick reference explains start and use the Dune PowerShell module (public functions only). Keep it nearby for newcomers and CI scripts.

Requirements

  • PowerShell: PowerShell 5.1 (Windows) or PowerShell 7+ (recommended).
  • Network:
  • Internet access to install psmodule from powershellgallery
  • Access to the Dune API endpoint for your tenant.

Install

  • Install from powershellgallery: import the module code directly from the repo root:
Install-Module dune

Start / Authenticate

  • Interactive using Social Login (default):
Connect-Dune -Tenant "yendico"

This will open the social login prompt in the browser, please login with granted account. Once logged in, it will cache the session for further console sessions

  • Credential-based:
$cred = Get-Credential
Connect-Dune -Tenant "yendico" -Credential $cred -DuneInstance Dev
  • Bearer token:
Connect-Dune -Tenant "yendico" -BearerToken "<token>"
  • Disconnect:
Disconnect-Dune

This will delete the cached session. Use -KeepCachedSession in order to keep it.

Finding Help

  • Use PowerShell help to view the generated comment-based help for public functions:
Get-Help Get-DuneResource -Full
Get-Help Remove-DuneDeployment -Examples