title | description | ms.date | monikerRange |
---|---|---|---|
CargoAuthenticate@0 - Cargo authenticate (for task runners) v0 task |
Authentication task for the cargo client used for installing Cargo crates distribution. |
05/14/2024 |
>=azure-pipelines-2022.1 |
:::moniker range=">=azure-pipelines-2022.1"
Authentication task for the cargo client used for installing Cargo crates.
Note
Cargo support in Azure Artifacts is currently in preview.
:::moniker-end
:::moniker range=">=azure-pipelines-2022.1"
# Cargo authenticate (for task runners) v0
# Authentication task for the cargo client used for installing Cargo crates distribution.
- task: CargoAuthenticate@0
inputs:
configFile: # string. Required. config.toml file to authenticate.
#cargoServiceConnections: # string. Credentials for registries outside this organization/collection.
:::moniker-end
:::moniker range=">=azure-pipelines-2022.1"
configFile
- config.toml file to authenticate
string
. Required.
Path to the config.toml file that specifies the registries you want to work with. Select the file, not the folder e.g. "/.cargo/config.toml".
:::moniker-end
:::moniker range=">=azure-pipelines-2022.1"
cargoServiceConnections
- Credentials for registries outside this organization/collection
string
.
Credentials to use for external registries located in the project's config.toml. For registries in this organization/collection, don't specify this attribute; the build’s credentials are used automatically.
Use the task assistant to select the desired service connections.
:::moniker-end
All tasks have control options in addition to their task inputs. For more information, see Control options and common task properties.
:::moniker range=">=azure-pipelines-2022.1"
None.
:::moniker-end
:::moniker range=">=azure-pipelines-2022.1"
Requirement | Description |
---|---|
Pipeline types | YAML, Classic build, Classic release |
Runs on | Agent, DeploymentGroup |
Demands | None |
Capabilities | This task does not satisfy any demands for subsequent tasks in the job. |
Command restrictions | Any |
Settable variables | Any |
Agent version | 2.144.0 or greater |
Task category | Package |
:::moniker-end