Creating a robot user

Create a robot user with a name, organization, expiration date, optional IP allowlist, and scopes, and copy its access key and secret key to a secret store.

To create a robot user, complete the following steps.

  1. Go to Configurations > Robot Users.
  2. Click Add Robot User at the upper right of the page.
  3. In the Create Robot User drawer, fill in the Robot section:
    1. In Name, enter a name that identifies the pipeline or integration that uses the account, for example demo-ci-robot.
    2. From the Organization drop-down list, select the organization in which the robot user works. The list also offers all.
    3. In Expiration Date, check the date that is pre-filled and change it if the credential must expire sooner or later.
      By default, the pre-filled date is six months after the creation date, so unused credentials stop working on their own. Six months is also the maximum that the UI allows. The earliest date that you can select is the next day.
    4. Optional: In Description, add internal notes, for example which repository or job uses the account.
    Figure 1. The Create Robot User drawer

    The Create Robot User drawer

    The following table describes the fields:

    Table 1. Robot user fields
    FieldDescription
    NameThe name of the robot user. Use one name for each pipeline or integration so that you can tell them apart in the Last Used column.
    OrganizationThe organization in which the robot user acts. all applies to every organization you can access.
    Expiration DateThe date after which the credential is rejected. The default is six months after the creation date, which is also the maximum that the UI allows. The earliest date is the next day. Choose the shortest period that suits the automation.
    Description (optional)Internal notes about the purpose and owner of the robot user.
    IP Allowlist (optional)The IP addresses that are allowed to use the credential.
  4. Optional: In the IP Allowlist section, restrict the addresses from which the robot user can call the API. For details, see Restricting a robot user to known IP addresses.
  5. Click Continue and choose the scopes that the robot user needs, then complete the creation. To select all permissions, choose all scopes.

    The form offers 49 scopes, or 47 scopes for a robot user that is not global. The domain:read and domain:write scopes are available only to global robot users.

  6. When Cloudera Cloud Factory displays the access key and the secret key, copy both to a secret store, such as a CI/CD secret variable.