cURL
curl --request GET \ --url https://global.thenile.dev/workspaces/{workspaceSlug}/databases/{databaseName}/credentials \ --header 'Authorization: Bearer <token>'
[ { "id": "<string>", "database": { "id": "<string>", "name": "<string>", "workspace": { "id": "<string>", "name": "<string>", "slug": "<string>", "stripe_customer_id": "<string>", "created": "2023-11-07T05:31:56Z" }, "status": "PENDING", "regionId": 123, "created": "2023-11-07T05:31:56Z" } } ]
Lists all credentials that exist for a database. The id of the credential is included in the response, but not the password. Passwords are provided only once, at the time the credential is created, and are encrypted for storage.
1
Show child attributes
Was this page helpful?