Add images to API reference authentication for getting API keys and notes on crypto

This commit is contained in:
Tuan Dang
2023-01-16 09:58:48 +07:00
parent cba57cf317
commit da251d3d2d
11 changed files with 43 additions and 22 deletions

View File

@@ -11,12 +11,12 @@ Prerequisites:
## Flow
1. Get your (encrypted) private key.
1. [Get your (encrypted) private key.](/api-reference/endpoints/users/me)
2. Decrypt your (encrypted) private key with your password.
3. Get the project key for the project.
4. Decrypt the project key with your private key.
3. [Get the (encrypted) project key for the project.](/api-reference/endpoints/workspaces/workspace-key)
4. Decrypt the (encrypted) project key with your private key.
5. Encrypt your secret(s) with the project key.
6. Send (encrypted) updated secret(s) to the Infical API
6. [Send (encrypted) updated secret(s) to the Infical API.](/api-reference/endpoints/secrets/update)
## Example