Description #

The basic credential is a credential type that uses a username and, optionally, a password.

Configuration #

{
  "credentials": [
    {
      "name": "myBasicCred",
      "username": "foo",
      "password": "bar"
    }
  ],
  "remotes": [
    {
      "name": "remote-with-inline-basic-credentials",
      // ...
      "credentials": {
        "username": "username-only-resource",
      }
    },
    {
      "name": "remote-with-global-basic-credentials",
      // ...
      "credentials": "myBasicCred"
    }
  ]
}

Available configuration options #

name #

  • required (when defined globally)

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

username #

  • required
  • template enabled

The basic auth username.

password #

  • template enabled

The basic auth password.