Skip to content

Commit

Permalink
0006102: Added more details to the Rest Keys section of the User Guide
Browse files Browse the repository at this point in the history
  • Loading branch information
evan-miller-jumpmind committed Nov 8, 2023
1 parent 38fc92c commit af67540
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 12 additions & 1 deletion symmetric-assemble/src/asciidoc/manage/rest-keys.ad
Original file line number Diff line number Diff line change
@@ -1,7 +1,18 @@

=== Rest Keys

Rest API keys may be set up to access the REST API securely.
Rest API keys must be set up in order to access the REST API. Attempting to access the REST API without a key will result in HTTP error code 403 (forbidden). When a new key is created, it will only be displayed once, so be sure to copy it and save it for future use.

The following is an example of how to include the key in a `curl` command:

[source, cli]
----
curl -X GET "http://localhost:31415/api/engine/corp-000/channelstatus" -H "accept: */*" -H "X-REST-API-KEY: gSrLaAEuKa3FLdUbuUZ1cRv7Mi2nVS"
----

A user interface for the REST API is available on the Help -> REST API screen. When the screen is first visited, the padlock icons are open to indicate that a REST API key is not being used. To enter the key, click the Authorize button, which is highlighted in red in the below image. After entering the key, the padlocks will close.

image::images/manage/rest-api.png[]

.Required Fields

Expand Down

0 comments on commit af67540

Please sign in to comment.