I need to setup Basic auth for my directus - (Need to add ftp login to start the page)

We are using serverless deployment on Cloud Run with the Directus package using the gcr.io image. We need to set up basic authentication for this. How can we update the environment in Cloud Run or implement this? Could someone please help us? Thank you.

How do you want to use Basic Auth?
For talking to the Directus API or from Directus (flows or extensions?) to an external API?