Call the Web Service using REST
The GetPassword Web Service
The Central Credential Provider offers the following REST web service:
GetPassword – This service enables applications to retrieve secrets from the Central Credential Provider. It has the following structure:
|
Description |
This service enables applications to retrieve passwords from the Central Credential Provider. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
URL |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
HTTP Method | GET | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
HTTP Version |
1.1 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Content Type | application/json | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Query Parameter |
The following parameters can be specified in the URL to filter the result:
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Result |
The following table explains the possible output parameters:
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Errors |
The following errors may occur with the following status codes:
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Example |
The following example shows how to use the Central Credential Provider REST Web Service in your code.
In the above example, an application called BillingApp is trying to retrieve an account called MonthlyBilling from the Billing Safe. |