Skip to content

Commit

Permalink
Vault env var sync indicates that 403 might be due to invalid path.
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilwylegala committed Nov 26, 2024
1 parent 753a15e commit b2151f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/app/script-utils/src/vault/vault.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export const vaultGetVars = (service: string): Record<string, string> => {
return responseJson.data.data
} catch (e: unknown) {
if (isExecError(e)) {
globalLogger.error(`Vault ${service} error downloading env vars -> ${e.stderr.toString()}`)
globalLogger.error(`Vault ${service} error downloading env vars -> ${e.stderr.toString()}. Make sure you're using correct path to secrets. Vault reports 403 if the path is incorrect.`)
}
return {}
}
Expand Down

0 comments on commit b2151f9

Please sign in to comment.