Skip to main content

List configuration trusted networks

get/v1/secrets/configs/config/trusted_ips

Trusted networks restrict reading and changing secrets with an API key or a service token: requests from addresses outside these networks get 403. A new configuration allows all IPv4 addresses (the built-in 0.0.0.0/0 network).

Request​

Authorization

  • Authorizationstringheaderrequired

    Key in the format Bearer <API-key>. Create a key on the 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

Response

  • Array [
  • builtinboolean

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

    cidrstring

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

    Example: 203.0.113.0/24
    created_atstring<date-time>

    Creation date

    idinteger<int64>

    Identifier

    Example: 3
  • ]