How do I secure pyctuator endpoints with basic auth (FastAPI)?
See original GitHub issueIn the API of the Pyctuator object I did not find a way to secure the provided endpoints with BasicAuth. What would be the most straightforward way of doing this using FastAPI?
Also, how can i communicate the credentials to Spring Boot Admin?
If I understood https://codecentric.github.io/spring-boot-admin/current/#spring-boot-admin-client right, I can use something like:
metadata={
"user.name": "foo",
"user.password": "bar"
}
In the metadata arg of Pyctuator. Is that correct?
Issue Analytics
- State:
- Created 2 years ago
- Comments:14 (9 by maintainers)
Top Results From Across the Web
HTTP Basic Auth - FastAPI
Use that security with a dependency in your path operation. It returns an object of type HTTPBasicCredentials : It contains the username and...
Read more >pyctuator - PyPI
Log in to the Spring Boot Admin UI at http://localhost:8080 to interact with the application. FastAPI. The following example is complete and should...
Read more >Spring Boot Admin Reference Guide - GitHub Pages
Support for Python applications is available using Pyctuator. ... order to secure the endpoints, also add the spring-boot-starter-security .
Read more >Build and Secure a FastAPI Server with Auth0
In this article, we will go over the features of FastAPI , set up a basic API, protect an endpoint using Auth0, and...
Read more >Spring Monitoring with Spring Actuator and Spring Boot Admin
In particular with endpoints.web.exposure.include=* we are ... with Python applications with Flask or FastAPI using the Pyctuator project.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@michaelyaakoby That looks great! Sorry for the late reply, I was on vacation. Thank you very much for the realization 😃
Done. 0.17.0