Skip to content

Commit

Permalink
fix(rdb): add documentation about password validation (#1603)
Browse files Browse the repository at this point in the history
  • Loading branch information
scaleway-bot authored Nov 25, 2024
1 parent 9180ab7 commit 9c92e5b
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions packages/clients/src/api/rdb/v1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -800,7 +800,11 @@ export type CreateInstanceRequest = {
engine: string
/** Username created when the Database Instance is created. */
userName: string
/** Password of the user. */
/**
* Password of the user. Password must be between 8 and 128 characters,
* contain at least one digit, one uppercase, one lowercase and one special
* character.
*/
password: string
/** Type of node to use for the Database Instance. */
nodeType: string
Expand Down Expand Up @@ -883,7 +887,11 @@ export type CreateUserRequest = {
instanceId: string
/** Name of the user you want to create. */
name: string
/** Password of the user you want to create. */
/**
* Password of the user you want to create. Password must be between 8 and 128
* characters, contain at least one digit, one uppercase, one lowercase and
* one special character.
*/
password: string
/** Defines whether the user will have administrative privileges. */
isAdmin: boolean
Expand Down Expand Up @@ -1559,7 +1567,11 @@ export type UpdateUserRequest = {
instanceId: string
/** Name of the database user. */
name: string
/** Password of the database user. */
/**
* Password of the database user. Password must be between 8 and 128
* characters, contain at least one digit, one uppercase, one lowercase and
* one special character.
*/
password?: string
/** Defines whether or not this user got administrative privileges. */
isAdmin?: boolean
Expand Down

0 comments on commit 9c92e5b

Please sign in to comment.