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 Settings → API 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 Credentials → Add → Morpheus, 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
root).Click Test connection, then save.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.