Personal access tokens (PATs) are general-purpose API credentials that allow external tools, scripts, and integrations to authenticate with CloudBees Unify on your behalf. PATs are not limited to a specific feature — any CloudBees Unify API operation that requires authentication accepts a PAT.

What personal access tokens are

A personal access token is a time-limited credential that represents your identity to the CloudBees Unify API. When you include a PAT in an API request, CloudBees Unify treats the request as if you made it directly, with the same permissions your account has.

PATs are distinct from your account password:

  • Your sign-in credentials authenticate you to the CloudBees Unify UI.

  • A PAT authenticates an external tool or script to the CloudBees Unify API.

This separation means you can grant API access to a tool without sharing your password, and you can revoke that access at any time by deleting the token.

How personal access tokens work

Every PAT has a fixed expiration date set at generation time. After a token expires, any tool using it loses access until you generate a new token and update the tool’s configuration.

When a token is generated, CloudBees Unify displays the token value once. After you leave the generation screen, the value cannot be retrieved — only the token name, description, and expiration date remain visible.

Why tokens instead of passwords

PATs offer several security advantages over account passwords:

  • Revocability — deleting a token immediately cuts off access without changing your password or affecting other integrations.

  • Isolation — separate tokens per tool let you revoke one integration without disrupting others.

  • Expiration — tokens expire automatically, limiting the window of exposure if a token is leaked.

Security model

Token lifecycle

Tokens expire on the date set at generation. There is no automatic renewal — when a token expires, integrations using it stop working until you generate a replacement. Use the minimum duration that meets your needs: short-lived tokens reduce exposure if leaked.

Secure storage

Treat a PAT with the same care as a password:

  • Store tokens in a secrets manager or your CI system’s secret store; never commit tokens to source control.

  • Use separate tokens for each tool or environment so that revoking one token does not affect others.

  • Rotate tokens before they expire to maintain continuous access without an outage.

Access control

A PAT carries the full permissions of the account that generated it, across all CloudBees Unify organizations that account belongs to. If your account has broad access in CloudBees Unify, your PAT has the same broad access. If your account is removed from an organization, tokens generated by that account lose access to that organization automatically.