Remove pwd rotation stuff for now

This commit is contained in:
Fang-Pen Lin
2025-10-24 12:29:34 -07:00
parent 503b7f04eb
commit 1f17cbd84f
2 changed files with 11 additions and 4 deletions
@@ -58,11 +58,19 @@ export const MySQLAccountSchema = BasePamAccountSchema.extend({
credentials: MySQLAccountCredentialsSchema
});
export const CreateMySQLAccountSchema = BaseCreatePamAccountSchema.extend({
export const CreateMySQLAccountSchema = BaseCreatePamAccountSchema.omit({
// We don't support pwd rotation for mysql yet
rotationEnabled: true,
rotationIntervalSeconds: true
}).extend({
credentials: MySQLAccountCredentialsSchema
});
export const UpdateMySQLAccountSchema = BaseUpdatePamAccountSchema.extend({
export const UpdateMySQLAccountSchema = BaseUpdatePamAccountSchema.omit({
// We don't support pwd rotation for mysql yet
rotationEnabled: true,
rotationIntervalSeconds: true
}).extend({
credentials: MySQLAccountCredentialsSchema.optional()
});