Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ListKeys (0.04 sec)

  1. internal/kms/kms.go

    	k.updateMetrics(err, time.Since(start))
    
    	return err
    }
    
    // ListKeys returns a list of keys with metadata and a potential
    // next name from where to continue a subsequent listing.
    func (k *KMS) ListKeys(ctx context.Context, req *ListRequest) ([]madmin.KMSKeyInfo, string, error) {
    	if req.Prefix == "*" {
    		req.Prefix = ""
    	}
    	return k.conn.ListKeys(ctx, req)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  2. cmd/kms-handlers.go

    	if objectAPI == nil {
    		return
    	}
    
    	if GlobalKMS == nil {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrKMSNotConfigured), r.URL)
    		return
    	}
    	allKeys, _, err := GlobalKMS.ListKeys(ctx, &kms.ListRequest{
    		Prefix: r.Form.Get("pattern"),
    	})
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 10.1K bytes
    - Viewed (0)
Back to top