generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 589
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Problem Statement
Currently, when using set_attribute with Langfuse integration in strands-agent, there's no built-in mechanism to mask sensitive data before it's logged or traced. This creates potential security and privacy concerns when dealing with:
- API keys and credentials
- PII (Personally Identifiable Information)
- Customer data
- Internal system information
- Other sensitive attributes
Proposed Solution
Add a mask() function (or similar masking utility) that can be called before set_attribute() to automatically mask or redact sensitive information. This would provide a standardized, secure way to handle sensitive data in agent attributes.
Use Case
- Langfuse Tracing: Mask sensitive data before it's sent to Langfuse for observability
- Debugging: Allow developers to debug with realistic data shapes without exposing actual values
- Compliance: Meet security and privacy requirements (GDPR, SOC2, etc.)
Alternatives Solutions
No response
Additional Context
No response
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request