Skip to main content
Morpheus clusters are in closed beta. The workflow is still evolving and access is limited. Contact us to request access before relying on it.
Morpheus API credentials store the Morpheus appliance URL and a long-lived API access token, used to provision and manage self-managed Morpheus clusters. The token is validated when you save it - Ankra calls the appliance’s identity endpoint (GET /api/whoami). For appliances behind an SSH jumphost, the direct probe is skipped and the connection is tested during cluster provisioning instead.
Morpheus credentials are managed from the portal or API - there is no ankra credentials morpheus CLI command.

What Ankra Accesses

Ankra drives the Morpheus appliance API with your token: There is no finer token scoping on the Morpheus side: the token acts as its user, so that user must be able to see the target group and cloud and provision instances into them.

Creating a Morpheus API Credential

1

Get a Morpheus access token

In the Morpheus UI, go to User SettingsAPI Access and create a long-lived access token for a user that can provision into the target group and cloud.
2

Add to Ankra (UI)

Go to CredentialsAddMorpheus, then provide:
  • Name: a unique identifier - lowercase letters and numbers only, cannot start with a hyphen (e.g. morpheus-lab)
  • Appliance URL: the HTTPS address of your Morpheus appliance (e.g. https://morpheus.example.com)
  • Access Token: the token from the previous step
  • Skip TLS certificate verification: enable only for self-signed certificates on trusted networks
For appliances that are not directly reachable, expand SSH jumphost and set the jumphost host and private key (port defaults to 22, username to root).Click Test connection, then save.
For Morpheus clusters you also need an SSH key credential, created from the portal or generated via another provider’s CLI.
The access token can be rotated later from the credential’s page. The appliance URL is fixed - to point at a different appliance, create a new credential.

Troubleshooting Morpheus Credentials

The table below covers the Test connection result in the Ankra UI: Test connection verifies the token identifies a user, not what that user may do. If the credential saves fine but provisioning fails, the token’s user cannot see or provision into the selected group and cloud - fix the user’s Morpheus role, or create a token for a user that can and rotate it in on the credential’s page.