Skip to content

Commit

Permalink
chore: improve command for preparing cf-t secret
Browse files Browse the repository at this point in the history
better!
  • Loading branch information
BobyMCbobs committed Dec 11, 2023
1 parent 5fe3e27 commit c67b96b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ $ cloudflared tunnel create ii-nz
A JSON file will be produced with the credentials to connect the said tunnel.

```
find $HOME/.cloudflared/ -maxdepth 1 -type f -name '*.json' \
| head -n 1 | xargs cat | base64
cloudflared tunnel list -o json | jq -r '.[] | select(.name=="ii-nz") | .id' \
| head -n 1 | xargs -I{} cat $HOME/.cloudflared/{}.json | base64
```

base64 encode the file, and park for later.
Expand Down

0 comments on commit c67b96b

Please sign in to comment.