Skip to content
This repository was archived by the owner on Feb 2, 2022. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added docs/images/TxtToken-job-config.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/create-secret.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/key-vault.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/resource-group.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* Using the RAFT [command line](cli-reference.md)
* REST API
* [Swagger](sdk/swagger.md)
* [Authentication](schema/authentication)
* [Authentication](schema/authentication.md)
* [Using Postman](schema/postman.md)

* [Job Definition file](schema/jobdefinition.md)
Expand All @@ -20,3 +20,5 @@
* [How to SSH to a container](troubleshooting/idle.md)
* Browse our [Samples Gallery](samples.md)
* Browse our [Video Tutorials](https://www.youtube.com/channel/UCUgE9Mv0GsavLg4I7z0lHVA)
* Step-by-step
* [Text Token](step-by-step/txttoken.md)
25 changes: 25 additions & 0 deletions docs/step-by-step/txttoken.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# How to use Token authentication

- Add token to RAFT keyvault
- Specify in job config token authentication

**Add token to RAFT keyvault**

Got to your RAFT deployment keyvault

![RAFT resource group](../images/resource-group.png)

Under the `Secrets` select `Generate/Import` button.

![RAFT keyvault](../images/key-vault.png)


Create a secret with name that follows environment variable conventions (e.g. no dashes in the name). Add you `Token` text as the secret value.
![Create secret](../images/create-secret.png)


**Specify in job config token authentication**

In your job config specify the secret to be imported in the list of `keyVaultSecrets`. Use that secret as `TxtToken` authentication method.

![Job Config](../images/TxtToken-job-config.png)