Addons /
Get addon credentials
Returns the credentials for connecting to the given addon.
Required permission
Project > Addons > General > Read
Path parameters
projectId
string requiredID of the projectaddonId
string requiredID of the addon
Response body
- {object}Response object.
data
{object} requiredResult data.secrets
{object} requiredAn object containing secrets for connecting to the addon. Secrets are dependent on the addon type.envs
{object} requiredAn object containing data such as connection strings. Dependent on the addon type.
API
CLI
JS Client
GET /v1/projects/{projectId}/addons/{addonId}/credentials
Example response
200 OK
Credentials for the addon.
JSON
{
"data": {
"secrets": {
"username": "1720747439245d49",
"password": "f1ba286ee2465e80b0fd4af31276f3e33a"
},
"envs": {}
}
}