Skip to main content

Variable: GatewayApiKeyRotationPolicySchema

const GatewayApiKeyRotationPolicySchema: ZodEffects<ZodEffects<ZodObject<{
rotation_period: ZodOptional<ZodNullable<ZodEnum<["monthly", "weekly"]>>>;
next_rotation_at: ZodOptional<ZodNullable<ZodString>>;
key_transition_period_ms: ZodOptional<ZodNumber>;
}, "strict", ZodTypeAny, {
rotation_period?: "monthly" | "weekly" | null;
next_rotation_at?: string | null;
key_transition_period_ms?: number;
}, {
rotation_period?: "monthly" | "weekly" | null;
next_rotation_at?: string | null;
key_transition_period_ms?: number;
}>, {
[key: string]: any;
}, {
[key: string]: any;
}>, {
[key: string]: any;
}, {
[key: string]: any;
}>;

Defined in: src/models/ai-gateway-requests.ts:255