You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This module can be use as reference to create the go-template. We won't use a Key Vault to hold credentials and we won't use a script to set up the Server-users. We should try to use RBAC.
The sample requires manual intervention to set a Server password, we need to follow up with NetAspire team to know how they want to handle this. azd can prompt the user for the password and automatically create a Key Vault to keep it.
The text was updated successfully, but these errors were encountered:
ellismg
changed the title
- Azure SQL - azure.sql.v0, azure.sql.database.v0 Jan Release
Aspire: Support azure.sql.v0, azure.sql.database.v0
Dec 4, 2023
I'll not be able to work on this for next few weeks (vacation). Other investigation notes I had:
If using a database password, should the password be server or db scoped? DB scoped isn't currently achievable without using additional deployment scripts.
What are we thinking around network security? I think we'll want all managed production servers to not be publicly internet accessible, which likely requires setting up a VNet, which then likely needs networking configuration provided by the user.
See provisioner here: https://github.com/dotnet/aspire/blob/main/src/Aspire.Hosting.Azure.Provisioning/Provisioners/SqlServerProvisioner.cs
Expected code from C# host program:
Manifest:
A reference to the azure-sql-server bicep core module from azd: https://github.com/Azure/azure-dev/blob/main/templates/common/infra/bicep/core/database/sqlserver/sqlserver.bicep
This module can be use as reference to create the go-template. We won't use a Key Vault to hold credentials and we won't use a script to set up the Server-users. We should try to use RBAC.
A possible candidate to test this end2end would be this sample: https://github.com/dotnet/aspire-samples/tree/501ae2165358d019f669788e92547a36a616c91d/samples/VolumeMount
The sample requires manual intervention to set a Server password, we need to follow up with NetAspire team to know how they want to handle this. azd can prompt the user for the password and automatically create a Key Vault to keep it.
The text was updated successfully, but these errors were encountered: