File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,6 +23,32 @@ to create a new account. After successful registration you will be logged in as
2323!!! important
2424 The first user to register with Deis Workflow is automatically becomes an administrator. Additional users who register will be ordinary users.
2525
26+ ## Login to Workflow
27+
28+ If you already have an account, use ` deis login ` to authenticate against the Deis Workflow API.
29+
30+ $ deis login http://deis.example.com
31+ username: deis
32+ password:
33+ Logged in as deis
34+
35+ ## Logout from Workflow
36+
37+ Logout of an existing controller session using ` deis logout ` .
38+
39+ $ deis logout
40+ Logged out as deis
41+
42+ ## Verify Your Session
43+
44+ You can verify your client configuration by running ` deis whoami ` .
45+
46+ $ deis whoami
47+ You are deis at http://deis.example.com
48+
49+ !!! note
50+ Session and client configuration is stored in the ` ~/.deis/client.json ` file.
51+
2652## Controlling Registration Modes
2753
2854After creating your first user, you may wish to change the registration mode for Deis Workflow.
@@ -79,32 +105,6 @@ $ deis perms:delete john --admin
79105Removing john from system administrators... done
80106```
81107
82- ## Login to Workflow
83-
84- If you already have an account, use ` deis login ` to authenticate against the Deis Workflow API.
85-
86- $ deis login http://deis.example.com
87- username: deis
88- password:
89- Logged in as deis
90-
91- ## Logout from Workflow
92-
93- Logout of an existing controller session using ` deis logout ` .
94-
95- $ deis logout
96- Logged out as deis
97-
98- ## Verify Your Session
99-
100- You can verify your client configuration by running ` deis whoami ` .
101-
102- $ deis whoami
103- You are deis at http://deis.example.com
104-
105- !!! note
106- Session and client configuration is stored in the ` ~/.deis/client.json ` file.
107-
108108## Re-issuing User Authentication Tokens
109109
110110The controller API uses a simple token-based HTTP Authentication scheme. Token authentication is appropriate for
You can’t perform that action at this time.
0 commit comments