Configure Pyctuator authentication in FastAPI
masterWhen protecting the Pyctuator endpoint in a FastAPI application, you must perform two steps to ensure Spring Boot Admin (SBA) can still manage the application:
- Protect the API Router: Use a customizer to apply the required configuration changes to the FastAPI API router to enforce authentication.
- Update SBA Registration: Include the necessary credentials in the registration request sent to SBA. This allows SBA to authenticate itself when it attempts to query the Pyctuator API.