improvements: address feedback, feature docs and cert validation with dns rebinding handling

This commit is contained in:
Scott Wilson
2025-04-03 21:17:04 -07:00
parent 577c81be65
commit 715441908b
24 changed files with 708 additions and 306 deletions
@@ -153,6 +153,12 @@ export const secretRotationV2ServiceFactory = ({
tx: Knex;
secretPath: string;
}) => {
if (new Set(secretKeys).size !== secretKeys.length) {
throw new BadRequestError({
message: `Secrets mapping keys must be unique. "${secretKeys.join(", ")}" contains duplicate keys.`
});
}
const conflictingSecrets = await secretV2BridgeDAL.find(
{
$in: {