Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 202 for accessKey (0.21 sec)

  1. cmd/auth-handler.go

    	}
    	secret := globalActiveCred.SecretKey
    	if globalSiteReplicationSys.isEnabled() && cred.AccessKey != siteReplicatorSvcAcc {
    		nsecret, err := getTokenSigningKey()
    		if err != nil {
    			return nil, toAPIErrorCode(r.Context(), err)
    		}
    		// sign root's temporary accounts also with site replicator creds
    		if cred.ParentUser != globalActiveCred.AccessKey || cred.IsTemp() {
    			secret = nsecret
    		}
    	}
    	if cred.IsServiceAccount() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 26K bytes
    - Viewed (0)
  2. cmd/bucket-lifecycle-handlers_test.go

    		method     string
    		bucketName string
    		accessKey  string
    		secretKey  string
    		// Sent body
    		body []byte
    		// Expected response
    		expectedRespStatus int
    		lifecycleResponse  []byte
    		errorResponse      APIErrorResponse
    		shouldPass         bool
    	}{
    		// GET empty credentials
    		{
    			method: http.MethodGet, bucketName: bucketName,
    			accessKey:          "",
    			secretKey:          "",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 13 20:52:33 GMT 2023
    - 11.2K bytes
    - Viewed (0)
  3. cmd/signature-v2.go

    	}
    
    	r.Form.Del(xhttp.Expires)
    
    	return ErrNone
    }
    
    func getReqAccessKeyV2(r *http.Request) (auth.Credentials, bool, APIErrorCode) {
    	if accessKey := r.Form.Get(xhttp.AmzAccessKeyID); accessKey != "" {
    		return checkKeyValid(r, accessKey)
    	}
    
    	// below is V2 Signed Auth header format, splitting on `space` (after the `AWS` string).
    	// Authorization = "AWS" + " " + AWSAccessKeyId + ":" + Signature
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  4. cmd/auth-handler_test.go

    	req := mustNewRequest(method, urlStr, contentLength, body, t)
    	cred := globalActiveCred
    	if err := signRequestV4(req, cred.AccessKey, cred.SecretKey); err != nil {
    		t.Fatalf("Unable to initialized new signed http request %s", err)
    	}
    	return req
    }
    
    // This is similar to mustNewRequest but additionally the 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)
  5. cmd/bucket-targets.go

    			return BucketRemoteTargetNotFound{Bucket: tgt.TargetBucket, Err: err}
    		case "AccessDenied":
    			return RemoteTargetConnectionErr{Bucket: tgt.TargetBucket, AccessKey: tgt.Credentials.AccessKey, Err: err}
    		}
    		return RemoteTargetConnectionErr{Bucket: tgt.TargetBucket, AccessKey: tgt.Credentials.AccessKey, Err: err}
    	}
    	if !exists {
    		return BucketRemoteTargetNotFound{Bucket: tgt.TargetBucket}
    	}
    	if tgt.Type == madmin.ReplicationService {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  6. internal/auth/credentials.go

    // Error is returned if given access key or secret key are invalid length.
    func CreateCredentials(accessKey, secretKey string) (cred Credentials, err error) {
    	if !IsAccessKeyValid(accessKey) {
    		return cred, ErrInvalidAccessKeyLength
    	}
    	if !IsSecretKeyValid(secretKey) {
    		return cred, ErrInvalidSecretKeyLength
    	}
    	cred.AccessKey = accessKey
    	cred.SecretKey = secretKey
    	cred.Expiration = timeSentinel
    	cred.Status = AccountOn
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  7. cmd/bucket-policy-handlers_test.go

    			accessKey:            credentials.AccessKey,
    			secretKey:            credentials.SecretKey,
    			expectedBucketPolicy: bucketPolicyTemplate,
    			expectedRespStatus:   http.StatusNotFound,
    		},
    		// Test case - 3.
    		// Case with non-existent bucket name.
    		{
    			bucketName:           ".invalid-bucket-name",
    			accessKey:            credentials.AccessKey,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 32.7K bytes
    - Viewed (0)
  8. helm-releases/minio-5.0.15.tgz

    Install the chart, specifying the users you want to create after install: ```bash helm install --set users[0].accessKey=accessKey,users[0].secretKey=secretKey,users[0].policy=none,users[1].accessKey=accessKey2,users[1].secretRef=existingSecret,users[1].secretKey=password,users[1].policy=none minio/minio ``` Description of the configuration parameters used above - - `users[].accessKey` - accessKey of user - `users[].secretKey` - secretKey of usersecretRef - `users[].existingSecret` - secret name that contains...
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Jan 12 18:18:57 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  9. helm-releases/minio-5.0.2.tgz

    Install the chart, specifying the users you want to create after install: ```bash helm install --set users[0].accessKey=accessKey,users[0].secretKey=secretKey,users[0].policy=none,users[1].accessKey=accessKey2,users[1].secretRef=existingSecret,users[1].secretKey=password,users[1].policy=none minio/minio ``` Description of the configuration parameters used above - - `users[].accessKey` - accessKey of user - `users[].secretKey` - secretKey of usersecretRef - `users[].existingSecret` - secret name that contains...
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Dec 18 07:57:10 GMT 2022
    - 20.4K bytes
    - Viewed (0)
  10. cmd/bucket-handlers_test.go

    		bucketName string
    		accessKey  string
    		secretKey  string
    		// expected Response.
    		expectedRespStatus int
    		locationResponse   []byte
    		errorResponse      APIErrorResponse
    		shouldPass         bool
    	}{
    		// Test case - 1.
    		// Tests for authenticated request and proper response.
    		{
    			bucketName:         bucketName,
    			accessKey:          credentials.AccessKey,
    			secretKey:          credentials.SecretKey,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 39.5K bytes
    - Viewed (2)
Back to top