-
Notifications
You must be signed in to change notification settings - Fork 34
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
Add notebook on Authenticating to Vespa Cloud #880
Conversation
This will be a great help, and good to merge (so we can look at the links not displayed etc.) |
"Security is a top priority for the Vespa Team.\n", | ||
"We understand that as a newcomer to Vespa, the different authentication methods may not always be immediately clear.\n", | ||
"\n", | ||
"This notebook is intended to provide some clarity on the different authentication methods needing when interacting with Vespa Cloud for different purposes.\n" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"This notebook is intended to provide some clarity on the different authentication methods needing when interacting with Vespa Cloud for different purposes.\n" | |
"This notebook is intended to provide some clarity on the different authentication methods needed when interacting with Vespa Cloud for different purposes.\n" |
"metadata": {}, | ||
"source": [ | ||
"<div class=\"alert alert-info\">\n", | ||
" Refer to <a href=\"https://pyvespa.readthedocs.io/en/latest/troubleshooting.html\">troubleshooting</a>\n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
troubleshooting link did not work inside the alert (when testing locally)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.
Added a notebook to demonstrate and explain the different authentication methods, as this is something that is often a source of misunderstanding/misconfiguration, ref #862.
Please have a look at the table in the notebook to see if I missed something.
Adding below for convenience:
For background context, it is useful to read the Vespa Cloud Security Guide.
Control-plane vs Data-plane
This may be self-explanatory for some, but it is worth mentioning that Vespa Cloud has two main components: the control-plane and the data-plane, which provide access to different functionalities.
vespa auth login
vespa auth api-key
vespa auth cert
VespaCloud
VespaCloud
is a control-plane connection to Vespa CloudVespaDocker
VespaDocker
is a control-plane connection to a Vespa server running in DockerVespa
Vespa
is a data-plane connection to an existing Vespa applicationI also discovered that a lot of the recently added classes had not been added to the reference API-documentation, so included these.