Skip to content

generateClusterRegistrationToken

Generate a JWT that can be used to register clusters with Rubrik. If ManagedByRubrikArg is not given, the product type is inferred automatically.

Arguments

Argument Type Description
input GenerateClusterRegistrationTokenInput Input required for cluster token generation based on cluster details.

Returns

ClusterRegistrationToken!

Sample

mutation {
  generateClusterRegistrationToken {
    productType
    pubkey
    token
  }
}
{}
{
  "data": {
    "generateClusterRegistrationToken": {
      "productType": "example-string",
      "pubkey": "example-string",
      "token": "example-string"
    }
  }
}