( secrets: readonly V1SecretRow[], scopeId: string, secretId: string, )
| 1805 | }; |
| 1806 | |
| 1807 | const providerForSecret = ( |
| 1808 | secrets: readonly V1SecretRow[], |
| 1809 | scopeId: string, |
| 1810 | secretId: string, |
| 1811 | ): string => |
| 1812 | secrets.find((s) => s.scopeId === scopeId && s.id === secretId)?.provider ?? "workos-vault"; |