{
  "id": "terraform_cloud_api_token",
  "kind": "datatype",
  "status": "draft",
  "name": "HashiCorp Terraform Cloud API token",
  "doc": "User or organization API token of HashiCorp Terraform Cloud: 14 letters and digits, the marker .atlasv1. and 60 to 70 more letters, digits and the characters _ - =.",
  "parent": "access_token",
  "is_pii": false,
  "categories": [
    "secrets"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^[A-Za-z0-9]{14}\\.atlasv1\\.[A-Za-z0-9_=-]{60,70}$",
  "examples": [
    {
      "value": "ExampleTokenAB.atlasv1.NotReal",
      "description": "Too short",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "other",
      "url": "https://github.com/gitleaks/gitleaks/blob/master/config/gitleaks.toml"
    },
    {
      "type": "other",
      "url": "https://github.com/trufflesecurity/trufflehog/blob/main/pkg/detectors/terraformcloudpersonaltoken/terraformcloudpersonaltoken.go"
    }
  ],
  "detected_by": {
    "tools": [
      "gitleaks",
      "trufflehog"
    ]
  },
  "quality": {
    "score": 63,
    "missing": [
      "examples",
      "authoritative source link",
      "mapping (Wikidata, Schema.org, ...)",
      "translation"
    ]
  },
  "source": {
    "path": "data/datatypes/any/secrets/terraform_cloud_api_token.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/secrets/terraform_cloud_api_token.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/secrets/terraform_cloud_api_token.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/terraform_cloud_api_token",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/terraform_cloud_api_token.json"
  }
}