Skip to content

Commit a1766b3

Browse files
authored
guide on kv store secrets/keys
1 parent dd69fa8 commit a1766b3

1 file changed

Lines changed: 71 additions & 0 deletions

File tree

instructions/5_SetupKeyVault.md

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
# Step 5: Setup the Key Vault and Store secrets/keys
2+
3+
Costa Rica
4+
5+
[![GitHub](https://img.shields.io/badge/--181717?logo=github&logoColor=ffffff)](https://github.com/)
6+
[brown9804](https://github.com/brown9804)
7+
8+
Last updated: 2025-02-20
9+
10+
------------------------------------------
11+
12+
13+
<div align="center">
14+
<img src="https://github.com/user-attachments/assets/0f4abd63-dff3-4061-a578-71dd73646a2f" alt="Centered Image" style="border: 2px solid #4CAF50; border-radius: 5px; padding: 5px; width: 400px;"/>
15+
</div>
16+
17+
## Step 1: Create an Azure Key Vault
18+
19+
1. `Sign in to Azure Portal`: Go to the Azure portal and sign in with your Azure account.
20+
2. `Create a Key Vault`:
21+
- From the Azure portal menu, select `Create a resource`.
22+
- In the `Search` box, type `Key Vault` and select `Key Vault` from the results.
23+
- Click `Create`.
24+
25+
<div align="center">
26+
<img src="https://github.com/user-attachments/assets/4cbbf567-4905-49bc-9c3f-52cbc06e6665" alt="Centered Image" style="border: 2px solid #4CAF50; border-radius: 5px; padding: 5px; width: 700px;"/>
27+
</div>
28+
29+
- Fill in the required details:
30+
- `Name`: A unique name for your Key Vault.
31+
- `Subscription`: Select your Azure subscription.
32+
- `Resource Group`: Select an existing resource group or create a new one.
33+
- `Location`: Choose the Azure region.
34+
- Click `Review + create` and then `Create`.
35+
36+
<div align="center">
37+
<img src="https://github.com/user-attachments/assets/dd3c4e3f-659a-454b-806e-83aa25a4add3" alt="Centered Image" style="border: 2px solid #4CAF50; border-radius: 5px; padding: 5px; width: 700px;"/>
38+
</div>
39+
40+
## Step 2: Store Secrets and Keys
41+
42+
1. `Add a Secret`:
43+
- Navigate to your Key Vault in the Azure portal.
44+
- In the left-hand menu, select `Secrets`.
45+
- Click `+ Generate/Import`.
46+
- Fill in the details:
47+
- `Upload options`: Select `Manual`.
48+
- `Name`: Enter a name for the secret (e.g., `storage-account-key`).
49+
- `Value`: Enter the value of the secret (e.g., your storage account key).
50+
- Click `Create`.
51+
52+
<div align="center">
53+
<img src="https://github.com/user-attachments/assets/8bbf10c3-ea78-4fc0-8a21-ea244b104bb2" alt="Centered Image" style="border: 2px solid #4CAF50; border-radius: 5px; padding: 5px; width: 700px;"/>
54+
</div>
55+
56+
2. `Add a Key`:
57+
- In the Key Vault menu, select `Keys`.
58+
- Click `+ Generate/Import`.
59+
- Fill in the details:
60+
- `Options`: Select `Generate`.
61+
- `Name`: Enter a name for the key (e.g., `encryption-key`).
62+
- Click `Create`.
63+
64+
<div align="center">
65+
<img src="https://github.com/user-attachments/assets/4c8ed12c-d1c9-4948-abf3-6646730ea757" alt="Centered Image" style="border: 2px solid #4CAF50; border-radius: 5px; padding: 5px; width: 700px;"/>
66+
</div>
67+
68+
<div align="center">
69+
<h3 style="color: #4CAF50;">Total Visitors</h3>
70+
<img src="https://profile-counter.glitch.me/brown9804/count.svg" alt="Visitor Count" style="border: 2px solid #4CAF50; border-radius: 5px; padding: 5px;"/>
71+
</div>

0 commit comments

Comments
 (0)