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

Support secretless extensions #2652

Merged
merged 6 commits into from
Jul 22, 2021
Merged

Support secretless extensions #2652

merged 6 commits into from
Jul 22, 2021

Conversation

madelinegordon
Copy link
Contributor

@madelinegordon madelinegordon commented Jul 14, 2021

No longer throw warning when customer uses managed identity (rather than a connection string) to connect to service.

Fixes #2552

Copy link
Member

@brettsam brettsam left a comment

Choose a reason for hiding this comment

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

Just a couple minor things...

var secrets = new Dictionary<string, string>()
{
{ "AzureWebJobsStorage:blobServiceUri", "myuri" },
{ "AzureWebJobsStorage:queueServiceUri", "queueuri" }
Copy link
Member

Choose a reason for hiding this comment

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

Can you make this one use AzureWebJobsStorage__queueServiceUri to check that block of code?

[Fact]
public async Task CheckNonOptionalSettingsDoesntThrowMissingStorageUsingManagedIdentity()
{

Copy link
Member

Choose a reason for hiding this comment

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

nit -- remove this blank line. Some of our repos will log a build warning for this -- but this one must not.

@madelinegordon madelinegordon merged commit 5e114c9 into dev Jul 22, 2021
@madelinegordon madelinegordon deleted the magordon/warning branch July 22, 2021 22:40
brettsam pushed a commit that referenced this pull request Jul 26, 2021
* add check to config section for conn string

* how to simulate managed identity?

* added unit test

* edit error message

* PR changes

* space between tests
brettsam pushed a commit that referenced this pull request Jul 26, 2021
* add check to config section for conn string

* how to simulate managed identity?

* added unit test

* edit error message

* PR changes

* space between tests
brettsam pushed a commit that referenced this pull request Jul 26, 2021
* add check to config section for conn string

* how to simulate managed identity?

* added unit test

* edit error message

* PR changes

* space between tests
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.

Warning no Connection String when using managed identity - CLI
2 participants