Revoking agents

Revoke an agent that runs outside the Anywhere Cloud cluster, so that Cloudera Migration Assistant stops accepting it. You can also cancel a registration that has not been used yet.

You have the cma-admin role.

  1. In the navigation pane of Cloudera Migration Assistant, click Agents.
  2. Click the Registration tab.
  3. In the Agents section, find the agent, and click Revoke.
    A confirmation dialog is displayed.
  4. Click Revoke.
    The status of the agent is Revoked. Cloudera Migration Assistant deletes the credentials of the agent, and revokes its Anywhere Cloud access key.

Cloudera Migration Assistant no longer accepts the agent. An access token that the agent already has stays valid until it expires, which takes up to about an hour. To stop the agent at once, also stop its service in Cloudera Manager.

If Cloudera Migration Assistant cannot reach Anywhere Cloud to revoke the access key, it displays an error. The agent stays revoked in Cloudera Migration Assistant. For how access keys and tokens work in Anywhere Cloud, see Creating tokens for using the API in the Anywhere Cloud documentation.

To cancel a registration that has not been used, click Cancel for an agent with the status Pending or Expired, and then click Cancel registration. The token stops working.

To use the agent again, generate a new token with the same name, and register the agent again. See Generating registration tokens.

Agents on the Anywhere Cloud cluster have no registration to revoke. To remove one, delete its engine instance. See Removing Cloudera Migration Assistant.