nextflow
                                
                                 nextflow copied to clipboard
                                
                                    nextflow copied to clipboard
                            
                            
                            
                        Azure Batch Executor : support for Service Principal Auth
Usage scenario
Azure Batch supports multiple usage styles: A Batch Service can have a public endpoint or a private one and nodes can be provisioned in a Batch managed subscription or in the user subscription.
When wanting to use (more secure) private endpoints and user subscription provisioning, key based authentication is not available. AAD Service Principal authentication must be used as per : https://docs.microsoft.com/en-us/azure/batch/batch-aad-auth
Suggest implementation
To make NextFlow more usable in these scenarios an option should be added to choose between either key based or SP based authentication.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hi @KrisJanssen
Thanks for raising this request - I'm looking into this and would really appreciate if you could please share further information on your use case w.r.t Azure Batch account settings such as System Managed Identity as well as Pool level settings specific to your use-case.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
@abhi18av has not this support implemented by https://github.com/nextflow-io/nextflow/pull/3132 ?
Yes, this use-case is covered in the PR 👍
Cool, let's close this
Thanks @pditommaso , @abhi18av !!
All credits to @abhi18av