MCPcopy Create free account
hub / github.com/pydio/cells / AdminDeleteKey

Method AdminDeleteKey

idm/key/grpc/handler.go:146–153  ·  view source on GitHub ↗
(ctx context.Context, req *enc.AdminDeleteKeyRequest)

Source from the content-addressed store, hash-verified

144}
145
146func (ukm *userKeyStore) AdminDeleteKey(ctx context.Context, req *enc.AdminDeleteKeyRequest) (*enc.AdminDeleteKeyResponse, error) {
147 dao, err := manager.Resolve[key.DAO](ctx)
148 if err != nil {
149 return nil, err
150 }
151
152 return &enc.AdminDeleteKeyResponse{}, dao.DeleteKey(ctx, common.PydioSystemUsername, req.KeyID)
153}
154
155func (ukm *userKeyStore) AdminImportKey(ctx context.Context, req *enc.AdminImportKeyRequest) (*enc.AdminImportKeyResponse, error) {
156 dao, err := manager.Resolve[key.DAO](ctx)

Callers

nothing calls this directly

Calls 1

DeleteKeyMethod · 0.65

Tested by

no test coverage detected