Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GenerateKey (0.2 sec)

  1. cmd/bucket-encryption-handlers.go

    		return
    	}
    	kmsKey := encConfig.KeyID()
    	if kmsKey != "" {
    		kmsContext := kms.Context{"MinIO admin API": "ServerInfoHandler"} // Context for a test key operation
    		_, err := GlobalKMS.GenerateKey(ctx, kmsKey, kmsContext)
    		if err != nil {
    			if errors.Is(err, kes.ErrKeyNotFound) {
    				writeErrorResponse(ctx, w, toAPIError(ctx, errKMSKeyNotFound), r.URL)
    				return
    			}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.4K bytes
    - Viewed (0)
Back to top