maze 6ed822c468
Some checks failed
Test / tests (darwin-amd64) (push) Successful in 20s
Test / tests (linux-amd64) (push) Successful in 21s
Test / tests (windows-amd64) (push) Failing after 24s
Test / tests (linux-arm64) (push) Successful in 4m31s
Run Gosec / tests (push) Successful in 6m20s
Moar bugs squashed
2025-09-09 17:12:13 +02:00
2025-09-09 16:54:12 +02:00
2025-09-09 17:12:13 +02:00
2025-09-04 14:14:02 +02:00
2025-09-05 16:11:07 +02:00
2025-09-08 10:40:25 +02:00
2025-09-08 11:50:11 +02:00
2025-09-05 11:48:36 +02:00
2025-09-04 14:14:02 +02:00
2025-09-05 11:48:36 +02:00
2025-09-08 11:50:11 +02:00
2025-09-08 11:50:11 +02:00
2025-09-08 10:40:25 +02:00
2025-09-04 14:14:02 +02:00
2025-09-04 14:14:02 +02:00
2025-09-04 14:14:02 +02:00
2025-09-04 14:14:02 +02:00
2025-09-05 12:23:49 +02:00
2025-09-05 12:21:54 +02:00
2025-09-04 14:14:02 +02:00
2025-09-04 14:14:02 +02:00

㊙️ Go secret

Package secret provides a simple interface for fetching secrets from a secrets provider.

The basic interface is:

type Provider interface {
	GetSecret(key string) (value []byte, err error)
}

📖 Providers

This package is targeting the following secrets providers:

🔓 Decryption

The secret provider may return encrypted values, which can be transparently descrypted by this package.

Supported decryption methods:

  • AES-GCM (AES-128-GCM, AES-256-GCM) Authenticated Encryption with Associated Data
  • RSA-OAEP Optimal Asymmetric Encryption Padding (RFC8017)
  • RSA-PKCS#1 version 1.5 (RFC2313)
  • ChaCha20-Poly1305 and XChaCha20-Poly1305 Authenticated Encryption with Associated Data (RFC8439)
  • NaCL Secretbox Secret-key authenticated encryption
Description
Idiomatic secrets management in Go
Readme 184 KiB
Languages
Go 92.2%
PowerShell 5.3%
Shell 2.5%