Integrate tokenization with Amazon Bedrock Guardrails for secure data handling
AWS•How-to••by Nizar Kheir and Mark Warner•AWS Artificial Intelligence Blog
In this post, we show you how to integrate Amazon Bedrock Guardrails with third-party tokenization services to protect sensitive data while maintaining data reversibility. By combining these technologies, organizations can implement stronger privacy controls while preserving the functionality of their generative AI applications and related systems.
Shows how to pair Bedrock Guardrails PII detection with a third-party tokenization service so sensitive values are replaced by reversible tokens before model calls and restored afterward.
Who it is for
Teams building generative AI apps on Bedrock that handle customer PII and need masked data that can still be reversed by trusted systems.
Key points
Uses the ApplyGuardrail API so tokenization can run between guardrail evaluation and model invocation.
Example uses Thales CipherTrust protect and unprotect operations; the pattern is described as adaptable to other tokenization providers.
Guardrail masks such as {NAME} are replaced with format-preserving tokens, keeping data usable but not readable by the model.
AI:Claude Code can run as a remote agent on AgentCore runtime, with each coding task in its own isolated session that returns a GitHub pull request for human review.
AI:Bedrock now has a trusted access program API to find, request and enroll in model provider programs; the first two offerings, Anthropic's EFS and EDC, are in public preview.