Popularity
1.2
Growing
Activity
5.7
Declining
11
1
2

Programming language: Go
License: MIT License
Tags: Security    

secret alternatives and similar packages

Based on the "Security" category.
Alternatively, view secret alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of secret or a related project?

Add another 'Security' Package

README

GoDev Build Status Go Report Card

secret v2

What secret is?

  • It provides simple Go types like secret.Text to encapsulate your secret. Example: type Login struct { User string Password secret.Text }
  • The encapsulated secret remains inaccessible to operations like printing, logging, JSON serializtion etc. A (customizable) redact hint like ***** is returned instead.
  • The only way to access the actual secret value is by asking explicitly via the .Value() method.
  • See godev reference for usage examples.

What secret is not?

  • It is not a secret management service or your local password manager.
  • It is not a Go client to facilitate communication with secret managers like Hashicorp Vault, AWS secret Manager etc. Checkout teller if that is what you are looking for.

Installation

go get github.com/rsjethani/secret/v2

NOTE: v1 is deprectated now.