updated sample yaml
@@ -5,14 +5,19 @@ metadata:
spec:
server: sqlserver-sample-777
dbName: azuresqldatabase-sample
- adminSecret: sqlserver-sample-777
- adminSecretKeyVault: sqlserver-keyvault
resourceGroup: resourcegroup-azure-operators
# valid db roles:
# db_owner, db_securityadmin, db_accessadmin, db_backupoperator, db_ddladmin, db_datawriter, db_datareader, db_denydatawriter, db_denydatareader
roles:
- "db_owner"
+ # Specify adminSecret and adminSecretKeyVault if you want to
+ # read the SQL server admin creds from a specific keyvault secret
+ adminSecret: sqlserver-sample-777
+ adminSecretKeyVault: sqlserver-keyvault
+ # keyVaultToStoreSecrets is the Keyvault name where you want to store
+ # the secrets from the SQL user provisioning
keyVaultToStoreSecrets: asoSecretKeyVault
+ # Below are optional fields that allow customizing the secrets you need
# keyVaultSecretPrefix: sqlServer-sqlDatabase
# valid secret formats
# adonet, adonet-urlonly, jdbc, jdbc-urlonly, odbc, odbc-urlonly, server, database, username, password
