mirror of
https://github.com/Keeper-Security/harness-integration.git
synced 2026-06-16 14:49:05 +08:00
Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 721adbcbc3 | |||
| 65515eb4d9 | |||
| 74636825f9 | |||
| 2dd1ce1851 | |||
| d0c62ef8e7 |
@@ -235,7 +235,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,2 +1 @@
|
|||||||
node_modules/
|
node_modules/
|
||||||
package-lock.json
|
|
||||||
@@ -59,7 +59,7 @@ pipeline:
|
|||||||
name: Fetch_Keeper_Secrets
|
name: Fetch_Keeper_Secrets
|
||||||
identifier: Fetch_Keeper_Secrets
|
identifier: Fetch_Keeper_Secrets
|
||||||
spec:
|
spec:
|
||||||
image: dhborse/keeper-harness-plugin
|
image: keeper/harness-plugin:latest
|
||||||
settings:
|
settings:
|
||||||
secrets: |
|
secrets: |
|
||||||
RECORD_UID/field/password > PASSWORD
|
RECORD_UID/field/password > PASSWORD
|
||||||
|
|||||||
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