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

Api Key Security Concern #12

Open
chaimtevel opened this issue Jul 7, 2021 · 0 comments
Open

Api Key Security Concern #12

chaimtevel opened this issue Jul 7, 2021 · 0 comments

Comments

@chaimtevel
Copy link

Hi,

With regards to the API key, the readme specifies the API key being supplied as follows new PrintNode.WebSocket({apiKey: 'insert apikey here'}). Is there a option to use a public key of some sort instead?

If this is the API key we can use to authenticate to the REST API then it can be used to operations that can incur costs such as creating print jobs. Anyone with this API key would also be able to retrieve information about computers, printers, or subscribe to webhooks and sending the data to whatever server is specified in the URL parameter.

I'm not quite comfortable with exposing this info in a javascript file ☹️

Thanks!

Chaim

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