{"id":41904129,"url":"https://github.com/sorenmat/github-secret","last_synced_at":"2026-01-25T15:13:34.602Z","repository":{"id":57510308,"uuid":"237641071","full_name":"sorenmat/github-secret","owner":"sorenmat","description":"Go library for accessing Githubs secrets API","archived":false,"fork":false,"pushed_at":"2020-02-03T16:08:11.000Z","size":18,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-20T05:12:11.598Z","etag":null,"topics":["github","golang","secret"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sorenmat.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}},"created_at":"2020-02-01T16:15:12.000Z","updated_at":"2020-02-03T16:06:16.000Z","dependencies_parsed_at":"2022-09-26T17:50:52.789Z","dependency_job_id":null,"html_url":"https://github.com/sorenmat/github-secret","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/sorenmat/github-secret","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sorenmat%2Fgithub-secret","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sorenmat%2Fgithub-secret/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sorenmat%2Fgithub-secret/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sorenmat%2Fgithub-secret/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sorenmat","download_url":"https://codeload.github.com/sorenmat/github-secret/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sorenmat%2Fgithub-secret/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28754817,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-25T13:59:49.818Z","status":"ssl_error","status_checked_at":"2026-01-25T13:59:33.728Z","response_time":113,"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":["github","golang","secret"],"created_at":"2026-01-25T15:13:33.983Z","updated_at":"2026-01-25T15:13:34.597Z","avatar_url":"https://github.com/sorenmat.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# github-secret\nGo library for accessing Githubs secrets API\n\n\n## Build\n`go build`\n\n## Install\n`go install`\n\n\n## Godoc\n\n```\nFUNCTIONS\n\nfunc DeleteSecret(org, repo, name, token string) error\n    DeleteSecret deletes a given secret in a repository\n\nfunc Updatesecret(org, repo, name, value, token string) error\n    Updatesecret will create or update a given secret. Please note this calls\n    PrivateKey in order to fetch the given public for that repostiory in the\n    organization\n\n\nTYPES\n\ntype GithubPublickey struct {\n\tKey   string `json:\"key\"`\n\tKeyID string `json:\"key_id\"`\n}\n\nfunc GetPublickey(org, repo, token string) *GithubPublickey\n    GetPublickey retrieves the public key from a give repository in a given\n    organizaion\n\ntype Secret struct {\n\tCreatedAt string `json:\"created_at\"`\n\tName      string `json:\"name\"`\n\tUpdatedAt string `json:\"updated_at\"`\n}\n    Secret is the represenation of a single secret, node this contains on the\n    name of the secret and not the actual decrypted value\n\nfunc GetSecret(org, repo, name, token string) *Secret\n    GetSecret finds a given secret in a repository\n\ntype Secrets struct {\n\tTotalCount int      `json:\"total_count\"`\n\tSecrets    []Secret `json:\"secrets\"`\n}\n    Secrets contain all the secrets from a repository\n\nfunc GetSecrets(org, repo, token string) *Secrets\n    GetSecrets get's all the secrets from a repository in a organization\n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsorenmat%2Fgithub-secret","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsorenmat%2Fgithub-secret","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsorenmat%2Fgithub-secret/lists"}