Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 203 for credential (0.25 sec)

  1. cmd/signature-v4_test.go

    	testCases := []struct {
    		form     http.Header
    		expected APIErrorCode
    	}{
    		// (0) It should fail if 'X-Amz-Credential' is missing.
    		{
    			form:     http.Header{},
    			expected: ErrCredMalformed,
    		},
    		// (1) It should fail if the access key is incorrect.
    		{
    			form: http.Header{
    				"X-Amz-Credential": []string{fmt.Sprintf(credentialTemplate, "EXAMPLEINVALIDEXAMPL", now.Format(yyyymmdd), globalMinioDefaultRegion)},
    			},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 10.4K bytes
    - Viewed (1)
  2. cmd/warm-backend-azure.go

    	}
    
    	if conf.IsSPEnabled() {
    		credential, err = newCredentialFromSP(conf)
    	} else {
    		credential, err = azblob.NewSharedKeyCredential(conf.AccountName, conf.AccountKey)
    	}
    	if err != nil {
    		if _, ok := err.(base64.CorruptInputError); ok {
    			return nil, errors.New("invalid Azure credentials")
    		}
    		return nil, err
    	}
    	p := azblob.NewPipeline(credential, azblob.PipelineOptions{})
    	var u *url.URL
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 05 16:44:08 GMT 2024
    - 7.8K bytes
    - Viewed (1)
  3. docs/config/README.md

    /home/user1/.minio
    └─ certs
       ├─ CAs
       ├─ private.key
       └─ public.crt
    ```
    
    You can provide a custom certs directory using `--certs-dir` command line option.
    
    #### Credentials
    
    On MinIO admin credentials or root credentials are only allowed to be changed using ENVs namely `MINIO_ROOT_USER` and `MINIO_ROOT_PASSWORD`.
    
    ```sh
    export MINIO_ROOT_USER=minio
    export MINIO_ROOT_PASSWORD=minio13
    minio server /data
    ```
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 11 21:48:54 GMT 2023
    - 17.7K bytes
    - Viewed (0)
  4. cmd/auth-handler.go

    }
    
    func validateAdminSignature(ctx context.Context, r *http.Request, region string) (auth.Credentials, bool, APIErrorCode) {
    	var cred auth.Credentials
    	var owner bool
    	s3Err := ErrAccessDenied
    	if _, ok := r.Header[xhttp.AmzContentSha256]; ok &&
    		getRequestAuthType(r) == authTypeSigned {
    
    		// Get credential information from the request.
    		cred, owner, s3Err = getReqAccessKeyV4(r, region, serviceS3)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 26K bytes
    - Viewed (0)
  5. cmd/signature-v4-utils_test.go

    	}{
    		{"shastring", "", "shastring"},
    		{emptySHA256, "", emptySHA256},
    		{"", "", emptySHA256},
    		{"", "X-Amz-Credential=random", unsignedPayload},
    		{"", "X-Amz-Credential=random&X-Amz-Content-Sha256=" + unsignedPayload, unsignedPayload},
    		{"", "X-Amz-Credential=random&X-Amz-Content-Sha256=shastring", "shastring"},
    	}
    
    	for i, testCase := range testCases {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 14.3K bytes
    - Viewed (0)
  6. buildscripts/verify-healing.sh

    function __init__() {
    	echo "Initializing environment"
    	mkdir -p "$WORK_DIR"
    	mkdir -p "$MINIO_CONFIG_DIR"
    
    	## version is purposefully set to '3' for minio to migrate configuration file
    	echo '{"version": "3", "credential": {"accessKey": "minio", "secretKey": "minio123"}, "region": "us-east-1"}' >"$MINIO_CONFIG_DIR/config.json"
    
    	if [ ! -f /tmp/mc ]; then
    		wget --quiet -O /tmp/mc https://dl.minio.io/client/mc/release/linux-amd64/mc &&
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:55:41 GMT 2024
    - 4.2K bytes
    - Viewed (1)
  7. cmd/auth-handler_test.go

    	testCases := []struct {
    		inputQueryKey   string
    		inputQueryValue string
    		expectedResult  bool
    	}{
    		// Test case - 1.
    		// Test case with query key ""X-Amz-Credential" set.
    		{"", "", false},
    		// Test case - 2.
    		{"X-Amz-Credential", "", true},
    		// Test case - 3.
    		{"X-Amz-Content-Sha256", "", false},
    	}
    
    	for i, testCase := range testCases {
    		// creating an input HTTP request.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  8. buildscripts/verify-build.sh

    	shred -n 1 -s 1M - 1>"$FILE_1_MB" 2>/dev/null
    	shred -n 1 -s 65M - 1>"$FILE_65_MB" 2>/dev/null
    
    	## version is purposefully set to '3' for minio to migrate configuration file
    	echo '{"version": "3", "credential": {"accessKey": "minio", "secretKey": "minio123"}, "region": "us-east-1"}' >"$MINIO_CONFIG_DIR/config.json"
    
    	if ! wget -q -O "$FUNCTIONAL_TESTS" https://raw.githubusercontent.com/minio/mc/master/functional-tests.sh; then
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 26 05:07:25 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  9. docs/multi-user/README.md

    		"s3:GetObject",
    		"s3:PutObject"
    	  ],
    	  "Effect": "Allow",
    	  "Resource": ["arn:aws:s3:::mybucket/${aws:username}/*"]
    	}
      ]
    }
    ```
    
    If the user is authenticating using an STS credential which was authorized from OpenID connect we allow all `jwt:*` variables specified in the JWT specification, custom `jwt:*` or extensions are not supported. List of policy variables for OpenID based STS.
    
    - `jwt:sub`
    - `jwt:iss`
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 21 06:38:06 GMT 2023
    - 8K bytes
    - Viewed (0)
  10. cmd/streaming-signature-v4.go

    	if errCode != ErrNone {
    		return cred, "", "", time.Time{}, errCode
    	}
    
    	cred, _, errCode = checkKeyValid(r, signV4Values.Credential.accessKey)
    	if errCode != ErrNone {
    		return cred, "", "", time.Time{}, errCode
    	}
    
    	// Verify if region is valid.
    	region = signV4Values.Credential.scope.region
    
    	// Extract date, if not present throw error.
    	var dateStr string
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 18.2K bytes
    - Viewed (0)
Back to top