Skip to content

Commit a2d2d90

Browse files
committed
Use 'auto' for Azure managed identity automatic keyword
Signed-off-by: adamrtalbot <12817534+adamrtalbot@users.noreply.github.com>
1 parent b7528c7 commit a2d2d90

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

plugins/nf-azure/src/main/nextflow/cloud/azure/fusion/AzFusionEnv.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class AzFusionEnv implements FusionEnv {
6868
// We recommend explicitly setting the config item to the managed ID so you know which one is being used.
6969
// However if set to 'true' it will use whichever is available.
7070
// This can be helpful if the pools have different managed identities.
71-
if (managedIdentityId != 'true') {
71+
if (managedIdentityId != 'auto') {
7272
result.FUSION_AZ_MSI_CLIENT_ID = managedIdentityId
7373
}
7474
// No SAS token is added or generated

plugins/nf-azure/src/test/nextflow/cloud/azure/fusion/AzFusionEnvTest.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ class AzFusionEnvTest extends Specification {
249249
Global.session = Mock(Session) {
250250
getConfig() >> [azure: [
251251
storage: [accountName: NAME],
252-
batch: [poolIdentityClientId: 'true']
252+
batch: [poolIdentityClientId: 'auto']
253253
]]
254254
}
255255

0 commit comments

Comments
 (0)