Skip to content

Resource management API

To manage resources such as data products, domains, or users programmatically, use the Masthead Terraform provider.

  1. Create a token on the API Tokens page.
  2. Provide the token to the provider configuration.
terraform {
required_providers {
masthead = {
source = "masthead-data/masthead"
}
}
}
provider "masthead" {
api_token = "YOUR_API_TOKEN"
}

For a step-by-step guide on generating these tokens, see the API tokens guide.