resolve_secret
Function
This function is defined in the secrets module.Resolve a credential input to a :class:
SecretResolution.
Backward compatible: a plain string is returned verbatim (with the existing
${ENV} convention honoured), so plaintext configs keep working. A
:class:SecretRef (or its {"source", "id"} dict form) is resolved via
the matching resolver. A resolved value is registered for log redaction
unless redact=False.
Signature
Parameters
SecretInput
required
No description available.
Returns
SecretResolution
The result of the operation.
Uses
SecretResolutionregister_secret_for_redactionresolve
Source
View on GitHub
praisonaiagents/secrets.py at line 207
