It would be nice if I didn't need to manage keys to send logs to Azure Monitor. An old (archived) example of how MSI works in Ruby is [here](https://github.com/Azure-Samples/resources-ruby-manage-resources-with-msi). The [MSIiokenProvider type](https://github.com/Azure/azure-sdk-for-ruby/blob/5d2b89fc6b3a551b6376ee3b39030d6aaf9e0faa/runtime/ms_rest_azure/lib/ms_rest_azure/credentials/msi_token_provider.rb) on which that example depends seems to be actively maintained, however.