Skip to content

buf beta studio-agent

Run an HTTP(S) server as the Studio agent

Usage

$ buf beta studio-agent [flags]

Flags

--bind string

The address to be exposed to accept HTTP requests

--ca-cert string

The CA cert to be used in the client and server TLS configuration

--client-cert string

The cert to be used in the client TLS configuration

--client-key string

The key to be used in the client TLS configuration

--disallowed-header strings

The header names that are disallowed by this agent. When the agent receives an enveloped request with these headers set, it will return an error rather than forward the request to the target server. Multiple headers are appended if specified multiple times

--forward-header stringToString

The headers to be forwarded via the agent to the target server. Must be an equals sign separated key-value pair (like --forward-header=fromHeader1=toHeader1). Multiple header pairs are appended if specified multiple times

-h, --help

help for studio-agent

--origin string

The allowed origin for CORS options

--port string

The port to be exposed to accept HTTP requests

--private-network

Use the agent with private network CORS

--server-cert string

The cert to be used in the server TLS configuration

--server-key string

The key to be used in the server TLS configuration

Flags inherited from parent commands

--debug

Turn on debug logging

--log-format string

The log format [text,color,json]

--timeout duration

The duration until timing out, setting it to zero means no timeout

Parent Command

  • buf beta - Beta commands. Unstable and likely to change