Skip to content

Provider Setup

The JITSudo Terraform provider will manage tenants, policies, notification channels, API keys, and other administrative resources as infrastructure-as-code.

terraform {
required_providers {
jitsudo = {
source = "jitsudo/jitsudo"
}
}
}
provider "jitsudo" {
api_url = "https://jitsudo.example.com"
api_key = var.jitsudo_api_key
tenant = var.jitsudo_tenant
}

Until the Terraform provider is available, all administrative operations can be performed via the REST API using API key authentication. See the API Reference for endpoints covering:

  • Tenant management (/v1/tenants)
  • Policy rules (/v1/policy-rules)
  • Notification channels (/v1/notification-channels)
  • API keys (/v1/api-keys)
  • OIDC configuration (/v1/oidc-config)
  • AWS resource sync (/v1/aws/accounts, /v1/aws/permission-sets)