-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add section for obtaining server API tokens
- Loading branch information
Showing
5 changed files
with
29 additions
and
2 deletions.
There are no files selected for viewing
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
Obtaining API Tokens | ||
==================== | ||
|
||
To use a server defined on the `website`_ with UH VPN Server software it is necessary to obtain an | ||
API token for the server in question. To do this one needs to click the |key_icon| icon next to the | ||
appropriate server in the list of servers on the relevant group page. After clicking, one will | ||
be presented with a modal as shown below: | ||
|
||
.. image:: /_static/website/servers/token.png | ||
:width: 400 | ||
:alt: Token Modal | ||
|
||
One simply needs to copy the token (shown in pink) and follow the `adding servers`_ instructions | ||
in order to link the server software with the UH VPN API. | ||
|
||
If a token has been compromised, the "Regenerate" button can be used to create a new token for the | ||
server in question. **This will instantly revoke the old API token** | ||
|
||
.. |key_icon| image:: /_static/icons/key.svg | ||
:alt: Key Icon | ||
|
||
.. _website: https://uh-vpn.com | ||
.. _adding servers: ../../servers/adding-servers.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,5 +17,6 @@ configuration. | |
creating | ||
editing | ||
deleting | ||
api-tokens | ||
|
||
.. _website: https://uh-vpn.com |