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

Commit 84ccd7f

Browse files
authored
Merge pull request #174 from jc-berger/HACDOCS-354-creating-secrets
added doc on creating secrets for builds
2 parents b465a06 + 6740fb4 commit 84ccd7f

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

docs/modules/ROOT/nav-how-to-guides.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
** Configuring your builds
44
*** xref:how-to-guides/configuring-builds/proc_upgrade_build_pipeline.adoc[Upgrading to a custom build pipeline]
55
*** xref:how-to-guides/configuring-builds/proc_customize_build_pipeline.adoc[Customizing the pipeline]
6+
*** xref:how-to-guides/configuring-builds/proc_creating-secrets-for-your-builds.adoc[Creating secrets for your builds]
67
*** xref:how-to-guides/proc_hermetic-builds.adoc[Enabling hermetic builds]
78
*** xref:how-to-guides/proc_prefetching-dependencies-to-support-hermetic-build.adoc[Prefetching package manager dependencies for hermetic build]
89
** Testing your application
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
= Creating secrets for your builds
2+
3+
When you build your application, create secrets to ensure the `sast_snyk_task` works. The `sast_snyk_task` analyzes your source code to find vulnerabilities. The `sast_synk_task` secret defines parameters for your build pipeline. Add these `sast_snyk_task` secrets to your build pipeline to ultimately help build and deploy your application.
4+
5+
.Procedure
6+
7+
. In the {ProductName}, go to the *Components* tab of your application.
8+
. Select the three dots next to the component you want to configure, and select *Edit component settings*.
9+
. Under *Secrets*, click *Add secret*. The secret modal opens and is called, *Create new build secret*.
10+
. Under *Select or enter name*, use the predefined `snyk_secret` or create a custom secret.
11+
. Fill in the *Key* and *Value* fields.
12+
. Click *Create*. The secret modal closes.
13+
. In the {ProductName}, click *Save*.

0 commit comments

Comments
 (0)