# Least privilege, defined with a sourced example

GLOSSARY, read 13 Nov 2026

**The short answer.** Give each person, service or agent only the access the job needs, and nothing more. The test is the smallest role that still works. For agents it argues against reusing a person's broad token. OpenMetadata's docs recommend a Bot service-account token for unattended agents, with access set by a role-based policy assigned to the bot.

## Definition

Give each person, service or agent only the access the job needs, and nothing more. The test is the smallest role that still works. For agents it argues against reusing a person's broad token.

## Example from a real source

**Example.** OpenMetadata's docs recommend a Bot service-account token for unattended agents, with access set by a role-based policy assigned to the bot.

## Related terms

- [need to know](/glossary/need-to-know/): The principle that having clearance is not enough: a person sees a piece of sensitive data only if their work requires it.
- [on-behalf-of authentication](/glossary/on-behalf-of-authentication/): A pattern where an agent calls a data system as itself but for a named person, so the request carries both identities.
- [label downstream inheritance](/glossary/label-downstream-inheritance/): A report or dataset picks up the sensitivity label of the source it was built from.

## Where to read more

- [The PII Exposure Map](/exposure-map/)
- [All glossary terms](/glossary/)

## Sources

- docs.open-metadata.org/v2.0.x/how-to-guides/mcp.md: https://docs.open-metadata.org/v2.0.x/how-to-guides/mcp.md (read 13 Nov 2026)

Last reviewed 13 Nov 2026. Canonical: https://aidatagovernancetools.com/glossary/least-privilege/
