Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use managed identity for SQL #378

Merged
merged 2 commits into from
Jun 5, 2024
Merged

Conversation

twsouthwick
Copy link
Collaborator

@twsouthwick twsouthwick commented May 9, 2024

This removes the SQL admin password and just uses Entra for all logins. The developer is added as an owner so they can bootstrap the application and docs around adding the user have been removed.

https://devdiv.visualstudio.com/DevDiv/_workitems/edit/2027162

@twsouthwick twsouthwick force-pushed the sqlpless branch 3 times, most recently from cbef281 to 8ecf26f Compare June 4, 2024 22:33
README.md Outdated Show resolved Hide resolved
@@ -22,6 +22,9 @@ type DeploymentSettings = {
@description('The ID of the principal that is being used to deploy resources.')
principalId: string

@description('The name of the principal that is being used to deploy resources.')
principalName: string
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This might be the time to switch over to includes for types. See https://learn.microsoft.com/en-us/azure/azure-resource-manager/bicep/bicep-import

Since you are touching DeploymentSettings everywhere, mark the type here with @export(), then swap out the type definitions everywhere else with an import statement.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yup, although I believe we're using an older version of bicep that doesn't suppor this. I plan on updating this so we don't have to deal with this in the future

@twsouthwick twsouthwick merged commit 24b24e4 into Azure:servicing Jun 5, 2024
2 checks passed
@twsouthwick twsouthwick deleted the sqlpless branch June 5, 2024 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants