We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b137c0 commit 53ae1abCopy full SHA for 53ae1ab
1 file changed
core/cli_wrappers.go
@@ -96,6 +96,16 @@ func DefaultKeyGenerator() KeyGenerator { return sshKeyGen{} }
96
// SetDefaultKeyManager so callers don't need to import `core/db`.
97
func SetDefaultKeyManager(m KeyManager) { db.SetDefaultKeyManager(m) }
98
99
+// SetAuditContext sets process-level audit metadata for subsequent writes.
100
+func SetAuditContext(clientImplementation, referrer string) {
101
+ db.SetAuditContext(clientImplementation, referrer)
102
+}
103
+
104
+// ClearAuditContext clears process-level audit metadata for subsequent writes.
105
+func ClearAuditContext() {
106
+ db.ClearAuditContext()
107
108
109
// (SetDefaultAccountManager is implemented in defaults_db.go and also
110
// delegates to the DB package; no duplicate implementation here.)
111
0 commit comments