Skip to main content

desentinelize

Function
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

Parameters

str
required
No description available.

Returns

str
The result of the operation.

Uses

  • findall

Source

View on GitHub

praisonaiagents/secrets.py at line 450