Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@
"s3_secret_key": {
"minLength": 8,
"maxLength": 128,
"pattern": "^(?!admin$)[^\\\\'\"]+$",
"description": "S3 Secret Key for storage backend (MinIO password or Dell PowerScale S3 Secret Key). Should not be kept 'admin'. Length must be between 8 and 128 characters and must not contain backslashes (\\), single quotes ('), or double quotes (\\\")."
"pattern": "^[^\\\\\\-'\"]+$",

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this change required? can you modify description as well

@abhishek-sa1 abhishek-sa1 Jul 13, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

requires a validation having admin as password as admin for minio flow

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for this feedback. I had a chat with @priti-parate - there appears to be a historical reason why 'admin' was prohibited. If we can discover that and it is still relevant than I think this PR can be changed: line 109 s/Should/Must/.

let's see if we can unearth weather 'admin' is prohibited by a rule, or not :)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good. can you update error message instead of the rule

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, I've updated the text to remove the info about 'admin'. 'admin' cannot be used for at least one reason: it is less than 8 characters. We don't need to call it out specifically.

However, now the title of this PR is incorrect. I will update that.

"description": "S3 Secret Key for storage backend (MinIO password or Dell PowerScale S3 Secret Key). Length must be between 8 and 128 characters and must not contain backslashes (\\), single quotes ('), or double quotes (\\\")."
},
"s3_access_id": {
"minLength": 4,
Expand Down
Loading