vstats endpoints: auth spec
The
auth_spec
structure contains authentication information of the endpoint. Warning: This structure is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.Representation:
{
"basic" : {
"password" : "secret string",
"username" : "string"
},
"token" : "secret string"
}
"basic" : {
"password" : "secret string",
"username" : "string"
},
"token" : "secret string"
}
Attributes:
Name | Type | Description |
---|---|---|
Required | ||
basic.username | string | Username to get access to endpoint. Warning: This attribute is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented. |
basic.password | secret | Password to get access to endpoint. Warning: This attribute is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented. |
Optional | ||
basic | basic_auth | Basic authentication details of the endpoint. Warning: This attribute is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented. Optional. When unset the token field will be used. |
token | secret | Token based authentication information of the endpoint. Warning: This attribute is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented. Optional. When unset the basic field will be used. |