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

New interfaces and support for Azure Managed Identities #265

Merged
merged 11 commits into from
Apr 20, 2020

Conversation

ckadluba
Copy link
Member

… used on supported target platforms (net472, netcoreapp2.2) to perform Azure managed identities token gathering.

* Added AzureManagedServiceAuthenticator stub implementation which does nothing for target frameworks not supporting this
* Added unit tests
* Use AzureManagedServiceAuthenticator in SqlConnectionFactory to set token on connection
* Initialization in the sink and audit siink classes still set the azure msi auth to disabled. It will be activated according to passed  parameters in the next commits.
… to do) and to sink and audit sink contructors.

* Sink and audit sink configure sql authentication accoding to values in sinkOptions parameter.
….Configuration

* Adapted WorkerServiceDemo to use the new azure configuration values for sink and audit sink.
… instead of separate paramters. This works now when read from M.E.C. config in WorkerServiceDemo sample app and only for non-audit sink at this point.
… and ctor).

* Implemented reading SinkOptions for config systems Microsoft.Extensions.Configuration and  System.Configuration.
* Added some basic integration tests for reading SinkOptions from config.
* Fixed: TimeSpan parsing for System.Configuration SinkOptionsProvider plus tests
* Renamed file AzureManagedServiceAuthenticator.Stub.cs to match unit test class file.
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.

1 participant