mirror of
https://github.com/Keeper-Security/harness-integration.git
synced 2026-06-16 14:49:05 +08:00
Compare commits
9 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 5dd14e97cd | |||
| b4383cf712 | |||
| 8aaeab2923 | |||
| efce32f987 | |||
| 721adbcbc3 | |||
| 65515eb4d9 | |||
| 74636825f9 | |||
| 2dd1ce1851 | |||
| d0c62ef8e7 |
@@ -30,3 +30,12 @@ build/
|
|||||||
tmp/
|
tmp/
|
||||||
temp/
|
temp/
|
||||||
*.tmp
|
*.tmp
|
||||||
|
|
||||||
|
# Claude Code files - internal dev tooling, never ship in image
|
||||||
|
.claude/
|
||||||
|
CLAUDE.md
|
||||||
|
plans/
|
||||||
|
|
||||||
|
# Documentation files not needed at runtime
|
||||||
|
*.md
|
||||||
|
!README.md
|
||||||
|
|||||||
@@ -239,7 +239,6 @@ jobs:
|
|||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: '20.x'
|
node-version: '20.x'
|
||||||
cache: 'npm'
|
|
||||||
|
|
||||||
- name: Get version
|
- name: Get version
|
||||||
id: get_version
|
id: get_version
|
||||||
|
|||||||
+1
-1
@@ -1,2 +1,2 @@
|
|||||||
node_modules/
|
node_modules/
|
||||||
package-lock.json
|
.claude/
|
||||||
|
|||||||
@@ -0,0 +1,21 @@
|
|||||||
|
# Keeper Secrets Manager Harness Plugin
|
||||||
|
Retrieve secrets from Keeper Vault directly into your Harness CI pipeline steps at runtime —
|
||||||
|
no secrets stored in Harness, no plaintext in pipeline configs.
|
||||||
|
|
||||||
|
## Documentation
|
||||||
|
For setup and usage, visit the [GitHub repository](https://github.com/Keeper-Security/harness-integration).
|
||||||
|
|
||||||
|
## How to Use This Image
|
||||||
|
```yaml
|
||||||
|
step:
|
||||||
|
type: Plugin
|
||||||
|
spec:
|
||||||
|
image: keeper/harness-plugin:latest
|
||||||
|
settings:
|
||||||
|
ksm_config: <+secrets.getValue("Keeper_Config_Secret")>
|
||||||
|
secrets: |
|
||||||
|
RECORD_UID/field/password > DB_PASSWORD
|
||||||
|
```
|
||||||
|
|
||||||
|
## Support and Feedback
|
||||||
|
For support or bug reports, file an issue on our [GitHub page](https://github.com/Keeper-Security/harness-integration/issues).
|
||||||
Generated
+4507
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -44,7 +44,7 @@ const processToken = (rawToken) => {
|
|||||||
if (!token.startsWith('US:') && !token.startsWith('{')) {
|
if (!token.startsWith('US:') && !token.startsWith('{')) {
|
||||||
try {
|
try {
|
||||||
token = Buffer.from(token, 'base64').toString('utf-8').trim();
|
token = Buffer.from(token, 'base64').toString('utf-8').trim();
|
||||||
} catch (e) {
|
} catch {
|
||||||
// Not base64, use as-is
|
// Not base64, use as-is
|
||||||
core.warning('Base64 decode failed, using raw value');
|
core.warning('Base64 decode failed, using raw value');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user