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
-
Log in to the Terraform console.
-
Select Account Settings from the user profile.
-
Select Tokens and then select Create an API token.
-
Enter Description.
-
Set the Expiration date.
Note: The expiration date should align with the security standards of your company.
-
Select Generate token.
-
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