Skip to content

Support --header for CLI commands to support CloudFlare Access or other identify-aware proxies #3527

@bpmct

Description

@bpmct

Problem statement

We had a request from someone in our community to add this in order to support using the CLI when Coder is hosted under CloudFlare access. Vault did something similar: hashicorp/vault#12508

Definition of done

Users can use the CLI and pass arbitary headers.

e.g.

coder login --header "CF_ACCESS_TOKEN=asdf"
coder ls --header "CF_ACCESS_TOKEN=asdf"

Metadata

Metadata

Assignees

Labels

cliArea: CLI

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions