Skip to main content
POST
cURL

Body

application/json
name
string
required

The name of the proxy.

Required string length: 1 - 64
projectId
string

The ID of the Agent Vault project.

Required string length: 1 - 36
description
string

A description of what this proxy is for.

Maximum string length: 256
Pattern: ^[^\x00-\x1f\x7f]*$
trafficPolicy
enum<string>
default:any-host

Which hosts an agent may reach through this proxy. any-host lets every request out; service-hosts allows only hosts that the session's services cover, from its access bundle or sent with the session, plus anything in allowedHosts, and refuses the rest with a 403. bundle-hosts is the old name of service-hosts and is still accepted.

Available options:
any-host,
service-hosts,
bundle-hosts
allowedHosts
string | null

Hosts that stay reachable under the service-hosts traffic policy even though none of the session's services cover them. Still intercepted, and given no credential.

Maximum string length: 1024
pollInterval
integer
default:60

How often, in seconds, the proxy refreshes its sessions and settings. Between 10 and 300.

Required range: 10 <= x <= 300

Response

Default Response

proxy
Admin view · object
required
proxyToken
string
required

The token the proxy starts with, on as many machines as you need. Shown once, and works until it is rotated or the proxy's access is revoked.