Fetch user name and password for a data store

get/admin/dataStores/{dataStoreId}/credentials
Internal-Use Only

Retrieves the data store user name and password. Other metadata about the data store is not included in the response. This endpoint requires the "svi.administration.datastore_credentials" capability. Be careful about who is given this capability. This endpoint is designed to be used by other SAS services that need the data store credentials.

Request Samples

1

Response Samples

1{
2 "username": "testUser",
3 "password": "dGVzdFBhc3N3b3JkMTIz"
4}

Path Parameters

NameTypeRequiredDescription
dataStoreId
integer
true

The ID of the data store.

Responses

StatusMeaningDescription
200OKThe request succeeded. The requested data store credential object is returned. The password is Base64-encoded. Schema
404Not FoundInvalid data store ID.Schema