Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

it does not work: #71

Open
zhanghanke opened this issue Dec 26, 2024 · 0 comments
Open

it does not work: #71

zhanghanke opened this issue Dec 26, 2024 · 0 comments

Comments

@zhanghanke
Copy link

key, err := apikey.New(c.organizationId)
if err != nil {
	return nil, err
}

if err = local.New[*apikey.Key, apikey.Metadata]().Store(keyName, key); err != nil {
	return nil, err
}

if key, err = local.New[*apikey.Key, apikey.Metadata]().Load(keyName); err != nil {
	return nil, err
}

failed to merge key metadata with key: metadata public key "" does not match API key public key

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant