---
title: "Discussion on \"Scoping API keys for agents and CI: least privilege for sandbox access\" | Hashnode"
description: "Discussion on \"Scoping API keys for agents and CI: least privilege for sandbox access\". The first API key most teams create for a new service is the one with every permission, made in a hurry to get a demo working. Six months later it is in three CI pipelines, a staging server and a team"
url: "https://hashnode.com/posts/scoping-api-keys-for-agents-and-ci-least-privilege-for-sandbox-access/6b039087fbcf2b6083da905c"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Scoping API keys for agents and CI: least privilege for sandbox access](https://sandscale.hashnode.dev/scoping-api-keys-for-agents-and-ci-least-privilege-for-sandbox-access?utm_source=hashnode&utm_medium=feed)

The first API key most teams create for a new service is the one with every permission, made in a hurry to get a demo working. Six months later it is in three CI pipelines, a staging server and a team

6h ago · 7 min read · sandscale.hashnode.dev  
Read the article

-   [#security](https://hashnode.com/tag/security)
-   [#ai](https://hashnode.com/tag/ai)
-   [#devops](https://hashnode.com/tag/devops)
-   [#api](https://hashnode.com/tag/api)

## Written by

[Sandscale](https://hashnode.com/@sandscale)

@sandscale

  
[View profile](https://hashnode.com/@sandscale)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
