Skip to content

Securing API Key #1831

Answered by Montoya
tadejgolobic asked this question in Q&A
Oct 9, 2023 · 1 comments · 4 replies
Discussion options

You must be logged in to vote

Oh OK, yes, I understand the question now. Any API that should be callable by Snaps would have to be open since any API key that would be used will be exposed by the Snap. Snaps are client-side, so it isn't possible to hide that. If you do user-based authentication then you can control this on a per-user basis (throttle requests that are not authenticated, limit the # of unauthenticated requests, etc) but otherwise there is no way to restrict access at the API level.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@tadejgolobic
Comment options

@Montoya
Comment options

Answer selected by tadejgolobic
@tadejgolobic
Comment options

@Montoya
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants