# <credential>

[This is preliminary documentation and subject to change.]

Provides credentials for password-based authentication schemes.

### Parameters

Attribute | Type | Description | Required
--- | --- | --- | ---
domain | string | The domain or computer name that verifies the credentials. | False
if | bool | Indicates if the credentials should be used to provide authentication information to the external resource. If true then the credentials will be passed; otherwise, not. The default is true. | False
password | string | The password for the user name associated with the credentials. | False
unless | bool | Indicates if the credentials should not be used to provide authentication information to the external resource. If false then the credentials will be passed; otherwise, not. The default is false. | False
username | string | The user name associated with the credentials. | False
id | string | The ID used to be referenced later. | False
refid | string | The ID to use as the reference. | False

### Requirements

Assembly: NAnt.Core (0.91.3881.0)