Skip to content

Commit ecdc0b6

Browse files
committed
Document deployment token usage and new token command
1 parent a1921a4 commit ecdc0b6

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/Basics.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
| list | List currently deployed projects |
1515
| rm [id] | Remove existing deployment or project |
1616
| log [id] | Get logs for existing deployment or project |
17+
| token | Generate new deployment token |
1718
| login | Login into Exoframe server |
1819
| endpoint [url] | Gets or sets the endpoint of Exoframe server |
1920
| completion | Generates bash completion script |
@@ -61,3 +62,12 @@ Currently it contains endpoint URL and list of template plugins:
6162
```yaml
6263
endpoint: 'http://localhost:8080' # your endpoint URL, defaults to localhost
6364
```
65+
66+
## Deployment tokens
67+
68+
Sometimes you might need to deploy things from environments that don't have your private key (e.g. CI/CD services).
69+
For this cases you can use deployment tokens. Here's how it works:
70+
71+
1. Make sure you are logged in to your Exoframe server
72+
2. Generate new deployment token using `exoframe token` command
73+
3. Use the new token to deploy your service without need to authenticate: `exoframe deploy -t $TOKEN`

0 commit comments

Comments
 (0)