This example is available on GitHub: examples/01_standalone_sdk/12_custom_secrets.py
examples/01_standalone_sdk/12_custom_secrets.py
Running the Example
Injecting Secrets
Use theupdate_secrets() method to add secrets to your conversation, as shown in the example above.
Secrets can be provided as static strings or as callable functions that dynamically retrieve values, enabling integration with external secret stores and credential management systems:
Next Steps
- MCP Integration - Connect to MCP
- Security Analyzer - Add security validation

