POST v1/Security/AccessCredentials
Provision a new set of access credentials for the user.
Request Information
URI Parameters
None.
Body Parameters
The access credential request.
AccessCredentialRequestV1Name | Description | Type | Additional information |
---|---|---|---|
Username |
The username. |
string |
None. |
Password |
The password. |
string |
None. |
TotpCode |
The TOTP Code. |
string |
None. |
UsageDescription |
A description of how the credentials will be used. |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Username": "sample string 1", "Password": "sample string 2", "TotpCode": "sample string 3", "UsageDescription": "sample string 4" }
application/xml, text/xml
Sample:
<AccessCredentialRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Titan.API.Core.Models.Security"> <Password>sample string 2</Password> <TotpCode>sample string 3</TotpCode> <UsageDescription>sample string 4</UsageDescription> <Username>sample string 1</Username> </AccessCredentialRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
A set of provisioned .
AccessCredentialsV1Name | Description | Type | Additional information |
---|---|---|---|
AccessKeyID |
The Access Key ID. |
string |
None. |
APISigningKey |
The API Signing Key represented as Base64. This value will be supplied to the client only once. |
string |
None. |
APISigningAlgorithm |
The algorithm used for API request signing. Valid values are HMACSHA1 and HMACSHA256. |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "AccessKeyID": "1MNVZ74NIV8O4ABPRR9HCG029", "APISigningKey": "hGavm3pv5ALIB90atWjw6ZX1BndVKdS/f/Epg0k7QwqZHKuGFPyCjwCVKM5SRTxXTAEJppAcnVCuWMqx98eEdg==", "APISigningAlgorithm": "HMACSHA1" }
application/xml, text/xml
Sample:
<AccessCredentials xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Titan.API.Core.Models.Security"> <APISigningAlgorithm>HMACSHA1</APISigningAlgorithm> <APISigningKey>hGavm3pv5ALIB90atWjw6ZX1BndVKdS/f/Epg0k7QwqZHKuGFPyCjwCVKM5SRTxXTAEJppAcnVCuWMqx98eEdg==</APISigningKey> <AccessKeyID>1MNVZ74NIV8O4ABPRR9HCG029</AccessKeyID> </AccessCredentials>