-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
feat(inputs.sqlserver): Introduce user specified ID parameter for ADD logins #15424
feat(inputs.sqlserver): Introduce user specified ID parameter for ADD logins #15424
Conversation
…to get tokens for the specified UserAssignedID
Thanks so much for the pull request! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR! I appreciate you taking the time to put this up.
I have added some comments. The only big one is what to call the option. You will also need to run make docs
, or update the sqlserver README.md as well to ensure it has the new config option in the example. make docs does this for you.
Also need you to sign the CLA please. |
remove unnessary vars Co-authored-by: Joshua Powers <[email protected]>
Hello @powersj thank you very much for your comments and tips. I improved the PR. Please have another look on it. |
!signed-cla |
!signed-cla |
@Jan747 - Thank you very much for the updates and signing the CLA. I pushed an update to ensure the linter and doc tests pass. Can you confirm you have been able to use your proposed fix and it resolves your issue? |
I need to land this early this week so we can make v1.31.0, can you confirm the PR artifacts were able to resolve your issue and you are happy with my updates? Thanks again! |
Hello @powersj sorry for the late response. I wasn't able to get the version running. Docker image gave error that entrypoint.sh is missing. So I can't say if the error is now fixed or not. |
Ah, if you share you how you are trying to build a docker image we might be able to help. Our official images use https://github.com/influxdata/influxdata-docker/tree/master/telegraf |
I can confirm this build is working. The error message from before is gone now and logs are clean.
|
@Jan747 - can you rebase on master and resolve the one conflict? Then we can get this landed. |
Download PR build artifacts for linux_amd64.tar.gz, darwin_arm64.tar.gz, and windows_amd64.zip. 📦 Click here to get additional PR build artifactsArtifact URLs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution @Jan747!
Summary
If an Azure VM has more than one user assigned identiy, the authentication with the Azure SQL DB does not work.
Another method to get a token has been introduced for this and a new parameter to select an identy.
Checklist
Related issues
resolves #15404