Skip to content

Commit

Permalink
Copilot Secret Scanning, let's use always the same sample: (#1234)
Browse files Browse the repository at this point in the history
#### 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:
`<my-secret-password>`

#### Which issue(s) this PR fixes

fixes:
https://github.com/open-component-model/ocm/security/secret-scanning/6
  • Loading branch information
hilmarf authored Jan 9, 2025
1 parent 329ee5c commit 8a5f983
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions api/credentials/extensions/repositories/memory/config/type.go
Original file line number Diff line number Diff line change
Expand Up @@ -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: <my-user>
password: <my-secret-password>
- credentialsName: direct
credentials: # direct credential specification
username: mandelsoft2
password: specialsecret2
username: <my-user>
password: <my-secret-password>
</pre>
`
8 changes: 4 additions & 4 deletions docs/reference/ocm_configfile.md
Original file line number Diff line number Diff line change
Expand Up @@ -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: <my-user>
password: <my-secret-password>
- credentialsName: direct
credentials: # direct credential specification
username: mandelsoft2
password: specialsecret2
username: <my-user>
password: <my-secret-password>
</pre>
- <code>merge.config.ocm.software</code>
The config type <code>merge.config.ocm.software</code> can be used to set some
Expand Down

0 comments on commit 8a5f983

Please sign in to comment.