maze 524f759bfd
Some checks failed
test / test-default (push) Failing after 20s
Configure Vault token in test
2025-09-09 11:01:45 +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%