Bỏ qua để đến nội dung

Agents and Identity

Nội dung này hiện chưa có sẵn bằng ngôn ngữ của bạn.

Chapter 17 of Securing Salesforce: Identity and Access, Part 3: Customers, Partners and Agents. It uses the doors from every earlier chapter; chapters 5, 11 and 13 matter most.

Every door in this course was built for a person or for a system. An agent is a little of both. It decides what to ask for, it acts at machine speed, and most of the time it acts for someone. Salesforce’s own architects put the risk in one line: “A misconfigured user makes one wrong decision at a time. A misconfigured agent with broad permissions can execute chains of incorrect actions before detection.”

So this chapter adds one question to the one the course has been asking since chapter 1. Not only who is this?, but who is it acting for? The answer decides the agent’s door, what it can reach, whose name is on what it does, and whether anyone can trace an action back to a person. There are no new doors. There’s a new kind of user at all of them.

  • Every agent runs as someone: the person, its own agent user, or the verified site user. Never nobody, and never an administrator.
  • Knowing who she is isn’t access. A context variable identifies a customer; only the running user limits what the agent reaches.
  • No new doors. An agent outside Salesforce uses the course’s OAuth flows; whose work it is picks the flow.
  • A power of attorney, not a copy of her keys: consent, narrow scopes, short-lived tokens, and verification before every private action.
  • At every hop, ask whether the next system needs the person: on-behalf-of, server-to-server, or in-task.
  • Into Salesforce’s MCP servers, always a person; out of Salesforce, you choose, per server.
  • An agent is a new joiner: its own identity, a named owner, reviews, a way to stop it, and a leaving date.
  • A person approves what matters, in the workflow, not in the agent’s instructions.

Here’s the chapter’s picture: who the agent runs as, and what decides its access.

Who the agent runs as Who the agent runs as. Priya, an employee, signed in to Salesforce: an employee agent runs as Priya, the logged-in user, and her profile, permission sets and sharing decide what it reaches. Amara, a customer, not logged in: a service agent runs as its agent user, EinsteinServiceAgent User, and the agent user's access decides; it's created minimal, and you add what the job needs; marked amber, because knowing who she is doesn't narrow it. Amara, logged in to the site, with credential-based user verification: the service agent runs as Amara, the logged-in site user, and her site profile and sharing decide. Footnote: Agentforce, as Salesforce Help describes it, checked 2026-11-20. {"author": "Steve Simpson", "blueprint": "1.0.0", "builder": "standard 1.59.0", "built": "2026-11-20", "id": "DGM-IAM-AGI-02", "rights": "\u00a9 2026 Twinshark LLC. All rights reserved.", "template": "cells 0.5.0", "theme": "stevetecharc 1.4.0"} WHO'S TALKING THE AGENT RUNS AS WHAT DECIDES ITS ACCESS Priya, an employee signed in to Salesforce Priya an employee agent: the logged-in user Priya's access profile, permission sets, sharing Amara, a customer not logged in Its agent user a service agent: EinsteinServiceAgent User The agent user's access created minimal; you add what the job needs Amara, logged in to the site credential-based user verification Amara a service agent: the logged-in site user Amara's access her site profile and sharing so it runs as limited by so it runs as limited by so it runs as limited by Agentforce, as Salesforce Help describes it, checked 2026-11-20. HOW TO READ IT the person's own access the agent's own access: knowing who she is doesn't narrow it © 2026 Twinshark LLC · stevetecharc.com
Click to enlarge

Six modules, and a practice.

  1. One More Lane: Who Is the Agent? Chapter 1’s swim lane with an agent in it; the second question; the three running identities.
  2. Agents at the Door Salesforce’s own connection table on the course’s map: as itself, or as someone; never a password, never a shared secret where it can be read.
  3. Acting for Someone Consent, scopes, token lifetimes, whose name is on the change; customer agents, verification and step-up.
  4. Across the Hops Three patterns for the person’s identity across agents and tools; the confused deputy.
  5. MCP: The Door for Tools Salesforce’s hosted MCP servers in, Agentforce Registry out.
  6. Agents Come and Go The agent’s identity from day one to the leaving date, and the accountability chain.

Then the practice: one lab app called as itself and as Priya, then the identity of three Steve Trucking agents, on paper.

Check what stuck with the study guide.

  • The running user for every agent, and never an administrator.
  • Its door: as itself or as someone, from Salesforce’s connection table.
  • What it may do for a person, and what needs verification, step-up or a person’s approval.
  • At every hop, whether the person goes with the request.
  • A named owner, a review, a way to stop it, and a leaving date for every agent.

Each module lists its own sources, each checked 2026-11-20. Two to start with:

Next: Identity Strategy and Design Review: the whole course, put together.