> Markdown version of https://tuna.am/en/docs/api/secrets-trusted-ip-add/. Documentation index: [llms.txt](https://tuna.am/en/llms.txt), full text in one file: [llms-full.txt](https://tuna.am/en/llms-full.txt). Any page is available as Markdown: append `.md` to its URL without the trailing slash.

# Add a trusted network to a configuration

post`/v1/secrets/configs/config/trusted_ips`

Requires `admin` access to the environment.

## Request

### Authorization

* **Authorization**stringheaderrequired

  Key in the format `Bearer <API-key>`. Create a key on the [API keys](https://my.tuna.am/api_keys) page.

### Query Parameters

* **project** stringrequired

  Project alias

* **config** stringrequired

  Configuration alias: `<environment>` is the root configuration, `<environment>/<name>` is a branch or a personal configuration (`<environment>/personal`), for example `dev/local`

### Request body

application/json

* **cidr**stringrequired

  Network in CIDR notation, e.g. `203.0.113.0/24`

  **Example:&#x20;**`203.0.113.0/24`

### Response

201

application/json

* **builtin**boolean

  Built-in `0.0.0.0/0` entry, created together with the config

  **cidr**string

  Network in CIDR notation, e.g. `203.0.113.0/24`

  **Example:&#x20;**`203.0.113.0/24`

  **created_at**string\<date-time>

  Creation date

  **id**integer\<int64>

  Identifier

  **Example:&#x20;**`3`
