Get Started

Personal Access Token

Guide to create your Personal Access Token.

Introduction

Personal Access Tokens (PATs) in Outpost provide a secure way to access and interact with your repositories, services, and jobs programmatically. PATs can be used to authenticate API requests and automate workflows.

Features

  • Secure Access: Generate tokens to securely access your repositories.
  • Granular Permissions: Define specific permissions for each token.
  • Revocation: Easily revoke tokens if they are compromised or no longer needed.

Creating a Personal Access Token

  • Navigate to Settings: From your dashboard, select the 'Settings' tab.
  • Access Tokens: Click on 'Personal Access Tokens'.
  • Generate Token: Click on 'Generate New Token' and provide a name and description.
  • Set Permissions: Select the appropriate permissions for the token.
  • Create Token: Click 'Create Token' and save it securely.

Using Personal Access Tokens

  • Authentication: Use the token as a password when making API requests.
  • Automation: Integrate PATs into your CI/CD pipelines for automated workflows.
  • Revocation: Revoke tokens if they are no longer needed or compromised.

Best Practices

  • Minimal Permissions: Assign only the necessary permissions to each token.
  • Security: Store tokens securely and never share them publicly.
  • Regular Rotation: Regularly rotate your tokens to maintain security.