Skip to content
This repository was archived by the owner on Feb 2, 2022. It is now read-only.

Commit 6740d77

Browse files
stishkinstas
andauthored
step by step tutorial on how to use Text Token authentication (#143)
Co-authored-by: stas <[email protected]>
1 parent 2f68c86 commit 6740d77

File tree

6 files changed

+28
-1
lines changed

6 files changed

+28
-1
lines changed
51.9 KB
Loading

docs/images/create-secret.PNG

36.4 KB
Loading

docs/images/key-vault.PNG

56.6 KB
Loading

docs/images/resource-group.png

42.7 KB
Loading

docs/index.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* Using the RAFT [command line](cli-reference.md)
1212
* REST API
1313
* [Swagger](sdk/swagger.md)
14-
* [Authentication](schema/authentication)
14+
* [Authentication](schema/authentication.md)
1515
* [Using Postman](schema/postman.md)
1616

1717
* [Job Definition file](schema/jobdefinition.md)
@@ -20,3 +20,5 @@
2020
* [How to SSH to a container](troubleshooting/idle.md)
2121
* Browse our [Samples Gallery](samples.md)
2222
* Browse our [Video Tutorials](https://www.youtube.com/channel/UCUgE9Mv0GsavLg4I7z0lHVA)
23+
* Step-by-step
24+
* [Text Token](step-by-step/txttoken.md)

docs/step-by-step/txttoken.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# How to use Token authentication
2+
3+
- Add token to RAFT keyvault
4+
- Specify in job config token authentication
5+
6+
**Add token to RAFT keyvault**
7+
8+
Got to your RAFT deployment keyvault
9+
10+
![RAFT resource group](../images/resource-group.png)
11+
12+
Under the `Secrets` select `Generate/Import` button.
13+
14+
![RAFT keyvault](../images/key-vault.png)
15+
16+
17+
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.
18+
![Create secret](../images/create-secret.png)
19+
20+
21+
**Specify in job config token authentication**
22+
23+
In your job config specify the secret to be imported in the list of `keyVaultSecrets`. Use that secret as `TxtToken` authentication method.
24+
25+
![Job Config](../images/TxtToken-job-config.png)

0 commit comments

Comments
 (0)