{"id":19001261,"url":"https://github.com/strongdm/terraform-provider-sdm","last_synced_at":"2026-04-03T02:01:31.062Z","repository":{"id":41244209,"uuid":"245226493","full_name":"strongdm/terraform-provider-sdm","owner":"strongdm","description":"strongDM Terraform Provider","archived":false,"fork":false,"pushed_at":"2026-03-05T19:47:54.000Z","size":19661,"stargazers_count":20,"open_issues_count":5,"forks_count":13,"subscribers_count":18,"default_branch":"master","last_synced_at":"2026-03-05T22:51:46.427Z","etag":null,"topics":["automation","strongdm","terraform","terraform-provider"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/strongdm.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"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":"2020-03-05T17:29:14.000Z","updated_at":"2026-03-05T19:47:58.000Z","dependencies_parsed_at":"2023-09-22T08:20:33.294Z","dependency_job_id":"3287bef0-8711-488e-8883-03e3cf319cc1","html_url":"https://github.com/strongdm/terraform-provider-sdm","commit_stats":null,"previous_names":[],"tags_count":214,"template":false,"template_full_name":null,"purl":"pkg:github/strongdm/terraform-provider-sdm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strongdm%2Fterraform-provider-sdm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strongdm%2Fterraform-provider-sdm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strongdm%2Fterraform-provider-sdm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strongdm%2Fterraform-provider-sdm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/strongdm","download_url":"https://codeload.github.com/strongdm/terraform-provider-sdm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strongdm%2Fterraform-provider-sdm/sbom","scorecard":{"id":855514,"data":{"date":"2025-08-11","repo":{"name":"github.com/strongdm/terraform-provider-sdm","commit":"cbc6324e8d14390bc096e10a0109b326a64072e9"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":8,"reason":"10 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 8","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/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: Mozilla Public License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"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-sdm_15.7.0_SHA256SUMS.sig: https://github.com/strongdm/terraform-provider-sdm/releases/tag/v15.7.0","Info: signed release artifact: terraform-provider-sdm_15.6.0_SHA256SUMS.sig: https://github.com/strongdm/terraform-provider-sdm/releases/tag/v15.6.0","Info: signed release artifact: terraform-provider-sdm_15.5.0_SHA256SUMS.sig: https://github.com/strongdm/terraform-provider-sdm/releases/tag/v15.5.0","Info: signed release artifact: terraform-provider-sdm_14.26.0_SHA256SUMS.sig: https://github.com/strongdm/terraform-provider-sdm/releases/tag/v14.26.0","Info: signed release artifact: terraform-provider-sdm_14.25.0_SHA256SUMS.sig: https://github.com/strongdm/terraform-provider-sdm/releases/tag/v14.25.0","Warn: release artifact v15.7.0 does not have provenance: https://api.github.com/repos/strongdm/terraform-provider-sdm/releases/240284509","Warn: release artifact v15.6.0 does not have provenance: https://api.github.com/repos/strongdm/terraform-provider-sdm/releases/239691658","Warn: release artifact v15.5.0 does not have provenance: https://api.github.com/repos/strongdm/terraform-provider-sdm/releases/237637073","Warn: release artifact v14.26.0 does not have provenance: https://api.github.com/repos/strongdm/terraform-provider-sdm/releases/227517277","Warn: release artifact v14.25.0 does not have provenance: https://api.github.com/repos/strongdm/terraform-provider-sdm/releases/226692303"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Pinned-Dependencies","score":3,"reason":"dependency not pinned by hash detected -- score normalized to 3","details":["Warn: goCommand not pinned by hash: scripts/errcheck.sh:8","Warn: goCommand not pinned by hash: vendor/github.com/agext/levenshtein/test.sh:5","Warn: goCommand not pinned by hash: vendor/google.golang.org/grpc/regenerate.sh:35","Warn: goCommand not pinned by hash: vendor/google.golang.org/grpc/vet.sh:38","Warn: goCommand not pinned by hash: vendor/google.golang.org/grpc/vet.sh:48","Info:   3 out of   8 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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Vulnerabilities","score":0,"reason":"23 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2022-0968 / GHSA-gwc9-m7rh-j2ww","Warn: Project is vulnerable to: GO-2021-0356 / GHSA-8c26-wmh5-6g9v","Warn: Project is vulnerable to: GO-2024-2961","Warn: Project is vulnerable to: GO-2023-2402 / GHSA-45x7-px36-x8w8","Warn: Project is vulnerable to: GO-2024-3321 / GHSA-v778-237x-gjrc","Warn: Project is vulnerable to: GO-2025-3487 / GHSA-hcg3-q754-cr77","Warn: Project is vulnerable to: GO-2022-0236 / GHSA-h86h-8ppg-mxmh","Warn: Project is vulnerable to: GO-2021-0238 / GHSA-83g2-8m93-v3w7","Warn: Project is vulnerable to: GO-2022-0288","Warn: Project is vulnerable to: GO-2022-0969 / GHSA-69cg-p879-7622","Warn: Project is vulnerable to: GO-2022-1144 / GHSA-xrjj-mj9h-534m","Warn: Project is vulnerable to: GO-2023-1571 / GHSA-vvpx-j8f3-3w6h","Warn: Project is vulnerable to: GO-2023-1988 / GHSA-2wrh-6pvc-2jm9","Warn: Project is vulnerable to: GO-2023-2102 / GHSA-4374-p667-p6c8","Warn: Project is vulnerable to: GO-2023-2153 / GHSA-m425-mq94-257g / GHSA-qppj-fm5r-hxr3","Warn: Project is vulnerable to: GO-2024-2687 / GHSA-4v7x-pqxf-cx7m","Warn: Project is vulnerable to: GO-2024-3333","Warn: Project is vulnerable to: GO-2025-3503 / GHSA-qxp5-gwg8-xv66","Warn: Project is vulnerable to: GO-2025-3595 / GHSA-vvgc-356p-c3xw","Warn: Project is vulnerable to: GO-2022-0493 / GHSA-p782-xgp4-8hr8","Warn: Project is vulnerable to: GO-2021-0113 / GHSA-ppp9-7jff-5vj2","Warn: Project is vulnerable to: GO-2022-1059 / GHSA-69ch-w2m2-3vjp","Warn: Project is vulnerable to: GO-2024-2611 / GHSA-8r3f-844c-mc37"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-23T23:48:36.241Z","repository_id":41244209,"created_at":"2025-08-23T23:48:36.241Z","updated_at":"2025-08-23T23:48:36.241Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31326841,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-03T01:42:14.489Z","status":"online","status_checked_at":"2026-04-03T02:00:06.642Z","response_time":107,"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":["automation","strongdm","terraform","terraform-provider"],"created_at":"2024-11-08T18:10:31.444Z","updated_at":"2026-04-03T02:01:31.032Z","avatar_url":"https://github.com/strongdm.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Terraform Provider for StrongDM\n\nYou can use the StrongDM Terraform provider to configure and manage your StrongDM account and resources. This project allows you to leverage Terraform to complete the following tasks in StrongDM:\n\n* Create and register gateways or relays\n* Enroll databases, servers, clusters, and websites\n* Create, manage, and suspend users\n* Grant user and resource access\n* Manage roles\n* Manage access workflows\n\nFor more detailed examples using the StrongDM provider and Amazon Web Services (AWS) or Microsoft Azure, check the following resources:\n\n* [Quick Start StrongDM with Terraform and AWS](https://www.strongdm.com/docs/automation/configuration-management-tools/terraform/quick-start-aws/)\n* [Quick Start StrongDM with Terraform and Azure](https://www.strongdm.com/docs/automation/configuration-management-tools/terraform/quick-start-azure/)\n\n## Requirements\n\n- [Terraform](https://www.terraform.io/downloads.html) 0.13+\n\n## Versioning\n\nStrongDM uses [semantic versioning](https://semver.org/). We do not guarantee\ncompatibility between major versions. Be sure to use version constraints to pin\nyour dependency to the desired major version of the StrongDM Terraform provider.\n\n## Authentication\n\nIf you do not already have them, you must [generate a set of API keys](https://www.strongdm.com/docs/admin-guide/api-credentials/).\n\n### Environment Variables\n\nYou can provide your credentials via the SDM_API_ACCESS_KEY and\nSDM_API_SECRET_KEY environment variables.\n\n```sh\n$ export SDM_API_ACCESS_KEY=\"\u003cACCESS_KEY\u003e\"\n$ export SDM_API_SECRET_KEY=\"\u003cSECRET_KEY\u003e\"\n$ terraform plan\n```\n\nProvider statement\n\n```hcl\nprovider \"sdm\" {}\n```\n\n### Direct\n\nIf it is not possible to use environment variables, add the API keys directly to\nthe provider statement as follows:\n\n```hcl\nprovider \"sdm\" {\n    api_access_key = \"\u003cACCESS_KEY\u003e\"\n    api_secret_key = \"\u003cSECRET_KEY\u003e\"\n}\n```\n\n## Basic Example\n\nUse the following basic example to [create a gateway](https://www.strongdm.com/docs/admin-ui-guide/network/gateways/) in StrongDM with the Terraform provider.\n\n```hcl\nresource \"sdm_node\" \"example_gateway\" {\n    gateway {\n        name = \"example gateway\"\n        listen_address = \"localhost:5000\"\n        bind_address = \"0.0.0.0:5000\"\n    }\n}\n```\n\n```shell\n$ terraform plan\n$ terraform apply\n```\n\n## Useful Links\n\n- [StrongDM Terraform provider](https://registry.terraform.io/providers/strongdm/sdm/latest/docs) documentation\n- [Migrating from v2 to v3](https://github.com/strongdm/terraform-provider-sdm/releases/tag/v3.0.0)\n- [Migrating from Role Grants to Access Rules](https://registry.terraform.io/providers/strongdm/sdm/2.0.0/docs/guides/migrating_from_role_grants_to_access_rules)\n- Examples: [GitHub - strongdm/terraform-provider-sdm-examples](https://github.com/strongdm/terraform-provider-sdm-examples)\n  - [Managing Resources](https://github.com/strongdm/terraform-provider-sdm-examples/tree/master/1_managing_resources)\n  - [Managing Gateways](https://github.com/strongdm/terraform-provider-sdm-examples/tree/master/4_managing_gateways)\n  - [Managing Roles](https://github.com/strongdm/terraform-provider-sdm-examples/tree/master/3_managing_roles)\n  - [Managing Accounts](https://github.com/strongdm/terraform-provider-sdm-examples/tree/master/2_managing_accounts)\n  - [Managing Access Workflows](https://github.com/strongdm/terraform-provider-sdm-examples/tree/master/5_managing_workflows)\n  - [Quick Start StrongDM with Terraform and AWS](https://www.strongdm.com/docs/automation/configuration-management-tools/terraform/quick-start-aws/)\n  - [Quick Start StrongDM with Terraform and Azure](https://www.strongdm.com/docs/automation/configuration-management-tools/terraform/quick-start-azure/)\n\n## Contributions\n\nCurrently, we are not accepting pull requests directly to this repository, but\nour users are some of the most resourceful and ambitious folks out there. If\nyou have something to contribute, find a bug, or just want to give us some\nfeedback, please email \u003csupport@strongdm.com\u003e.\n\n## Running Integration Tests\n\n_**Important:** These are integration tests. They will create and destroy real\nresources in your account!_\n\n1. First, clone this repository.\n\n2. In order to run the tests you must set these environment variables so that the\nprovider can authenticate:\n\n```sh\n$ export SDM_API_ACCESS_KEY=\"\u003cACCESS_KEY\u003e\"\n$ export SDM_API_SECRET_KEY=\"\u003cSECRET_KEY\u003e\"\n```\n\n3. From the cloned repo, run:\n\n```sh\n$ cd terraform-provider-sdm\n$ TF_ACC=yes go test ./sdm -v -count=1 -mod=vendor\n```\n\nYou must set `TF_ACC=yes` in order to run tests. IF `TF_ACC=yes` is not set, all\ntests will pass without any action.\n\n## License\n\n[Mozilla Public License 2.0](https://github.com/strongdm/terraform-provider-sdm/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrongdm%2Fterraform-provider-sdm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstrongdm%2Fterraform-provider-sdm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrongdm%2Fterraform-provider-sdm/lists"}