From 8a5f9832df23f7ce94445cf0f628356d1e1a17a3 Mon Sep 17 00:00:00 2001 From: Hilmar Falkenberg Date: Thu, 9 Jan 2025 12:00:30 +0100 Subject: [PATCH] Copilot Secret Scanning, let's use always the same sample: (#1234) #### What this PR does / why we need it Although the text: `specialsecret2` might not be used as real password, let's try to use always a more obvious placeholder: `` #### Which issue(s) this PR fixes fixes: https://github.com/open-component-model/ocm/security/secret-scanning/6 --- .../extensions/repositories/memory/config/type.go | 8 ++++---- docs/reference/ocm_configfile.md | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/api/credentials/extensions/repositories/memory/config/type.go b/api/credentials/extensions/repositories/memory/config/type.go index 60befde5fd..3f9ec2cae0 100644 --- a/api/credentials/extensions/repositories/memory/config/type.go +++ b/api/credentials/extensions/repositories/memory/config/type.go @@ -121,11 +121,11 @@ of arbitrary credentials stored in a memory based credentials repository: reference: # refer to a credential set stored in some other credential repository type: Credentials # this is a repo providing just one explicit credential set properties: - username: mandelsoft - password: specialsecret + username: + password: - credentialsName: direct credentials: # direct credential specification - username: mandelsoft2 - password: specialsecret2 + username: + password: ` diff --git a/docs/reference/ocm_configfile.md b/docs/reference/ocm_configfile.md index 4f5282064d..7f9a01b7f2 100644 --- a/docs/reference/ocm_configfile.md +++ b/docs/reference/ocm_configfile.md @@ -198,12 +198,12 @@ The following configuration types are supported: reference: # refer to a credential set stored in some other credential repository type: Credentials # this is a repo providing just one explicit credential set properties: - username: mandelsoft - password: specialsecret + username: + password: - credentialsName: direct credentials: # direct credential specification - username: mandelsoft2 - password: specialsecret2 + username: + password: - merge.config.ocm.software The config type merge.config.ocm.software can be used to set some