A project administrator is creating service connections in Project settings > Service connections for several pipelines. Each pipeline connects to a different external target.
Match each pipeline requirement to the service connection type to create. Each type may be used once, more than once, or not at all.
- Correct match: Azure Resource Manager.
Azure Resource Manager service connections give authenticated access to Azure resources, such as a storage account used as an Azure file copy destination. The package-feed types connect to package registries, not to Azure subscriptions.
- Correct match: NuGet.
The NuGet service connection connects to a NuGet server and offers ApiKey as an authentication method. The npm and Python types connect to npm registries and Python feeds, not to NuGet servers.
- Correct match: npm.
The npm service connection takes a registry URL and supports the Authentication Token method. A NuGet connection targets NuGet feeds, not npm registries.
- Correct match: Python package download.
The Python package download connection connects to a Python repository for downloading packages and supports the Username and Password method. The npm and NuGet types do not target Python feeds.
A service connection type has to match the external target. Azure Resource Manager connections give access to Azure resources such as a storage account for Azure file copy. The NuGet, npm and Python package download types each connect to their own kind of package source, with matching authentication methods: ApiKey for NuGet, an authentication token for npm, and a username and password for Python. Docker Registry connects to container registries and Cargo connects to Rust crate repositories, so neither fits any requirement.
- Configure and Provision Environments: Exercise - set up service connectionsMicrosoft Learn
- Service connections - Azure PipelinesMicrosoft Learn