- Read SSH access:
GET /clusters/{clusterId}/ssh-access - Read a kubeconfig:
GET /clusters/{clusterId}/kubeconfig
These endpoints take the organization as
organizationId, not businessOrgId as the other Platform
endpoints do.Read SSH access
clusters.ssh.
Slurm SSH requires organization membership and the organization’s SSH permission. A Kubernetes resource grant
does not provide SSH access.
Returns the SSH gateway address, its host key, and your login name on the cluster. The response is not cached
(Cache-Control: no-store). For the full flow, see Connect over SSH.
Parameters
Response
This response usessnake_case. An authorized request returns 200 even when access is not ready, with
ready: false and a reason. Connection details can be empty until ready is true.
Readiness is per person, but the cluster applies one access list for everyone, so another person’s change can
briefly delay your new logins.
ready does not wait for compute nodes or your Slurm accounting association, so SSH can work before job submission
does. It can also still describe an earlier change. To confirm that a specific change has reached the cluster, see
Wait for access. After you revoke your last key, ready stays false with
reason: no_keys.
Example
Errors
Pending access, an inactive cluster, a missing gateway, and a stale report all return
200 with ready: false. The
reason table says what to do for each. Kubernetes-only clusters have no SSH
endpoint; use a kubeconfig instead.
Read a kubeconfig
clusters.kubernetes in the owning organization, or a live Kubernetes resource
grant on the cluster or one of its namespaces. Organization membership is not required for the resource-grant path.
Returns a kubeconfig for the cluster’s Kubernetes API. It holds no credentials. Instead, it runs
kubectl oidc-login, which signs you in with your Andromeda account the
first time you use it. The response is not cached (Cache-Control: no-store). For the full flow, see
Connect with kubectl.