Restricting a robot user to known IP addresses

Add an IP allowlist to a robot user so that its credential works only from trusted addresses, such as the egress address of your CI/CD system.

An IP allowlist ensures that a credential works only from places you trust, such as the egress address of your CI/CD system. With an allowlist in place, a stolen key is of little use from any other address.

To add an address, complete the following steps.

  1. In the IP Allowlist section of the Create Robot User drawer, click Add IP.
    Figure 1. The IP Allowlist section with the Add IP button

    The IP Allowlist section with the Add IP button
  2. In Address, enter the IPv4 address, for example 198.51.100.25.
    Figure 2. An empty address row in the IP allowlist

    An empty address row in the IP allowlist
  3. To add more addresses, click Add IP again. To remove an address, click the X next to it.

The Address field is optional. If you leave the allowlist empty, the robot user can be used from any address.