Scoped credentials are secrets that are deliberately limited in what they can do. They may expire quickly, apply only to one service or repository, or grant just a few actions such as read-only access, deployment approval, or a single API call. The goal is to reduce the blast radius if a token, key, or session is stolen, copied, or misused.
They matter because many attacks succeed by turning one compromised secret into broad access. If credentials are long-lived or overprivileged, an intruder can move laterally, alter data, or persist in a system. Defenders use scoped credentials with least privilege, short lifetimes, rotation, and audit logging. In AI and automation systems, they let an agent work inside a narrow boundary, so a mistake or malicious prompt cannot unlock unrelated infrastructure or production secrets.


