Securing API Key #1831
Answered
by
Montoya
tadejgolobic
asked this question in
Q&A
Securing API Key
#1831
-
Question: |
Beta Was this translation helpful? Give feedback.
Answered by
Montoya
Oct 9, 2023
Replies: 1 comment 4 replies
-
You can use |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.