Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestIsSecretKeyValid (0.16 sec)

  1. internal/auth/credentials_test.go

    		result := IsAccessKeyValid(testCase.accessKey)
    		if result != testCase.expectedResult {
    			t.Fatalf("test %v: expected: %v, got: %v", i+1, testCase.expectedResult, result)
    		}
    	}
    }
    
    func TestIsSecretKeyValid(t *testing.T) {
    	testCases := []struct {
    		secretKey      string
    		expectedResult bool
    	}{
    		{alphaNumericTable[:secretKeyMinLen], true},
    		{alphaNumericTable[:secretKeyMinLen+1], true},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Mar 01 21:09:42 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top