{"id":30219192,"url":"https://github.com/letsencrypt/sunlight-secretmanager","last_synced_at":"2025-10-24T22:35:24.561Z","repository":{"id":308970932,"uuid":"879879144","full_name":"letsencrypt/sunlight-secretmanager","owner":"letsencrypt","description":null,"archived":false,"fork":false,"pushed_at":"2025-08-09T00:07:12.000Z","size":565,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-08-09T01:18:11.957Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"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/letsencrypt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-10-28T17:52:15.000Z","updated_at":"2025-08-01T19:13:52.000Z","dependencies_parsed_at":"2025-08-09T01:18:15.332Z","dependency_job_id":"244af8ae-9843-4fe3-b4d7-a868396c651b","html_url":"https://github.com/letsencrypt/sunlight-secretmanager","commit_stats":null,"previous_names":["letsencrypt/sunlight-secretmanager"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/letsencrypt/sunlight-secretmanager","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/letsencrypt%2Fsunlight-secretmanager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/letsencrypt%2Fsunlight-secretmanager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/letsencrypt%2Fsunlight-secretmanager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/letsencrypt%2Fsunlight-secretmanager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/letsencrypt","download_url":"https://codeload.github.com/letsencrypt/sunlight-secretmanager/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/letsencrypt%2Fsunlight-secretmanager/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280878348,"owners_count":26406641,"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-10-24T02:00:06.418Z","response_time":73,"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":[],"created_at":"2025-08-14T07:52:48.115Z","updated_at":"2025-10-24T22:35:24.534Z","avatar_url":"https://github.com/letsencrypt.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sunlight-secretmanager\n\nsunlight-secretmanager is a command-line tool to manage a\n[Sunlight](https://sunlight.dev/) CT Log's private key material.\n\nAll CT logs have a private key which they use to create Signed Certificate\nTimestamps (SCTs) and Signed Tree Heads (STHs). Sunlight does not take this\nprivate key as input directly. Instead, its configuration requires two file\npaths:\n\n- A seed file containing at least 32 bytes of random data, from which the log's\n  ECDSA P-256 key will be derived; and\n- A PEM file containing the corresponding ECDSA P-256 public key.\n\nThe purpose of sunlight-secretmanager is to authenticate to AWS Secrets Manager,\nretrieve a stored seed, use that seed to derive the corresponding pubkey, and\nwrite both files to disk in a tmpfs. It knows what seed to retrieve and where to\nwrite the output files by parsing the same config file which configures the\nSunlight log itself.\n\nIf it successfully retrieves a secret from AWS Secrets Manager but that secret\nis empty, it will generate a new seed and save it back to AWS before proceeding.\nThis allows for seamless setup of new log shards simply by adding them to\nTerraform.\n\n## Usage\n\nSign in the AWS SDK so it populates your environment with the appropriate\nvalues, and then:\n\n```shell\n$ sunlight-secretmanager -config /path/to/sunlight/config.yml\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fletsencrypt%2Fsunlight-secretmanager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fletsencrypt%2Fsunlight-secretmanager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fletsencrypt%2Fsunlight-secretmanager/lists"}