DEV-000061 checkpoint interaction chat foundation
CI / test (push) Failing after 10s
CI / test (pull_request) Failing after 11s

This commit is contained in:
m
2026-08-17 14:10:04 +03:00
parent e4b6121dc0
commit 41154be211
26 changed files with 1376 additions and 8 deletions
+4
View File
@@ -0,0 +1,4 @@
// Package secrets defines provider-neutral references to protected runtime
// credentials. It never contains plaintext secret values.
package secrets
+28
View File
@@ -0,0 +1,28 @@
package secrets
// CredentialRef identifies a secret through canonical metadata without exposing
// the underlying secret value.
type CredentialRef string
// SecretPurpose is a typed, non-secret description of why a credential exists.
type SecretPurpose string
const (
SecretPurposeDatabasePassword SecretPurpose = "DATABASE_PASSWORD"
)
// RuntimeConsumer identifies a trusted runtime allowed to resolve a credential.
type RuntimeConsumer string
const (
RuntimeConsumerCore RuntimeConsumer = "core-runtime"
)
// SecretFileRef is bootstrap delivery metadata for the V1 protected local
// file backend. Path is a reference, not a secret value.
type SecretFileRef struct {
CredentialRef CredentialRef
Purpose SecretPurpose
Consumer RuntimeConsumer
Path string
}