mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-15 05:19:49 +00:00
feat: finished crud endpoints
This commit is contained in:
@@ -14,13 +14,13 @@ export async function up(knex: Knex): Promise<void> {
|
||||
t.uuid("identityId").notNullable().unique();
|
||||
t.foreign("identityId").references("id").inTable(TableName.Identity).onDelete("CASCADE");
|
||||
t.string("configurationType").notNullable();
|
||||
t.string("jwksUrl");
|
||||
t.binary("encryptedJwksCaCert");
|
||||
t.binary("encryptedPublicKeys");
|
||||
t.string("boundIssuer");
|
||||
t.string("boundAudiences");
|
||||
t.jsonb("boundClaims");
|
||||
t.string("boundSubject");
|
||||
t.string("jwksUrl").notNullable();
|
||||
t.binary("encryptedJwksCaCert").notNullable();
|
||||
t.binary("encryptedPublicKeys").notNullable();
|
||||
t.string("boundIssuer").notNullable();
|
||||
t.string("boundAudiences").notNullable();
|
||||
t.jsonb("boundClaims").notNullable();
|
||||
t.string("boundSubject").notNullable();
|
||||
t.timestamps(true, true, true);
|
||||
});
|
||||
|
||||
|
||||
@@ -17,13 +17,13 @@ export const IdentityJwtAuthsSchema = z.object({
|
||||
accessTokenTrustedIps: z.unknown(),
|
||||
identityId: z.string().uuid(),
|
||||
configurationType: z.string(),
|
||||
jwksUrl: z.string().nullable().optional(),
|
||||
encryptedJwksCaCert: zodBuffer.nullable().optional(),
|
||||
encryptedPublicKeys: zodBuffer.nullable().optional(),
|
||||
boundIssuer: z.string().nullable().optional(),
|
||||
boundAudiences: z.string().nullable().optional(),
|
||||
boundClaims: z.unknown().nullable().optional(),
|
||||
boundSubject: z.string().nullable().optional(),
|
||||
jwksUrl: z.string(),
|
||||
encryptedJwksCaCert: zodBuffer,
|
||||
encryptedPublicKeys: zodBuffer,
|
||||
boundIssuer: z.string(),
|
||||
boundAudiences: z.string(),
|
||||
boundClaims: z.unknown(),
|
||||
boundSubject: z.string(),
|
||||
createdAt: z.date(),
|
||||
updatedAt: z.date()
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user