R2 Access Key ID and Secret Access Key Regex Compatibility with AWS

Suggest R2 access key ID and secret access key be regex compatible with those in AWS. This way R2 can be more compatible with tools that connects to AWS S3, and are using regex to validate inputs.

Suggested access key IDs regex: (?<![A-Z0-9])[A-Z0-9]{20}(?![A-Z0-9])
Suggested secret access keys regex: (?<![A-Za-z0-9/+=])[A-Za-z0-9/+=]{40}(?![A-Za-z0-9/+=]).

Refer to the following link:

1 Like