Create a credential

credentials_post(type, username, password, name = NULL,
  description = NULL, remote_host_id = NULL, state = NULL,
  system_credential = NULL)

Arguments

type

string required.

username

string required. The username for the credential.

password

string required. The password for the credential.

name

string optional. The name identifying the credential.

description

string optional. A long description of the credential.

remote_host_id

integer optional. The ID of the remote host associated with the credential.

state

string optional. The U.S. state for the credential. Only for VAN credentials.

system_credential

boolean optional.

Value

A list containing the following elements:

id

integer, The ID of the credential.

name

string, The name identifying the credential

type

string, The credential's type.

username

string, The username for the credential.

description

string, A long description of the credential.

owner

string, The name of the user who this credential belongs to.

remoteHostId

integer, The ID of the remote host associated with this credential.

remoteHostName

string, The name of the remote host associated with this credential.

state

string, The U.S. state for the credential. Only for VAN credentials.

createdAt

string, The creation time for this credential.

updatedAt

string, The last modification time for this credential.