// Module included in the following assemblies:
// * builds/build-strategies.adoc

:_mod-docs-content-type: PROCEDURE
[id="builds-strategy-secrets-web-console_{context}"]
= Adding secrets with web console

You can add a secret to your build configuration so that it can access a private repository.

.Procedure

To add a secret to your build configuration so that it can access a private repository from the {product-title} web console:

. Create a new {product-title} project.

. Create a secret that contains credentials for accessing a private source code repository.

. Create a build configuration.

. On the build configuration editor page or in the `create app from builder image` page of the web console, set the *Source Secret*.

. Click *Save*.


//[NOTE]
//====
// This module needs specific instructions and examples.
// This is applicable for Docker, S2I, and Custom.
//====
