Reputation: 453
For our self-hosted Strapi CMS, we want to avoid using a username/password to connect to the PostgreSQL database.
In Migrate a .NET application to use passwordless connections - Azure SQL Database, it mentions that an application can connect using Authentication="Active Directory Default"; in the connection string:
Server=tcp:<database-server-name>.database.windows.net,1433;Initial Catalog=<database-name>;
Encrypt=True;TrustServerCertificate=False;Connection Timeout=30;Authentication="Active Directory Default";
However, I haven't been able to find any guidance on how to configure Strapi to use Azure (Entra ID) Authentication.
I can successfully connect to the Strapi database via PgAdmin using Azure Entra ID, but I'm unsure how to implement this within Strapi itself.
Any insights would be appreciated
Upvotes: 1
Views: 78