{"id":41532588,"url":"https://github.com/inferadb/terraform-provider-inferadb","last_synced_at":"2026-01-23T23:10:39.053Z","repository":{"id":324348489,"uuid":"1096902991","full_name":"inferadb/terraform-provider-inferadb","owner":"inferadb","description":"InferaDB Terraform provider — manage orgs, vaults, clients, teams","archived":false,"fork":false,"pushed_at":"2026-01-19T22:19:01.000Z","size":134,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-20T05:31:57.345Z","etag":null,"topics":["access-control","authorization","fine-grained-access-control","grpc","inferadb","jwt","permissions","provider","rebac","rest-api","terraform","zanzibar"],"latest_commit_sha":null,"homepage":"https://inferadb.com","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/inferadb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-15T06:37:59.000Z","updated_at":"2026-01-19T22:17:28.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/inferadb/terraform-provider-inferadb","commit_stats":null,"previous_names":["inferadb/terraform-provider-inferadb"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/inferadb/terraform-provider-inferadb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inferadb%2Fterraform-provider-inferadb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inferadb%2Fterraform-provider-inferadb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inferadb%2Fterraform-provider-inferadb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inferadb%2Fterraform-provider-inferadb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/inferadb","download_url":"https://codeload.github.com/inferadb/terraform-provider-inferadb/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inferadb%2Fterraform-provider-inferadb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28702943,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T17:25:48.045Z","status":"ssl_error","status_checked_at":"2026-01-23T17:25:47.153Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["access-control","authorization","fine-grained-access-control","grpc","inferadb","jwt","permissions","provider","rebac","rest-api","terraform","zanzibar"],"created_at":"2026-01-23T23:10:38.362Z","updated_at":"2026-01-23T23:10:39.047Z","avatar_url":"https://github.com/inferadb.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n    \u003cp\u003e\u003ca href=\"https://inferadb.com\"\u003e\u003cimg src=\".github/inferadb.png\" width=\"100\" alt=\"InferaDB Logo\" /\u003e\u003c/a\u003e\u003c/p\u003e\n    \u003ch1\u003eInferaDB Terraform Provider\u003c/h1\u003e\n    \u003cp\u003e\n        \u003ca href=\"https://discord.gg/inferadb\"\u003e\u003cimg src=\"https://img.shields.io/badge/Discord-Join%20us-5865F2?logo=discord\u0026logoColor=white\" alt=\"Discord\" /\u003e\u003c/a\u003e\n        \u003ca href=\"#license\"\u003e\u003cimg src=\"https://img.shields.io/badge/license-MIT%2FApache--2.0-blue.svg\" alt=\"License\" /\u003e\u003c/a\u003e\n    \u003c/p\u003e\n    \u003cp\u003eManage InferaDB organizations, vaults, clients, teams, and access grants\u003c/p\u003e\n\u003c/div\u003e\n\n\u003e [!IMPORTANT]\n\u003e Under active development. Not production-ready.\n\n## Requirements\n\n- [Terraform](https://developer.hashicorp.com/terraform/downloads) \u003e= 1.0\n- [Go](https://golang.org/doc/install) \u003e= 1.23 (to build from source)\n\n## Installation\n\n### From Source\n\n```bash\ngit clone https://github.com/inferadb/terraform-provider-inferadb.git\ncd terraform-provider-inferadb\ngo build -v ./...\ngo install -v ./...\n```\n\n## Usage\n\n```hcl\nterraform {\n  required_providers {\n    inferadb = {\n      source = \"inferadb/inferadb\"\n    }\n  }\n}\n\nprovider \"inferadb\" {\n  endpoint      = \"https://api.inferadb.com\"\n  session_token = var.inferadb_session_token\n}\n\n# Create an organization\nresource \"inferadb_organization\" \"example\" {\n  name = \"My Organization\"\n  tier = \"dev\"\n}\n\n# Create a vault\nresource \"inferadb_vault\" \"production\" {\n  organization_id = inferadb_organization.example.id\n  name            = \"Production Policies\"\n  description     = \"Authorization policies for production\"\n}\n\n# Create a client (backend service identity)\nresource \"inferadb_client\" \"api\" {\n  organization_id = inferadb_organization.example.id\n  vault_id        = inferadb_vault.production.id\n  name            = \"API Server\"\n}\n\n# Generate a certificate for the client\nresource \"inferadb_client_certificate\" \"api_cert\" {\n  organization_id = inferadb_organization.example.id\n  client_id       = inferadb_client.api.id\n  name            = \"API Certificate 2025\"\n}\n\n# Output the private key (only available on creation!)\noutput \"api_private_key\" {\n  value     = inferadb_client_certificate.api_cert.private_key_pem\n  sensitive = true\n}\n```\n\n## Authentication\n\nThe provider requires a session token. Provide it via:\n\n1. Provider configuration: `session_token = \"...\"`\n2. Environment variable: `INFERADB_SESSION_TOKEN`\n\nTo obtain a session token, log in via the InferaDB CLI:\n\n```bash\ninferadb login\n```\n\n## Resources\n\n| Resource                      | Description                                     |\n| ----------------------------- | ----------------------------------------------- |\n| `inferadb_organization`       | Manages organizations                           |\n| `inferadb_vault`              | Manages vaults for authorization policies       |\n| `inferadb_client`             | Manages client identities for backend services  |\n| `inferadb_client_certificate` | Generates client authentication certificates    |\n| `inferadb_team`               | Manages teams for group access control          |\n| `inferadb_team_member`        | Manages team memberships                        |\n| `inferadb_vault_user_grant`   | Grants users vault access                       |\n| `inferadb_vault_team_grant`   | Grants teams vault access                       |\n\n## Data Sources\n\n| Data Source             | Description              |\n| ----------------------- | ------------------------ |\n| `inferadb_organization` | Reads organization data  |\n| `inferadb_vault`        | Reads vault data         |\n| `inferadb_client`       | Reads client data        |\n| `inferadb_team`         | Reads team data          |\n\n## Development\n\n```bash\n# Build\ngo build -v ./...\n\n# Run tests\ngo test -v -cover -timeout=120s -parallel=4 ./...\n\n# Run acceptance tests (requires TF_ACC=1 and API credentials)\nTF_ACC=1 go test -v -cover -timeout 120m ./...\n\n# Generate documentation\ngo run github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs\n\n# Format code\ngofmt -s -w -e .\n\n# Run linter\ngolangci-lint run\n```\n\n## Related Resources\n\n- [InferaDB Documentation](https://inferadb.com/docs)\n- [Control API OpenAPI Spec](../control/openapi.yaml)\n- [Engine Terraform Modules](../engine/terraform/)\n\n## Community\n\nJoin us on [Discord](https://discord.gg/inferadb) for questions, discussions, and contributions.\n\n## License\n\nDual-licensed under [MIT](LICENSE-MIT) or [Apache 2.0](LICENSE-APACHE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finferadb%2Fterraform-provider-inferadb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finferadb%2Fterraform-provider-inferadb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finferadb%2Fterraform-provider-inferadb/lists"}