{"id":16103977,"url":"https://github.com/deyaeddin/cert-manager-webhook-hetzner","last_synced_at":"2025-08-23T04:13:07.051Z","repository":{"id":38848821,"uuid":"366130050","full_name":"deyaeddin/cert-manager-webhook-hetzner","owner":"deyaeddin","description":"cert-manager webhook for Hetzner DNS Public API (1.1.1)","archived":false,"fork":false,"pushed_at":"2023-02-15T04:59:45.000Z","size":319,"stargazers_count":7,"open_issues_count":4,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-03T15:31:43.017Z","etag":null,"topics":["cert-manager-webhook","hetzner-api","kubernetes-service"],"latest_commit_sha":null,"homepage":" https://dns.hetzner.com/api-docs","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/deyaeddin.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":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-10T17:49:54.000Z","updated_at":"2023-01-31T18:53:38.000Z","dependencies_parsed_at":"2023-02-17T13:55:22.370Z","dependency_job_id":null,"html_url":"https://github.com/deyaeddin/cert-manager-webhook-hetzner","commit_stats":{"total_commits":99,"total_committers":4,"mean_commits":24.75,"dds":"0.16161616161616166","last_synced_commit":"1eb1f4ae28c66110ee5ec37c895c623818b6f4a8"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/deyaeddin/cert-manager-webhook-hetzner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deyaeddin%2Fcert-manager-webhook-hetzner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deyaeddin%2Fcert-manager-webhook-hetzner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deyaeddin%2Fcert-manager-webhook-hetzner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deyaeddin%2Fcert-manager-webhook-hetzner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deyaeddin","download_url":"https://codeload.github.com/deyaeddin/cert-manager-webhook-hetzner/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deyaeddin%2Fcert-manager-webhook-hetzner/sbom","scorecard":{"id":338825,"data":{"date":"2025-08-11","repo":{"name":"github.com/deyaeddin/cert-manager-webhook-hetzner","commit":"1eb1f4ae28c66110ee5ec37c895c623818b6f4a8"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.8,"checks":[{"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/cleanup.yml:1","Warn: no topLevel permission defined: .github/workflows/imageoptimizer.yml:1","Warn: no topLevel permission defined: .github/workflows/linting.yml:1","Warn: no topLevel permission defined: .github/workflows/release.yml:1","Warn: no topLevel permission defined: .github/workflows/testing.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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":0,"reason":"Found 1/19 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":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"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":"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: Apache 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":"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":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"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":-1,"reason":"no releases found","details":null,"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":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/cleanup.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/deyaeddin/cert-manager-webhook-hetzner/cleanup.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/imageoptimizer.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/deyaeddin/cert-manager-webhook-hetzner/imageoptimizer.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/imageoptimizer.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/deyaeddin/cert-manager-webhook-hetzner/imageoptimizer.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/linting.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/deyaeddin/cert-manager-webhook-hetzner/linting.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/linting.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/deyaeddin/cert-manager-webhook-hetzner/linting.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/linting.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/deyaeddin/cert-manager-webhook-hetzner/linting.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/linting.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/deyaeddin/cert-manager-webhook-hetzner/linting.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/linting.yml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/deyaeddin/cert-manager-webhook-hetzner/linting.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/linting.yml:47: update your workflow using https://app.stepsecurity.io/secureworkflow/deyaeddin/cert-manager-webhook-hetzner/linting.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/linting.yml:50: update your workflow using https://app.stepsecurity.io/secureworkflow/deyaeddin/cert-manager-webhook-hetzner/linting.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/linting.yml:62: update your workflow using https://app.stepsecurity.io/secureworkflow/deyaeddin/cert-manager-webhook-hetzner/linting.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/linting.yml:65: update your workflow using https://app.stepsecurity.io/secureworkflow/deyaeddin/cert-manager-webhook-hetzner/linting.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/deyaeddin/cert-manager-webhook-hetzner/release.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/deyaeddin/cert-manager-webhook-hetzner/release.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/deyaeddin/cert-manager-webhook-hetzner/release.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/deyaeddin/cert-manager-webhook-hetzner/release.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/deyaeddin/cert-manager-webhook-hetzner/release.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:46: update your workflow using https://app.stepsecurity.io/secureworkflow/deyaeddin/cert-manager-webhook-hetzner/release.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:54: update your workflow using https://app.stepsecurity.io/secureworkflow/deyaeddin/cert-manager-webhook-hetzner/release.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:64: update your workflow using https://app.stepsecurity.io/secureworkflow/deyaeddin/cert-manager-webhook-hetzner/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/testing.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/deyaeddin/cert-manager-webhook-hetzner/testing.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/testing.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/deyaeddin/cert-manager-webhook-hetzner/testing.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/testing.yml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/deyaeddin/cert-manager-webhook-hetzner/testing.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/testing.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/deyaeddin/cert-manager-webhook-hetzner/testing.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/testing.yml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/deyaeddin/cert-manager-webhook-hetzner/testing.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/testing.yml:43: update your workflow using https://app.stepsecurity.io/secureworkflow/deyaeddin/cert-manager-webhook-hetzner/testing.yml/main?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:2","Warn: containerImage not pinned by hash: Dockerfile:13","Warn: containerImage not pinned by hash: Dockerfile:19: pin your Docker image by updating alpine:3.14.0 to alpine:3.14.0@sha256:adab3844f497ab9171f070d4cae4114b5aec565ac772e2f2579405b78be67c96","Info:   0 out of   9 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of  17 third-party GitHubAction dependencies pinned","Info:   0 out of   3 containerImage 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":3,"reason":"7 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-0603 / GHSA-hp87-p4gw-j4gq"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 21 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-18T05:19:00.876Z","repository_id":38848821,"created_at":"2025-08-18T05:19:00.876Z","updated_at":"2025-08-18T05:19:00.876Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271740732,"owners_count":24812642,"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-08-23T02:00:09.327Z","response_time":69,"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":["cert-manager-webhook","hetzner-api","kubernetes-service"],"created_at":"2024-10-09T18:59:18.032Z","updated_at":"2025-08-23T04:13:07.016Z","avatar_url":"https://github.com/deyaeddin.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n[![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/cert-manager-webhook-hetzner)](https://artifacthub.io/packages/search?repo=cert-manager-webhook-hetzner)\n\n**Note**: this is based on the project [vadimkim/cert-manager-webhook-hetzner](https://github.com/vadimkim/cert-manager-webhook-hetzner)\n\n# ACME webhook for Hetzner DNS API\n\nThis solver can be used when you want to use cert-manager with Hetzner DNS API. API documentation is [here](https://dns.hetzner.com/api-docs)\n\n## Requirements\n-   [go](https://golang.org/) \u003e= 1.16.0\n-   [helm](https://helm.sh/) \u003e= v3.0.0\n-   [kubernetes](https://kubernetes.io/) \u003e= v1.14.0\n-   [cert-manager](https://cert-manager.io/) \u003e= v1.3.1\n\n## Installation\n\n### cert-manager\n\nFollow the [instructions](https://cert-manager.io/docs/installation/) using the cert-manager documentation to install it within your cluster.\n\n### Webhook\n\n#### Using public helm chart\n```bash\nhelm repo add deyaeddin https://deyaeddin.github.io/cert-manager-webhook-hetzner/chart/\n\n\"deyaeddin\" has been added to your repositories\n\n# now let's install our Chart from our repository\nhelm install my-cert-manager-webhook-hetzner deyaeddin/cert-manager-webhook-hetzner --version 0.1.x\n\n```\n\n#### From local checkout\n\n```bash\nhelm install --namespace cert-manager cert-manager-webhook-hetzner chart/cert-manager-webhook-hetzner\n```\n**Note**: The kubernetes resources used to install the Webhook should be deployed within the same namespace as the cert-manager.\n\nTo uninstall the webhook run\n```bash\nhelm uninstall --namespace cert-manager cert-manager-webhook-hetzner\n```\n\n## Issuer\n\nCreate a `ClusterIssuer` or `Issuer` resource as following:\n```yaml\napiVersion: cert-manager.io/v1\nkind: ClusterIssuer\nmetadata:\n  name: letsencrypt-staging\nspec:\n  acme:\n    # The ACME server URL\n    server: https://acme-staging-v02.api.letsencrypt.org/directory\n\n    # Email address used for ACME registration\n    email: mail@example.com # REPLACE THIS WITH YOUR EMAIL!!!\n\n    # Name of a secret used to store the ACME account private key\n    privateKeySecretRef:\n      name: letsencrypt-staging\n\n    solvers:\n      - dns01:\n          webhook:\n            groupName: acme.unique.company.name\n            solverName: hetzner\n            config:\n              secretName: hetzner-secret\n              zoneName: example.com. # REPLACE THIS WITH YOUR ZONE!!!\n              apiUrl: https://dns.hetzner.com/api/v1\n```\n\n### Credentials\nIn order to access the Hetzner API, the webhook needs an API token.\n\nIf you choose another name for the secret than `hetzner-secret`, ensure you modify the value of `secretName` in the `[Cluster]Issuer`.\n\nThe secret for the example above will look like this (for encoding your api token into base64, refer to Running the test suite example) :\n```yaml\napiVersion: v1\nkind: Secret\nmetadata:\n  name: hetzner-secret\ntype: Opaque\ndata:\n  api-key: your-key-base64-encoded\n```\n\n**Note: if you are using terraform to create a resource \"kubernetes_secret\" ... then you should not hash the your-key. \n\n### Create a certificate\n\nFinally you can create certificates, for example:\n\n```yaml\napiVersion: cert-manager.io/v1\nkind: Certificate\nmetadata:\n  name: example-cert\n  namespace: cert-manager\nspec:\n  commonName: example.com\n  dnsNames:\n    - example.com\n  issuerRef:\n    name: letsencrypt-staging\n    kind: ClusterIssuer\n  secretName: example-cert\n```\n\n## Development\n\n### Running the test suite\n\nAll DNS providers **must** run the DNS01 provider conformance testing suite,\nelse they will have undetermined behaviour when used with cert-manager.\n\n**It is essential that you configure and run the test suite when creating a\nDNS01 webhook.**\n\nFirst, you need to have Hetzner account with access to DNS control panel. You need to create API token and have a registered and verified DNS zone there.\nThen you need to create 2 environment variables:\n\n - `TEST_ZONE_NAME` to be used as `zoneName` parameter for the generated `testdata/hetzner/config.json` file during the testing.\n - `HCLOUD_DNS_API_TOKEN` to fill out the api-key field in the generated secret `testdata/hetzner/hetzner-secret.yml` file. You must encode your api token into base64 and use the hash \n\nExample generating encoded api-key hash:\n```bash\necho -n xxxxxxxxxxxxxxxxxxxxxxxxxxx | base64\n```\n\nYou can then run the test suite with:\n\n```bash\nexport TEST_ZONE_NAME=example.com.\nexport HCLOUD_DNS_API_TOKEN={result of echo -n xxxxxxxxxxxxxxxxxxxxxxxxxxx | base64}\nmake test\n```\n\n**Note** : resolved FQDN must end with '.', therefore, zoneName must end with the same.\n\n* **If you are forking this, you need to put these variables in repo secrets as used in [testing.yml](https://github.com/deyaeddin/cert-manager-webhook-hetzner/blob/6b1264fc49adad427901a8177f26789be626d352/.github/workflows/testing.yml#L18)** \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeyaeddin%2Fcert-manager-webhook-hetzner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeyaeddin%2Fcert-manager-webhook-hetzner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeyaeddin%2Fcert-manager-webhook-hetzner/lists"}