Create Terraform API token

  • Release version: Australia
  • Updated March 12, 2026
  • 1 minute to read
  • Generating API tokens with limited permissions enhances security, enables fine-grained control, facilitates automation, and provides temporary access within your Terraform organization.

    Before you begin

    Role required: Terraform admin

    Procedure

    1. Log in to the Terraform console.
    2. Select Account Settings from the user profile.
    3. Select Tokens and then select Create an API token.
    4. Enter Description.
    5. Set the Expiration date.
      Note:
      The expiration date should align with the security standards of your company.
    6. Select Generate token.
    7. Share the following details with the ServiceNow admin to register in the ServiceNow instance:
      • VCS Identifier or the GitHub repository location, where you have stored the Terraform template, for example: https://github.com/<your_repository>/cam-create-aws-account.
      • Terraform Organization Name
      • Terraform OAuth Token ID
      • Terraform API Key Token
      • Terraform URL

    What to do next

    Setting up Cloud Account Management in Cloud Workspace

    Add members to the group

    Set up Terraform API key in ServiceNow.

    Set up scan configuration for data visualization.