Skip to content

Commit

Permalink
[DOCS] Adds redirect for token management APIs
Browse files Browse the repository at this point in the history
  • Loading branch information
lcawl committed Aug 18, 2018
1 parent b237832 commit af06c3a
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 11 deletions.
10 changes: 9 additions & 1 deletion docs/reference/redirects.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -511,4 +511,12 @@ You can use the following APIs to add, remove, and retrieve roles in the native

* <<security-api-put-role,Create role>>, <<security-api-delete-role,Delete role>>
* <<security-api-clear-role-cache,Clear roles cache>>
* <<security-api-get-role,Get roles>>
* <<security-api-get-role,Get roles>>

[role="exclude",id="security-api-tokens"]
=== Token management APIs

You can use the following APIs to create and invalidate bearer tokens for access
without requiring basic authentication:

* <<security-api-get-token,Get token>>, <<security-api-invalidate-token,Invalidate token>>
9 changes: 8 additions & 1 deletion x-pack/docs/en/rest-api/security.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,14 @@ You can use the following APIs to add, remove, and retrieve roles in the native
* <<security-api-clear-role-cache,Clear roles cache>>
* <<security-api-get-role,Get roles>>

include::security/tokens.asciidoc[]
[float]
[[security-token-apis]]
=== Tokens

You can use the following APIs to create and invalidate bearer tokens for access
without requiring basic authentication:

* <<security-api-get-token,Get token>>, <<security-api-invalidate-token,Invalidate token>>

include::security/authenticate.asciidoc[]
include::security/change-password.asciidoc[]
Expand Down
9 changes: 0 additions & 9 deletions x-pack/docs/en/rest-api/security/tokens.asciidoc

This file was deleted.

0 comments on commit af06c3a

Please sign in to comment.