1. Resources
  2. /
  3. Blog
  4. /
  5. API Access Tokens

API Access Tokens

56 second read

We’ve just added a new API Access Tokens section to your Buildkite user settings to help you manage API access 🚪 and security 🔐. You can now create new tokens as you need (each with their own limited set of permissions) as well as audit which tokens are currently being used and by whom.

The new API Access Token list

The new tokens are handy if you want to programatically trigger builds from your own scripts (say, via a cron task ⏰). Simply create a token with just the write_builds permission, limit it to the one account, and then pass the token to the Builds API in the access_token query parameter 👍🏼

Creating a new API Access Token

It’s now easy to rotate your API access tokens: simply create a new token, update your build scripts, and then revoke the old token.

If you’re currently using the API with your existing API token, don’t worry: it has been migrated to your API Access Tokens list (it has access to all permissions and all of your accounts, just as before). We’ve deprecated the old API authentication api_key parameter so be sure to change it to the new ✨ access_token parameter (see the API Authentication docs for all the details).


Related posts

Start turning complexity into an advantage

Create an account to get started with a 30-day free trial. No credit card required.

Buildkite Pipelines

Platform

  1. Pipelines
  2. Pipeline templates
  3. Public pipelines
  4. Test Engine
  5. Package Registries
  6. Mobile Delivery Cloud
  7. Pricing

Hosting options

  1. Self-hosted agents
  2. Mac hosted agents
  3. Linux hosted agents

Resources

  1. Docs
  2. Blog
  3. Changelog
  4. Webinars
  5. Plugins
  6. Case studies
  7. Events

Company

  1. About
  2. Careers
  3. Press
  4. Brand assets
  5. Contact

Solutions

  1. Replace Jenkins
  2. Workflows for AI/ML

Support

  1. System status
  2. Forum