{"id":19079067,"url":"https://github.com/goauthentik/terraform-provider-authentik","last_synced_at":"2025-09-12T17:38:57.381Z","repository":{"id":37076812,"uuid":"386218898","full_name":"goauthentik/terraform-provider-authentik","owner":"goauthentik","description":"Manage https://goauthentik.io with terraform.","archived":false,"fork":false,"pushed_at":"2025-09-11T16:36:30.000Z","size":2372,"stargazers_count":92,"open_issues_count":34,"forks_count":29,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-09-11T18:29:59.665Z","etag":null,"topics":["authentication","authentik","identity","oauth","oidc","saml","sso","terraform","terraform-provider"],"latest_commit_sha":null,"homepage":"https://registry.terraform.io/providers/goauthentik/authentik/latest/docs","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/goauthentik.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":"SECURITY.md","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},"funding":{"custom":"https://goauthentik.io/pricing/"}},"created_at":"2021-07-15T08:28:45.000Z","updated_at":"2025-09-11T16:36:34.000Z","dependencies_parsed_at":"2023-10-16T19:22:28.854Z","dependency_job_id":"a47fccb9-e877-4141-8ef3-b8ad6f5e3f5b","html_url":"https://github.com/goauthentik/terraform-provider-authentik","commit_stats":null,"previous_names":[],"tags_count":73,"template":false,"template_full_name":null,"purl":"pkg:github/goauthentik/terraform-provider-authentik","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goauthentik%2Fterraform-provider-authentik","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goauthentik%2Fterraform-provider-authentik/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goauthentik%2Fterraform-provider-authentik/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goauthentik%2Fterraform-provider-authentik/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/goauthentik","download_url":"https://codeload.github.com/goauthentik/terraform-provider-authentik/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goauthentik%2Fterraform-provider-authentik/sbom","scorecard":{"id":1241,"data":{"date":"2025-08-04","repo":{"name":"github.com/goauthentik/terraform-provider-authentik","commit":"4e8709c73fe29798852f1ef14d4a41c8e68d83f3"},"scorecard":{"version":"v5.2.1-28-gc1d103a9","commit":"c1d103a9bb9f635ec7260bf9aa0699466fa4be0e"},"score":7.1,"checks":[{"name":"Maintained","score":10,"reason":"23 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#maintained"}},{"name":"Code-Review","score":3,"reason":"Found 1/3 approved changesets -- score normalized to 3","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#code-review"}},{"name":"Security-Policy","score":9,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Info: Found linked content: SECURITY.md:1","Warn: One or no descriptive hints of disclosure, vulnerability, and/or timelines in security policy","Info: Found text in security policy: SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#security-policy"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#dangerous-workflow"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#cii-best-practices"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'contents' permission set to 'read': .github/workflows/semgrep.yml:19","Warn: topLevel 'contents' permission set to 'write': .github/workflows/release.yml:8","Warn: no topLevel permission defined: .github/workflows/semgrep.yml:1","Info: found token with 'none' permissions: .github/workflows/test.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#binary-artifacts"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: GNU General Public License v3.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#license"}},{"name":"Pinned-Dependencies","score":6,"reason":"dependency not pinned by hash detected -- score normalized to 6","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/goauthentik/terraform-provider-authentik/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/goauthentik/terraform-provider-authentik/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/semgrep.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/goauthentik/terraform-provider-authentik/semgrep.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/goauthentik/terraform-provider-authentik/test.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/goauthentik/terraform-provider-authentik/test.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:45: update your workflow using https://app.stepsecurity.io/secureworkflow/goauthentik/terraform-provider-authentik/test.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:46: update your workflow using https://app.stepsecurity.io/secureworkflow/goauthentik/terraform-provider-authentik/test.yml/main?enable=pin","Warn: containerImage not pinned by hash: .devcontainer/Dockerfile:1: pin your Docker image by updating mcr.microsoft.com/devcontainers/go:1-1.21-bookworm to mcr.microsoft.com/devcontainers/go:1-1.21-bookworm@sha256:c281c2cf26c89062162bd651e8acd11d2670415065977e86de86059cc7e3d0e6","Warn: goCommand not pinned by hash: .github/workflows/test.yml:75","Info:   0 out of   7 GitHub-owned GitHubAction dependencies pinned","Info:   9 out of   9 third-party GitHubAction dependencies pinned","Info:   0 out of   1 containerImage dependencies pinned","Info:   0 out of   1 goCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#pinned-dependencies"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#branch-protection"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/release.yml:11"],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#packaging"}},{"name":"Signed-Releases","score":8,"reason":"5 out of the last 5 releases have a total of 5 signed artifacts.","details":["Info: signed release artifact: terraform-provider-authentik_2025.6.0_SHA256SUMS.sig: https://github.com/goauthentik/terraform-provider-authentik/releases/tag/v2025.6.0","Info: signed release artifact: terraform-provider-authentik_2025.4.0_SHA256SUMS.sig: https://github.com/goauthentik/terraform-provider-authentik/releases/tag/v2025.4.0","Info: signed release artifact: terraform-provider-authentik_2025.2.0_SHA256SUMS.sig: https://github.com/goauthentik/terraform-provider-authentik/releases/tag/v2025.2.0","Info: signed release artifact: terraform-provider-authentik_2024.12.1_SHA256SUMS.sig: https://github.com/goauthentik/terraform-provider-authentik/releases/tag/v2024.12.1","Info: signed release artifact: terraform-provider-authentik_2024.12.0_SHA256SUMS.sig: https://github.com/goauthentik/terraform-provider-authentik/releases/tag/v2024.12.0","Warn: release artifact v2025.6.0 does not have provenance: https://api.github.com/repos/goauthentik/terraform-provider-authentik/releases/226128169","Warn: release artifact v2025.4.0 does not have provenance: https://api.github.com/repos/goauthentik/terraform-provider-authentik/releases/216020797","Warn: release artifact v2025.2.0 does not have provenance: https://api.github.com/repos/goauthentik/terraform-provider-authentik/releases/207722147","Warn: release artifact v2024.12.1 does not have provenance: https://api.github.com/repos/goauthentik/terraform-provider-authentik/releases/199086967","Warn: release artifact v2024.12.0 does not have provenance: https://api.github.com/repos/goauthentik/terraform-provider-authentik/releases/192129220"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#signed-releases"}},{"name":"SAST","score":9,"reason":"SAST tool is not run on all commits -- score normalized to 9","details":["Warn: 27 commits out of 28 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-14T12:34:14.038Z","repository_id":37076812,"created_at":"2025-08-14T12:34:14.039Z","updated_at":"2025-08-14T12:34:14.039Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274847914,"owners_count":25360979,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-12T02:00:09.324Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["authentication","authentik","identity","oauth","oidc","saml","sso","terraform","terraform-provider"],"created_at":"2024-11-09T02:13:12.901Z","updated_at":"2025-09-12T17:38:57.333Z","avatar_url":"https://github.com/goauthentik.png","language":"Go","funding_links":["https://goauthentik.io/pricing/"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://goauthentik.io/img/icon_top_brand_colour.svg\" height=\"150\" alt=\"authentik logo\"\u003e\n\u003c/p\u003e\n\n---\n\n[![](https://img.shields.io/discord/809154715984199690?label=Discord\u0026style=for-the-badge)](https://discord.gg/jg33eMhnj6)\n[![Code Coverage](https://img.shields.io/codecov/c/gh/goauthentik/terraform-provider-authentik?style=for-the-badge)](https://codecov.io/gh/goauthentik/terraform-provider-authentik)\n[![Latest version](https://img.shields.io/github/v/tag/goauthentik/terraform-provider-authentik?style=for-the-badge)](https://registry.terraform.io/providers/goauthentik/authentik/latest)\n[![CI Build status](https://img.shields.io/github/actions/workflow/status/goauthentik/terraform-provider-authentik/test.yml?branch=main\u0026style=for-the-badge)](https://github.com/goauthentik/terraform-provider-authentik/actions)\n\n# Terraform Provider authentik\n\nTested against authentik main and stable, on terraform 1.2.1\n\nRun the following command to build the provider\n\n```shell\nmake build\n```\n\n### Generate Documentation\n\nRun `make` from the project root to regenerate the latest provider documentation\n\n## Run tests using a Dev Container\n\nRunning the included Dev Container will create a full authentik development environment automatically as if following the instructions found here: https://goauthentik.io/docs/installation/docker-compose\n\nOnce the Dev Container is running, simply use the VS Code Command Palette or Test UI to run any tests as needed.\n\nNote: If running all tests, this is very CPU-intensive on your local authentik environment, so depending on your hardware they can take several minutes to complete.\n\n## Run tests using a local environment\n\nStart a local authentik instance by following https://goauthentik.io/docs/installation/docker-compose\n\nBefore starting the instance, add this static token to the `.env` file:\n\n```\nAUTHENTIK_TOKEN=this-token-is-for-testing-dont-use\n```\n\nAfterwards, tests can be run from VS Code with the Command Palette or Test UI, or via CLI like so:\n\n```\nexport TF_ACC=1\nexport AUTHENTIK_URL=http://localhost:9000\nexport AUTHENTIK_TOKEN=this-token-is-for-testing-dont-use\ngo test -timeout 30m ./... -count=1\n```\n\nIf you're trying to run tests with VS Code in your local environment, be sure to change `AUTHENTIK_URL` in `.vscode/settings.json` to: `\"AUTHENTIK_URL\": \"http://localhost:9000\"`\n\nNote: If running all tests, this is very CPU-intensive on your local authentik environment, so depending on your hardware they can take several minutes to complete.\n\n## Versioning\n\nThis provider's version is based on the authentik version it's tested against.\n\nProvider version 2021.8.1 is tested against 2021.8.x.\n\nProvider version 2021.8.2 is tested against 2021.8.x but has some bugfixes.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoauthentik%2Fterraform-provider-authentik","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgoauthentik%2Fterraform-provider-authentik","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoauthentik%2Fterraform-provider-authentik/lists"}