Skip to content

docs: Document Azure environment variables #6084

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

adamrtalbot
Copy link
Collaborator

@adamrtalbot adamrtalbot commented May 15, 2025

The Azure environment variables were not documented. This PR adds them to the documentation pages.

The Azure environment variables were not documented. This PR adds them to the documentation pages.

Signed-off-by: adamrtalbot <12817534+adamrtalbot@users.noreply.github.com>
@adamrtalbot adamrtalbot requested a review from a team as a code owner May 15, 2025 15:53
Copy link

netlify bot commented May 15, 2025

Deploy Preview for nextflow-docs-staging ready!

Name Link
🔨 Latest commit 9d3310b
🔍 Latest deploy log https://app.netlify.com/projects/nextflow-docs-staging/deploys/68260df774716b0008721b5f
😎 Deploy Preview https://deploy-preview-6084--nextflow-docs-staging.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@adamrtalbot adamrtalbot changed the title docs(Azure): Document Azure environment variables docs: Document Azure environment variables May 15, 2025
Copy link
Collaborator

@christopher-hakkaart christopher-hakkaart left a comment

Choose a reason for hiding this comment

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

Very minor language suggestions.

Comment on lines +40 to +42
- `AZURE_STORAGE_ACCOUNT_NAME` - The name of your Azure Storage account
- `AZURE_STORAGE_ACCOUNT_KEY` - The access key for your Azure Storage account
- `AZURE_STORAGE_SAS_TOKEN` - A shared access signature (SAS) token for Azure Storage access
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
- `AZURE_STORAGE_ACCOUNT_NAME` - The name of your Azure Storage account
- `AZURE_STORAGE_ACCOUNT_KEY` - The access key for your Azure Storage account
- `AZURE_STORAGE_SAS_TOKEN` - A shared access signature (SAS) token for Azure Storage access
- `AZURE_STORAGE_ACCOUNT_NAME`: The name of your Azure Storage account.
- `AZURE_STORAGE_ACCOUNT_KEY`: The access key for your Azure Storage account.
- `AZURE_STORAGE_SAS_TOKEN`: A shared access signature (SAS) token for Azure Storage access.

Comment on lines +169 to +170
- `AZURE_BATCH_ACCOUNT_NAME` - The name of your Azure Batch account
- `AZURE_BATCH_ACCOUNT_KEY` - The access key for your Azure Batch account
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
- `AZURE_BATCH_ACCOUNT_NAME` - The name of your Azure Batch account
- `AZURE_BATCH_ACCOUNT_KEY` - The access key for your Azure Batch account
- `AZURE_BATCH_ACCOUNT_NAME`: The name of your Azure Batch account.
- `AZURE_BATCH_ACCOUNT_KEY`: The access key for your Azure Batch account.

:::{note}
Nextflow will read the following environment variables if a config item is not provided:

- `AZURE_MANAGED_IDENTITY_SYSTEM` - When set to "true", enables system-assigned managed identity
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
- `AZURE_MANAGED_IDENTITY_SYSTEM` - When set to "true", enables system-assigned managed identity
- `AZURE_MANAGED_IDENTITY_SYSTEM`: When set to `true`, enables system-assigned managed identity.

:::{note}
Nextflow will read the following environment variables if a config item is not provided:

- `AZURE_MANAGED_IDENTITY_USER` - The client ID for a user-assigned managed identity
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
- `AZURE_MANAGED_IDENTITY_USER` - The client ID for a user-assigned managed identity
- `AZURE_MANAGED_IDENTITY_USER`: The client ID for a user-assigned managed identity.

