> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cloudsome-inc.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Security policies

Security policies define reusable usage and access policies for API keys and organization members. Use them to keep spend limits, model access, and provider access consistent without editing every key one by one.

## Budget limits

Set a spend limit with a daily, weekly, or monthly reset period.

## Model and provider access

Choose which models and providers covered requests can use.

## Flexible binding

Bind to API keys in a personal space, or to API keys or members in an organization. You can also save an unbound policy.

## Configure a security policy

1. Open Dashboard > Security policies.
2. Create a security policy, name it, and choose whether it is active.
3. Configure the optional budget, allowed models, and allowed providers.
4. Select API keys or organization members to bind, or leave it unbound for later use.

## How budgets are counted

* API key binding: the budget is tracked separately for each bound key.
* Member binding: the budget is shared by all keys owned by that member.
* A direct API key budget can still apply. Requests must pass both the key budget and the security policy budget.

## Request behavior

* Personal workspaces can bind security policies to API keys.
* Organization spaces can bind security policies to API keys or members.
* IP Allowlist stays on each API key. Platform traffic safeguards are automatic and are not user-configurable.
* Model or provider denials return an HTTP 403 policy error. Exhausted budgets and platform protection return HTTP 429.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.