Using the credentials

A pipeline supplies the access key and secret key of a robot user to the Cloudera Cloud Factory API, and the keys must be stored and used securely.

A pipeline supplies the access key and the secret key to the Cloudera Cloud Factory API in the same way as any other programmatic credential. For request formats and endpoints, see the API reference documentation.

Follow these practices when you store and use the keys:

  • Store the keys in the secret store of your CI/CD system. Never commit them to a repository or print them in job logs.
  • Pass them to the job as masked environment variables rather than writing them into scripts.
  • Use separate robot users for separate environments, so that revoking one does not break the others.

Cloudera recommends that you create a separate robot user for each automation instead of sharing one credential between a person and an automation, so that you can remove one without affecting the other. For more information, see Client authentication in Security.