Retrieve all secrets within a given property.
created_at
environment_id
name
status
type_of
updated_at
GET /properties/:property_id/secrets
curl https://reactor.adobe.io/properties/:property_id/secrets \
-H "Accept: application/vnd.api+json;revision=1" \
-H "Content-Type: application/vnd.api+json" \
-H "Authorization: Bearer [TOKEN]" \
-H "X-Api-Key: [KEY]" \
-H "X-Gw-Ims-Org-Id: [ORG_ID]" \
-X GET
{
"data": [
{
"id": "SE9c8f7b84171845ff93107d67e6df1b76",
"type": "secrets",
"attributes": {
"created_at": "2021-10-05T19:20:18.381Z",
"updated_at": "2021-10-05T19:20:18.381Z",
"name": "Example Secret",
"type_of": "token",
"activated_at": null,
"expires_at": null,
"refresh_at": null,
"status": "pending",
"credentials": {
}
},
"relationships": {
"property": {
"links": {
"related": "https://reactor.adobe.io/secrets/SE9c8f7b84171845ff93107d67e6df1b76/property"
},
"data": {
"id": "PR9fb1bd3591d744f584d5eba64514f7c4",
"type": "properties"
}
},
"environment": {
"links": {
"related": "https://reactor.adobe.io/secrets/SE9c8f7b84171845ff93107d67e6df1b76/environment"
},
"data": {
"id": "EN30e4d4be79e5482499500779864d378d",
"type": "environments"
},
"meta": {
"stage": "development"
}
},
"notes": {
"links": {
"related": "https://reactor.adobe.io/secrets/SE9c8f7b84171845ff93107d67e6df1b76/notes"
}
},
"data_elements": {
"links": {
"related": "https://reactor.adobe.io/secrets/SE9c8f7b84171845ff93107d67e6df1b76/data_elements"
}
}
},
"links": {
"self": "https://reactor.adobe.io/secrets/SE9c8f7b84171845ff93107d67e6df1b76",
"property": "https://reactor.adobe.io/secrets/SE9c8f7b84171845ff93107d67e6df1b76/property"
}
}
],
"meta": {
"pagination": {
"current_page": 1,
"next_page": null,
"prev_page": null,
"total_pages": 1,
"total_count": 1
}
}
}