Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for design (0.17 sec)

  1. cmd/auth-handler.go

    		strings.HasPrefix(r.Header.Get(xhttp.Authorization), signV2Algorithm))
    }
    
    // Verify if request has AWS PreSign Version '4'.
    func isRequestPresignedSignatureV4(r *http.Request) bool {
    	_, ok := r.Form[xhttp.AmzCredential]
    	return ok
    }
    
    // Verify request has AWS PreSign Version '2'.
    func isRequestPresignedSignatureV2(r *http.Request) bool {
    	_, ok := r.Form[xhttp.AmzAccessKeyID]
    	return ok
    }
    
    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. helm/minio/README.md

    - `users[].existingSecret` - secret name that contains the secretKey of user
    - `users[].existingSecretKey` - data key in existingSecret secret containing the secretKey
    - `users[].policy` - name of the policy to assign to user
    
    ### Create service account after install
    
    Install the chart, specifying the service accounts you want to create after install:
    
    ```bash
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jan 24 07:27:57 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  3. cmd/kms-handlers.go

    		writeCustomErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrInternalError), err.Error(), r.URL)
    		return
    	}
    	writeSuccessResponseJSON(w, p)
    }
    
    // KMSAssignPolicyHandler - POST /minio/kms/v1/policy/assign?policy=<policy>
    func (a kmsAPIHandlers) KMSAssignPolicyHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "KMSAssignPolicy")
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  4. docs/sts/web-identity.md

    is validated by using a JWT id_token from the web identity provider. The temporary security credentials returned by this API consists of an access key, a secret key, and a security token. Applications can use these temporary security credentials to sign calls to MinIO API operations.
    
    By default, the temporary security credentials created by AssumeRoleWithWebIdentity last for one hour. However, the optional DurationSeconds parameter can be used to specify the validity duration of the generated...
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  5. cmd/signature-v2.go

    	if canonicalQuery != "" {
    		return encodedResource + "?" + canonicalQuery
    	}
    	return encodedResource
    }
    
    // Return string to sign under two different conditions.
    // - if expires string is set then string to sign includes date instead of the Date header.
    // - if expires string is empty then string to sign includes date header instead.
    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)
  6. cmd/storage-datatypes.go

    //     only after as a 2-phase call, allowing the older dataDir to
    //     hang-around in-case we need some form of recovery.
    type RenameDataResp struct {
    	Sign       []byte
    	OldDataDir string // contains '<uuid>', it is designed to be passed as value to Delete(bucket, pathJoin(object, dataDir))
    }
    
    // LocalDiskIDs - GetLocalIDs response.
    type LocalDiskIDs struct {
    	IDs []string
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  7. cmd/auth-handler_test.go

    		{
    			authT: authTypeStreamingSigned,
    			pass:  true,
    		},
    		// Test 6 - supported s3 type with signature v2.
    		{
    			authT: authTypeSignedV2,
    			pass:  true,
    		},
    		// Test 7 - supported s3 type with presign v2.
    		{
    			authT: authTypePresignedV2,
    			pass:  true,
    		},
    		// Test 8 - JWT is not supported s3 type.
    		{
    			authT: authTypeJWT,
    			pass:  false,
    		},
    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. cmd/streaming-signature-v4.go

    // getChunkSignature - get chunk signature.
    // Does not update anything in cr.
    func (cr *s3ChunkedReader) getChunkSignature() string {
    	hashedChunk := hex.EncodeToString(cr.chunkSHA256Writer.Sum(nil))
    
    	// Calculate string to sign.
    	alg := signV4ChunkedAlgorithm + "\n"
    	stringToSign := alg +
    		cr.seedDate.Format(iso8601Format) + "\n" +
    		getScope(cr.seedDate, cr.region) + "\n" +
    		cr.seedSignature + "\n" +
    		emptySHA256 + "\n" +
    		hashedChunk
    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)
  9. cmd/post-policy_test.go

    	// Create a new post policy.
    	policy := newPostPolicyBytesV2(bucketName, objectName, expirationTime)
    	// Only need the encoding.
    	encodedPolicy := base64.StdEncoding.EncodeToString(policy)
    
    	// Presign with V4 signature based on the policy.
    	signature := calculateSignatureV2(encodedPolicy, secretKey)
    
    	formData := map[string]string{
    		"AWSAccessKeyId":              accessKey,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  10. cmd/encryption-v1.go

    		return 0, errors.New("Cannot compute decrypted size of an unencrypted object")
    	}
    	if !o.isMultipart() {
    		size, err := sio.DecryptedSize(uint64(o.Size))
    		if err != nil {
    			err = errObjectTampered // assign correct error type
    		}
    		return int64(size), err
    	}
    
    	var size int64
    	for _, part := range o.Parts {
    		partSize, err := sio.DecryptedSize(uint64(part.Size))
    		if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 36.5K bytes
    - Viewed (0)
Back to top