Generative AI: Security and Compliance Constraints
Generative AI: Security and Compliance Constraints at the Integration Layer
Whether you can deploy a generative AI model often depends less on the model and more on the integration layer around it. Security and compliance rules shape every choice there: where data goes, who can reach the model and what gets logged. Here's how to find those rules and how to build them in.
How They're Known #
These constraints usually come out of a few sources early in discovery.
1. Who the client is and what data is involved #
The industry alone often tells you which rules apply:
- A law firm means privilege
- A hospital or insurer means HIPAA
- EU customers or staff mean GDPR
- A government agency means FedRAMP
2. The right people #
Engineers often don't know these limits, but these people do:
- The CISO
- The compliance or legal lead
- The data protection officer (for GDPR)
- Procurement (for approved vendors)
3. Existing documents #
- Data classification policies
- Approved-vendor lists
- Existing contracts (BAA, DPA)
- The agency's Authority to Operate (ATO), its approval to run a system
- Past vendor security questionnaires
4. Direct discovery questions #
- What data will the system touch?
- Where must it stay?
- Which cloud is already approved?
- Who signs off?
- What must be logged, and for how long?
5. The vendor risk review #
The client's security questionnaire for a new vendor often lists the constraints for you.
How They're Implemented #
Privilege #
An API gateway or proxy that the firm runs holds the API key (e.g. Apigee, Kong, Azure API Management, LiteLLM). Users sign in through SSO (Okta or Entra ID over SAML/OIDC). Permissions come from the identity provider, and logs are written to storage the firm controls.
HIPAA #
Sign the BAA first, then deploy only on the configuration it covers. Before the API call, strip or replace identifying data with tools like Microsoft Presidio, AWS Comprehend Medical or a token lookup, and pass IDs instead of names. Keep traffic private (e.g. AWS PrivateLink or Google Private Service Connect) and send logs to a HIPAA-compliant store.
GDPR / Data Residency #
Call only the endpoint in the required region (e.g. Bedrock in an EU region, or Vertex with an EU location). Enforce that in code or with cloud policies like AWS Service Control Policies or GCP Organization Policies. Record the legal basis for processing, document any transfers outside the EU, and set automatic deletion of logs and stored data.
FedRAMP #
Deploy only inside the authorized environment (e.g. AWS GovCloud, Vertex Assured Workloads or Claude for Government). Sign users in through the agency's identity provider, often using government smart cards (PIV/CAC). Send logs to the agency's security monitoring system (SIEM), and go through the agency's ATO process.
Internal Policy #
Use the approved cloud account and reuse what already exists: the corporate SSO, existing roles, the data classification labels and the current logging stack (e.g. Splunk or Microsoft Sentinel). Don't add separate controls.
What Every Constraint Has in Common #
The same pattern repeats each time:
- A contract or authorization comes first (BAA, DPA, ATO or procurement approval).
- A controlled entry point is the only route to the model (a gateway or an approved cloud endpoint).
- Identity comes from the organization's identity provider, never from the user.
- Minimization happens before data reaches the model.
- Logs go to systems the client already owns and audits.
Get these five right and most compliance conversations get much shorter. Source Reference
Finished? Set your reading status:
Readers' comments 0
Comments from readers on highlighted passages. Each one is checked before it appears. Names aren't shown.