cloudflare / cloudflare/cloudflared

💡Ability to authenticate multiple accounts

Open
#1,238 0 comments 10 reactions 0 assignees View on GitHub
Priority: Normal Type: Feature Request
Dominant language
Go
Stars
15.6k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

**Describe the feature you'd like**
If a tunnel is used for local development there is the potential that a developer would require a different authentication for Personal or Work.

**Describe alternatives you've considered**
I'd like to run one at a time, never both at once.

`cloudflared tunnel run personal`

`cloudflared tunnel run work`

```yml
tunnels:
- tunnel: personal
credentials-file: /root/.cloudflared/personal.json
cert: /root/.cloudflared/personal.pem
ingress:
- hostname: "*.personal.dev"
service: http://127.0.0.1:80
- service: http_status:404
- tunnel: work
credentials-file: /root/.cloudflared/work.json
cert: /root/.cloudflared/work.pem
ingress:
- hostname: "*.work.dev"
service: http://127.0.0.1:80
- service: http_status:404
```

As far as I could tell this isn't possible.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.