-
Notifications
You must be signed in to change notification settings - Fork 254
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
[Docs] Configuring API gateway with SDK #5722
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
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.
@jillnogold Looking good overall!
it might be worth adding an access key authentication example which authenticates users via the Iguazio Backend.
Usage is as simple as:
my_api_gateway.with_access_key_auth()
@TomerShor - would that look like: (first 2 auth already in the doc. New one in bold) Create a simple Nuclio function that gets basic authenticationbasic_auth = project.set_function( Create a simple nuclio function that gets accesss key authenticationaccess_key_auth = project.set_function( |
If only the bold stays and all else doesn't that's ok. We should have examples for:
# Add basic authorization configuration:
my_api_gateway.with_basic_auth(
username="test",
password="pass",
)
# Add an access key authentication example that authenticates users via the Iguazio Backend
my_api_gateway.with_access_key_auth() |
ML-2652