List project credentials
GET
/api/v1/projects/{projectId}/credentials
const url = 'https://localhost:10001/api/v1/projects/1/credentials';const options = {method: 'GET', headers: {Authorization: '<Authorization>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://localhost:10001/api/v1/projects/1/credentials \ --header 'Authorization: <Authorization>'List all credentials for the given project
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” projectId
required
integer
Project ID
Responses
Section titled “ Responses ”List of credentials
Media type application/json
Array<object>
object
createdAt
string
createdBy
string
credentials
object
description
string
id
integer
isActive
boolean
lastUsedAt
string
metadata
object
name
string
projectId
integer
provider
string
type
string
updatedAt
string
Example
[ { "type": "AWS_STATIC" }]Bad request - Invalid project ID
Media type application/json
object
key
additional properties
string
Example generated
{ "additionalProperty": "example"}Internal server error
Media type application/json
object
key
additional properties
string
Example generated
{ "additionalProperty": "example"}