Let’s Get Certified
Module 10 / 21 · Implementation and integration

Carry a user's authority through the workflow

Connect existing applications while preserving end-user identity, regional restrictions and release evidence.

Carry a user's authority through the workflow

Work through the decision

A sales portal in one account calls a knowledge service in another. Every salesperson gets the same result because retrieval runs as the shared application role. How should the team enforce account and document boundaries?

Check your reasoning

Authenticate the caller at the entry point, pass an authorized identity context and constrain the downstream role and retrieval filter. Derive department membership from trusted claims. Keep the model endpoint, data plane and diagnostic destinations inside the permitted geography.

Watch the source lesson at 3:35:37

Compare the choices

Use an event adapter
Bridge a legacy producer with a queue or event bus and a small adapter. Persist correlation IDs and make delivery retries safe.
Propagate the authorized caller
Carry trusted claims into downstream access decisions. The agent execution role grants service access while the caller determines eligible records.
Constrain region and destination
Check permitted regions for model invocation, storage, backups, logs and any cross-region inference profiles.
Gate releases in CI/CD
Evaluate versioned configuration, prompts and models against agreed policy and quality thresholds before promotion.

Trace one caller

A seller in team East asks for quote Q7. The application's role can reach the store but the seller's trusted scope allows only East. Filter on that scope before retrieval, then log the decision and source ID. If the quote changes teams, invalidate affected cached answers.

Apply it on AWS

An EventBridge rule and SQS queue can decouple a CRM change from enrichment. Record the source event ID to deduplicate delivery. In a cross-account design, the assumed role establishes service access; use trusted end-user scope to enforce document authorization before the model sees the results.

Practice the guide skills

  1. Translate a legacy event into a queued enrichment request with a stable ID. A retry should leave the business transaction intact. Watch 3:35:37
  2. Add a suggested summary to the existing case screen with its evidence and a human acceptance action. Watch 3:37:05
  3. Carry trusted user context from the front end to the downstream account. Verify a reader cannot inherit the service role's wider document access. Watch 3:41:20
  4. Trace model routes, logs and backups against allowed jurisdictions. Test the failover route separately. Watch 3:46:36
  5. Gate prompt and model versions with evaluation results and approval. Put identity, quotas and audit events at the enterprise API boundary. Watch 3:51:27

Official objectives for this lesson

Related lesson · Protect the data path and validate model outputs

Knowledge check

Carry a user's authority through the workflow quiz

Answer 3 questions. Check each answer for an explanation.