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

Commit cc6b2cd

Browse files
author
jc-berger
committed
added doc on creating secrets for builds
1 parent b465a06 commit cc6b2cd

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-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: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
= Creating secrets for your builds
2+
3+
When you build your application, create secrets to ensure the `sast_synk_task` works. The `sast_synk_task` analyzes your source code to find vulnerabilities. The `sast_synk_task` secret defines parameters for your build pipeline. Add build time secrets to use in the build pipeline. These build time secrets in the build pipeline ultimately help build and deploy your application.
4+
5+
.Procedure
6+
7+
. In the {ProductName}, go to *Applications* > *Application details* > *Components* > *Build & deploy configuration*.
8+
. Under *Secrets*, click *Add secret*. The secret modal opens and is called, *Create new build secret*.
9+
. Under *Select or enter name*, use the predefined `synk_secret` or create a custom secret.
10+
. Fill in the *Key* and *Value* fields.
11+
. Click *Create*. The secret modal closes.
12+
. In the {ProductName}, click *Save*.

0 commit comments

Comments
 (0)