{"id":13413790,"url":"https://github.com/rsjethani/secret","last_synced_at":"2025-04-14T07:18:36.909Z","repository":{"id":38360712,"uuid":"446423173","full_name":"rsjethani/secret","owner":"rsjethani","description":"Prevent your secrets from leaking into logs, std* etc.","archived":false,"fork":false,"pushed_at":"2024-08-16T14:20:32.000Z","size":39,"stargazers_count":28,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-08-17T15:22:58.802Z","etag":null,"topics":["go","secrets"],"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/rsjethani.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":"2022-01-10T12:54:39.000Z","updated_at":"2024-08-16T14:15:28.000Z","dependencies_parsed_at":"2024-06-19T03:50:39.435Z","dependency_job_id":"b5955a37-c3ea-4cf8-86c5-e6f73dc931f9","html_url":"https://github.com/rsjethani/secret","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsjethani%2Fsecret","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsjethani%2Fsecret/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsjethani%2Fsecret/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsjethani%2Fsecret/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rsjethani","download_url":"https://codeload.github.com/rsjethani/secret/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248837231,"owners_count":21169374,"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","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":["go","secrets"],"created_at":"2024-07-30T20:01:49.397Z","updated_at":"2025-04-14T07:18:36.879Z","avatar_url":"https://github.com/rsjethani.png","language":"Go","funding_links":[],"categories":["Security","安全","Relational Databases"],"sub_categories":["HTTP Clients","HTTP客户端"],"readme":"[![GoDev](https://img.shields.io/static/v1?label=godev\u0026message=reference\u0026color=00add8)](https://pkg.go.dev/github.com/rsjethani/secret/v3)\n[![Build Status](https://github.com/rsjethani/secret/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/rsjethani/secret/actions)\n[![Go Report Card](https://goreportcard.com/badge/github.com/rsjethani/secret)](https://goreportcard.com/report/github.com/rsjethani/secret)\n\n# Installation\n```\ngo get github.com/rsjethani/secret/v3\n```\n\n# What secret is?\nIt provides simple Go types like `Text` to securely store secrets. For example:\n```go\ntype Login struct {\n    User string\n    Password secret.Text\n}\n```\nThe encapsulated secret remains inaccessible to operations like printing, logging, JSON serialization etc. A (customizable) redact hint like `*****` is returned instead. The only way to access the actual secret value is by asking explicitly via the `.Secret()` method. See package documentation more reference and examples.\n\n# What secret is not?\n- It is not a secret management service or your local password manager.\n- It is not a Go client to facilitate communication with secret managers like Hashicorp Vault, AWS secret Manager etc. Checkout [teller](https://github.com/spectralops/teller) if that is what you are looking for.\n\n# Versions\n\n### v3\nCurrent version, same functionality as v2 but much cleaner API.\n\n### v2\nPerfectly usable but no longer maintained.\n\n### v1\nDeprecated.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frsjethani%2Fsecret","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frsjethani%2Fsecret","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frsjethani%2Fsecret/lists"}