Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Commit

Permalink
Merge pull request #210 from jseseCCS/HACDOCS-630
Browse files Browse the repository at this point in the history
HACDOCS-630: Updated Add secret upstream content to match UI
  • Loading branch information
jseseCCS authored Oct 30, 2023
2 parents bc46a81 + ea3d00b commit 4bf73fd
Showing 1 changed file with 17 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,20 @@ When you build your application, create secrets to ensure the `sast_snyk_task` w

.Procedure

. In the {ProductName}, go to the *Components* tab of your application.
. Select the three dots next to the component you want to configure, and select *Edit component settings*.
. Under *Secrets*, click *Add secret*. The secret modal opens and is called, *Create new build secret*.
. Under *Select or enter name*, use the predefined `snyk_secret` or create a custom secret.
. Fill in the *Key* and *Value* fields.
. Click *Create*. The secret modal closes.
. In the {ProductName}, click *Save*.
. In {ProductName}, from the left navigation menu, select **Secrets**.
. From the **Secrets** page, click **Add secret**.
. From the **Add secret** page, choose what stage of your application's development you want to create a secret for: **Build** or **Deployment**.
. Select a secret type:
* **Key/value secret**
* **Image pull secret**
* **Source secret**
. For **Secret name**, enter a unique name for your secret.
. Under **Key/value secret**, expand **Key/value 1**, then enter a key.
. For **Upload the file with value for your key or paste its contents**, do one of the following:
* Click **Upload** to browse to, select, and upload the file that contains your key value.
* Drag the file that contains your key value into the space under **Upload**.
* Paste the contents of the file that contains your key value into the space under **Upload**.
Click **Clear** to remove the contents of the space under **Upload**.
. Optional: Click **Add another key/value**.
. Optional: Under **Labels**, add a label to tag or provide more context for your secret.
. Click **Add secret**.

0 comments on commit 4bf73fd

Please sign in to comment.