DDN CLI: ddn codemod configure-header-forwarding
Configure headers to be forwarded to your connector.
Synopsis
This codemod updates your local project's metadata to forward headers from the initial request against your API to the specified connector.
ddn codemod configure-header-forwarding connector-name [flags]
Examples
# Configure header forwarding for the DataConnectorLink corresponding to Connector `mypostgres`
ddn codemod configure-header-forwarding mypostgres
# Configure header forwarding for the DataConnectorLink corresponding to Connector config file ./connector.yaml
ddn codemod configure-header-forwarding --connector ./connector.yaml
# Configure header forwarding for the DataConnectorLink `mypostgres`
ddn codemod configure-header-forwarding --connector-link mypostgres