Security and Privacy
Mask PII During Runs
from glaip_sdk import Client
client = Client()
response = client.agents.run_agent(
"secure-processor",
"Process <EMAIL_1> order",
pii_mapping={
"<EMAIL_1>": "customer@example.com",
"<NAME_1>": "Alex Taylor",
},
)
print(response)curl -X POST "$AIP_API_URL/agents/$AGENT_ID/run" \
-H "Content-Type: application/json" \
-H "X-API-Key: $AIP_API_KEY" \
-d '{
"input": "Process <EMAIL_1> order",
"pii_mapping": {
"<EMAIL_1>": "customer@example.com",
"<NAME_1>": "Alex Taylor"
}
}'Common security gaps
Symptom
Likely cause
Fix
Control Tool Output Sharing
Manage Memory Scope
API Key Hygiene
Presigned Artifact Management
Audit Trails
Related Documentation
最后更新于