secrets

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 2, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SecretRef

type SecretRef struct {
	SecretID string `json:"secret_id"`
}

SecretRef 用于引用 SecureStore 中的密钥,绝不包含明文

type SensitivePayload

type SensitivePayload struct {
	EncryptedData []byte    `json:"encrypted_data"`
	SecretRef     SecretRef `json:"secret_ref"`
}

SensitivePayload 代表经过加密或脱敏的负载

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL