Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for listkeys (0.9 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 Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Apr 24 15:33:57 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  2. lib/hg/goreposum.py

      for name, revs in peer.branchmap().items():
        h.update(name)
        for r in revs:
          h.update(b' ')
          h.update(r)
        h.update(b'\n')
      if (b'bookmarks' in peer.listkeys(b'namespaces')):
        for name, rev in peer.listkeys(b'bookmarks').items():
          h.update(name)
          h.update(b'=')
          h.update(rev)
          h.update(b'\n')
      print('r1:'+base64.standard_b64encode(h.digest()).decode('utf-8'))
    
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Tue Nov 11 15:21:02 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  3. internal/kms/stub.go

    func (s StubKMS) Status(context.Context) (map[string]madmin.ItemState, error) {
    	return map[string]madmin.ItemState{
    		"127.0.0.1": madmin.ItemOnline,
    	}, nil
    }
    
    // ListKeys returns a list of keys with metadata.
    func (s StubKMS) ListKeys(ctx context.Context, req *ListRequest) ([]madmin.KMSKeyInfo, string, error) {
    	matches := []madmin.KMSKeyInfo{}
    	if req.Prefix == "" {
    		req.Prefix = "*"
    	}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. internal/kms/secret-key.go

    func (secretKey) Status(context.Context) (map[string]madmin.ItemState, error) {
    	return map[string]madmin.ItemState{
    		"127.0.0.1": madmin.ItemOnline,
    	}, nil
    }
    
    // ListKeys returns a list of keys with metadata. The builtin KMS consists of just a single key.
    func (s secretKey) ListKeys(ctx context.Context, req *ListRequest) ([]madmin.KMSKeyInfo, string, error) {
    	if strings.HasPrefix(s.keyID, req.Prefix) && strings.HasPrefix(s.keyID, req.ContinueAt) {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Apr 21 16:23:51 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  5. internal/kms/kes.go

    		} else {
    			status[r.Endpoint] = madmin.ItemOffline
    		}
    	}
    	return status, nil
    }
    
    func (c *kesConn) ListKeys(ctx context.Context, req *ListRequest) ([]madmin.KMSKeyInfo, string, error) {
    	names, continueAt, err := c.client.ListKeys(ctx, req.Prefix, req.Limit)
    	if err != nil {
    		return nil, "", err
    	}
    	keyInfos := make([]madmin.KMSKeyInfo, len(names))
    	for i := range names {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. 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 Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  7. internal/kms/conn.go

    	Status(context.Context) (map[string]madmin.ItemState, error)
    
    	// CreateKey creates a new key at the KMS with the given key ID.
    	CreateKey(context.Context, *CreateKeyRequest) error
    
    	ListKeys(context.Context, *ListRequest) ([]madmin.KMSKeyInfo, string, error)
    
    	// GenerateKey generates a new data encryption key using the
    	// key referenced by the key ID.
    	//
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. cmd/iam-object-store_test.go

    		},
    	}
    	for i, test := range cases {
    		listKey, item := splitPath(test.path, test.secondIndex)
    		if listKey != test.expectedListKey || item != test.expectedItem {
    			t.Errorf("unexpected result on test[%v]: expected[%s, %s] but got [%s, %s]", i, test.expectedListKey, test.expectedItem, listKey, item)
    		}
    	}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java

        assertThrows(NoSuchElementException.class, () -> assertNull(navigableMap.lastKey()));
      }
    
      @CollectionSize.Require(ONE)
      public void testSingletonMapFirst() {
        assertEquals(a.getKey(), navigableMap.firstKey());
      }
    
      @CollectionSize.Require(ONE)
      public void testSingletonMapLast() {
        assertEquals(a.getKey(), navigableMap.lastKey());
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testFirst() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 20:54:16 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java

        assertThrows(NoSuchElementException.class, () -> assertNull(navigableMap.lastKey()));
      }
    
      @CollectionSize.Require(ONE)
      public void testSingletonMapFirst() {
        assertEquals(a.getKey(), navigableMap.firstKey());
      }
    
      @CollectionSize.Require(ONE)
      public void testSingletonMapLast() {
        assertEquals(a.getKey(), navigableMap.lastKey());
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testFirst() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 20:54:16 UTC 2025
    - 6.2K bytes
    - Viewed (0)
Back to top