Versions in this module Expand all Collapse all v0 v0.0.14 Jan 4, 2026 v0.0.13 Jan 3, 2026 v0.0.12 Jan 3, 2026 v0.0.11 Jan 3, 2026 v0.0.10 Jan 3, 2026 v0.0.9 Jan 3, 2026 v0.0.8 Dec 31, 2025 v0.0.7 Dec 29, 2025 v0.0.6 Dec 17, 2025 v0.0.5 Dec 12, 2025 v0.0.4 Dec 8, 2025 v0.0.3 Dec 8, 2025 Changes in this version + const ErrCodeAccessDenied + const ErrCodeDecryptionFailed + const ErrCodeEncryptionFailed + const ErrCodeInvalidPath + const ErrCodeInvalidRequest + const ErrCodeInvalidValueType + const ErrCodeMasterKeyInvalid + const ErrCodeMasterKeyRequired + const ErrCodeRollbackFailed + const ErrCodeSchemaInvalid + const ErrCodeSecretExists + const ErrCodeSecretExpired + const ErrCodeSecretNotFound + const ErrCodeValidationFailed + const ErrCodeVersionNotFound + const MaxPathLength + const MaxPathSegments + const MinPathLength + const PathSeparator + func BuildTree(paths []string) map[string][]string + func ConfigKeyToPath(configKey string) string + func ErrAccessDenied(reason string) error + func ErrAppContextRequired() error + func ErrDecryptionFailed(cause error) error + func ErrDeserializationFailed(valueType string, cause error) error + func ErrEncryptionFailed(cause error) error + func ErrEnvironmentContextRequired() error + func ErrInvalidPath(path string, reason string) error + func ErrInvalidRequest(reason string, cause error) error + func ErrInvalidValueType(valueType string) error + func ErrMasterKeyInvalid(reason string) error + func ErrMasterKeyRequired() error + func ErrPathRequired() error + func ErrRollbackFailed(reason string, cause error) error + func ErrSchemaInvalid(reason string, cause error) error + func ErrSecretExists(path string) error + func ErrSecretExpired(path string) error + func ErrSecretNotFound(identifier string) error + func ErrSecretNotFoundByPath(path string) error + func ErrSerializationFailed(valueType string, cause error) error + func ErrValidationFailed(reason string, cause error) error + func ErrValueRequired() error + func ErrVersionNotFound(secretID string, version int) error + func ExtractFolders(paths []string) []string + func GetAncestorPaths(path string) []string + func GetDepth(path string) int + func GetKey(path string) string + func GetParentPath(path string) string + func IsValidPath(path string) bool + func JoinPath(segments ...string) string + func MatchesPrefix(path, prefix string) bool + func NormalizePath(path string) string + func ParsePath(path string) (segments []string, key string, err error) + func PathToConfigKey(path string) string + func SortByPath(paths []string) + type CreateSecretRequest struct + Description string + ExpiresAt *time.Time + Metadata map[string]interface{} + Path string + Schema string + Tags []string + Value interface{} + ValueType string + type GetAccessLogsQuery struct + Action string + FromDate *time.Time + Page int + PageSize int + ToDate *time.Time + type GetVersionsQuery struct + Page int + PageSize int + type ListAccessLogsResponse struct + Logs []*SecretAccessLogDTO + Page int + PageSize int + TotalItems int + TotalPages int + type ListSecretsQuery struct + Page int + PageSize int + Prefix string + Recursive bool + Search string + SortBy string + SortOrder string + Tags []string + ValueType string + type ListSecretsResponse struct + Page int + PageSize int + Secrets []*SecretDTO + TotalItems int + TotalPages int + type ListVersionsResponse struct + Page int + PageSize int + TotalItems int + TotalPages int + Versions []*SecretVersionDTO + type RevealValueResponse struct + Value interface{} + ValueType string + type RollbackSecretRequest struct + Reason string + TargetVersion int + type SecretAccessLogDTO struct + AccessMethod string + AccessedBy string + Action string + CreatedAt time.Time + ErrorMessage string + ID string + IPAddress string + Path string + SecretID string + Success bool + type SecretDTO struct + CreatedAt time.Time + CreatedBy string + Description string + ExpiresAt *time.Time + HasExpiry bool + HasSchema bool + ID string + IsActive bool + Key string + Metadata map[string]interface{} + Path string + Tags []string + UpdatedAt time.Time + UpdatedBy string + ValueType string + Version int + type SecretTreeNode struct + Children []*SecretTreeNode + IsSecret bool + Name string + Path string + Secret *SecretDTO + type SecretValueType string + const SecretValueTypeBinary + const SecretValueTypeJSON + const SecretValueTypePlain + const SecretValueTypeYAML + func ParseSecretValueType(s string) (SecretValueType, bool) + func (t SecretValueType) IsValid() bool + func (t SecretValueType) String() string + type SecretVersionDTO struct + ChangeReason string + ChangedBy string + CreatedAt time.Time + HasSchema bool + ID string + ValueType string + Version int + type SecretWithValueDTO struct + Value interface{} + type StatsDTO struct + ExpiredSecrets int + ExpiringSecrets int + RecentlyUpdated int + SecretsByType map[string]int + TotalSecrets int + TotalVersions int + type UpdateSecretRequest struct + ChangeReason string + ClearExpiry bool + Description string + ExpiresAt *time.Time + Metadata map[string]interface{} + Schema string + Tags []string + Value interface{} + ValueType string