Description #

The Azure Service Account credential is a credential type that uses the client credentials OAuth flow to authenticate to Azure resources.

Configuration #

{
  "credentials": [
    {
      "name": "myAzSpCreds",
      "tenantId": "00000000-0000-0000-0000-000000000000",
      "clientId": "00000000-0000-0000-0000-000000000000",
      "clientSecret": "abc123"
    }
  ],
  "remotes": [
    {
      "name": "remote-with-inline-azsp-credentials",
      // ...
      "credentials": {
        "tenantId": "00000000-0000-0000-0000-000000000000",
        "clientId": "00000000-0000-0000-0000-000000000000",
        "clientSecret": "abc123"
      }
    },
    {
      "name": "remote-with-global-azsp-credentials",
      // ...
      "credentials": "myAzSpCreds"
    }
  ]
}

Available configuration options #

name #

  • required (when defined globally)

The name of the credential. This has to be a valid identifier.

tenantId #

  • required
  • template enabled

Specify the tenant ID to be used during authentication.

clientId #

  • required
  • template enabled

Specify the client (application) ID to be used during authentication.

clientSecret #

  • required
  • template enabled

Specify the client secret to be used during authentication.