mirror of
https://github.com/pgsty/minio.git
synced 2026-03-16 17:53:43 +01:00
Reduce Minio access key minimum length to 3 (#5478)
This is a generic minimum value. The current reason is to support Azure blob storage accounts name whose length is less than 5. 3 is the minimum length for Azure.
This commit is contained in:
committed by
Nitish Tiwari
parent
2afd196c83
commit
da2faa19a1
@@ -116,10 +116,10 @@ func TestParseCredentialHeader(t *testing.T) {
|
||||
expectedErrCode: ErrCredMalformed,
|
||||
},
|
||||
// Test Case - 4.
|
||||
// Test case with AccessKey of length 4.
|
||||
// Test case with AccessKey of length 2.
|
||||
{
|
||||
inputCredentialStr: generateCredentialStr(
|
||||
"^#@.",
|
||||
"^#",
|
||||
UTCNow().Format(yyyymmdd),
|
||||
"ABCD",
|
||||
"ABCD",
|
||||
|
||||
Reference in New Issue
Block a user