Comment on lines +626 to +628
- `AZURE_CLIENT_ID` - The service principal client ID (also known as application ID)
- `AZURE_CLIENT_SECRET` - The service principal secret key
- `AZURE_TENANT_ID` - The Azure Active Directory tenant ID
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
- `AZURE_CLIENT_ID` - The service principal client ID (also known as application ID)
- `AZURE_CLIENT_SECRET` - The service principal secret key
- `AZURE_TENANT_ID` - The Azure Active Directory tenant ID
- `AZURE_CLIENT_ID`: The service principal client ID (also known as application ID).
- `AZURE_CLIENT_SECRET`: The service principal secret key.
- `AZURE_TENANT_ID`: The Azure Active Directory tenant ID.

@@ -294,13 +294,13 @@ Read the {ref}`azure-page` page for more information.
The following settings are available:

`azure.activeDirectory.servicePrincipalId`
: The service principal client ID
: The service principal client ID (defaults to environment variable `AZURE_CLIENT_ID`)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
: The service principal client ID (defaults to environment variable `AZURE_CLIENT_ID`)
: The service principal client ID. Defaults to environment variable `AZURE_CLIENT_ID`.


`azure.activeDirectory.servicePrincipalSecret`
: The service principal client secret
: The service principal client secret (defaults to environment variable `AZURE_CLIENT_SECRET`)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
: The service principal client secret (defaults to environment variable `AZURE_CLIENT_SECRET`)
: The service principal client secret. Defaults to environment variable `AZURE_CLIENT_SECRET`.


`azure.activeDirectory.tenantId`
: The Azure tenant ID
: The Azure tenant ID (defaults to environment variable `AZURE_TENANT_ID`)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
: The Azure tenant ID (defaults to environment variable `AZURE_TENANT_ID`)
: The Azure tenant ID. Defaults to environment variable `AZURE_TENANT_ID`.

@@ -415,10 +415,10 @@ The following settings are available:
: Specify the virtual machine type used by the pool identified with `<name>`.

`azure.managedIdentity.clientId`
: Specify the client ID for an Azure [managed identity](https://learn.microsoft.com/en-us/entra/identity/managed-identities-azure-resources/overview). See {ref}`azure-managed-identities` for more details.
: Specify the client ID for an Azure [managed identity](https://learn.microsoft.com/en-us/entra/identity/managed-identities-azure-resources/overview). See {ref}`azure-managed-identities` for more details. (defaults to environment variable `AZURE_MANAGED_IDENTITY_USER`)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
: Specify the client ID for an Azure [managed identity](https://learn.microsoft.com/en-us/entra/identity/managed-identities-azure-resources/overview). See {ref}`azure-managed-identities` for more details. (defaults to environment variable `AZURE_MANAGED_IDENTITY_USER`)
: Specify the client ID for an Azure [managed identity](https://learn.microsoft.com/en-us/entra/identity/managed-identities-azure-resources/overview). See {ref}`azure-managed-identities` for more details. Defaults to environment variable `AZURE_MANAGED_IDENTITY_USER`.


`azure.managedIdentity.system`
: When `true`, use the system-assigned [managed identity](https://learn.microsoft.com/en-us/entra/identity/managed-identities-azure-resources/overview) to authenticate Azure resources. See {ref}`azure-managed-identities` for more details.
: When `true`, use the system-assigned [managed identity](https://learn.microsoft.com/en-us/entra/identity/managed-identities-azure-resources/overview) to authenticate Azure resources. See {ref}`azure-managed-identities` for more details. (defaults to environment variable `AZURE_MANAGED_IDENTITY_SYSTEM`)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
: When `true`, use the system-assigned [managed identity](https://learn.microsoft.com/en-us/entra/identity/managed-identities-azure-resources/overview) to authenticate Azure resources. See {ref}`azure-managed-identities` for more details. (defaults to environment variable `AZURE_MANAGED_IDENTITY_SYSTEM`)
: When `true`, uses the system-assigned [managed identity](https://learn.microsoft.com/en-us/entra/identity/managed-identities-azure-resources/overview) to authenticate Azure resources. See {ref}`azure-managed-identities` for more details. Defaults to environment variable `AZURE_MANAGED_IDENTITY_SYSTEM`.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants