desentinelize • AI Agent SDK
desentinelize: Substitute every known sentinel in “text“ back to its real secret.
desentinelize
Function
</div>
This function is defined in the secrets module.
Substitute every known sentinel in `text` back to its real secret.
Called by an egress guard only once a host has been allowlisted, to put the real credential on the wire. Text with no sentinel is returned unchanged, so this is safe to call on every outbound request.
Signature
def desentinelize(text: str) -> strParameters
ParamField
strNo description available.
Returns
ResponseField
strThe result of the operation.
Uses
findall
Source
View on GitHubpraisonaiagents/secrets.py at line 450