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:
A. Elleuch
2018-02-02 04:43:30 +01:00
committed by Nitish Tiwari
parent 2afd196c83
commit da2faa19a1
5 changed files with 7 additions and 7 deletions

View File

@@ -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",