crossplane-contrib / provider-sql

An SQL provider for @crossplane
https://crossplane.io
Apache License 2.0
104 stars 59 forks source link

Add Azure AD authentication support for mssql #166

Open Mikel-Landa opened 10 months ago

Mikel-Landa commented 10 months ago

Description of your changes

Fixes #165

I have:

How has this code been tested

Created a local cluster and connected to an existing database. Tested a creation of a database, user and grant and then connected through ad to the database with the provisioned user

NAME                                             READY   SYNCED   AGE
database.mssql.sql.crossplane.io/example-db-ad   True    True     96m

NAME                                          READY   SYNCED   AGE   ROLE          DATABASE        PERMISSIONS
grant.mssql.sql.crossplane.io/example-grant   True    True     7s    ***@***.com   example-db-ad   ["CONNECT","CREATE TABLE","INSERT","SELECT"]

NAME                                           READY   SYNCED   AGE
user.mssql.sql.crossplane.io/example-user-ad   True    True     93s
Duologic commented 3 months ago

Would you mind rebasing?

Mikel-Landa commented 3 months ago

@Duologic i've rebased it

eegseth commented 2 weeks ago

Any updates on this @Mikel-Landa @Duologic ? Would be nice to get this merged!