> For the complete documentation index, see [llms.txt](https://docs.teleskope.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.teleskope.ai/connectors/least-privilege.md).

# Least-Privilege Access

Use dedicated connector credentials and limit their access to the sources you intend to scan. Scanning and remediation have different permission requirements; grant write access only for the actions you enable. Deployment-management roles are separate from these source credentials.

| Source                          | Access and scope                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| ------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Active Directory authentication | For [SMB](https://docs.teleskope.ai/on-premise/file-systems.md) or [SQL Server](https://docs.teleskope.ai/on-premise/on-premise-sql.md), use a dedicated domain account with access to the target shares or databases. These guides cover source authentication; confirm any separate AD directory-discovery requirements with Teleskope.                                                                                                                                                                                                                                                |
| Microsoft 365 / Entra           | Follow the [SharePoint and OneDrive](https://docs.teleskope.ai/connectors/saas/filesharing/sharepoint-and-onedrive.md) Graph and SharePoint application permissions and admin-consent steps. The app authenticates with a Teleskope-generated certificate rather than a client secret. Directory scopes support identity and access mapping; file/site scopes support content scanning. These permissions are tenant-wide. Add optional Policy Maker permissions only for enabled actions. [Entra SSO](https://docs.teleskope.ai/setup/sso/microsoft-entra.md) is configured separately. |
| Box                             | Follow the [Box app authorization requirements](https://docs.teleskope.ai/connectors/saas/filesharing/box.md), including enterprise access. The current setup includes write-capable scopes; review a reduced permission set with Teleskope before changing it.                                                                                                                                                                                                                                                                                                                          |
| S3                              | The standard setup grants account-wide read access to scan all buckets. Optionally restrict reads to named buckets. SSE-KMS reads also need `kms:Decrypt` on the relevant keys. Add tagging, write, or delete permissions only for enabled remediation. See the [S3 policy](https://docs.teleskope.ai/connectors/clouds/aws/s3.md).                                                                                                                                                                                                                                                      |
| SMB file shares                 | Use a service account that can list and read target shares, files, and permissions. Scope both share and filesystem permissions. Move/delete actions require additional access. See [File Systems](https://docs.teleskope.ai/on-premise/file-systems.md).                                                                                                                                                                                                                                                                                                                                |
| Databases                       | Use a dedicated read-only user with metadata discovery and `SELECT` access to the target data. The [on-premises SQL guide](https://docs.teleskope.ai/on-premise/on-premise-sql.md) includes broad database-discovery/read examples; restrict grants to the intended databases, schemas, and tables when narrower coverage is required.                                                                                                                                                                                                                                                   |

After narrowing permissions, run **Test Connection** where available, then a crawl and scan of an intended source. Connection success alone does not verify discovery or content access. Removing permissions can reduce coverage or prevent enabled remediation actions.
