Retrieve all secrets within a given environment.
created_at
environment_id
name
status
type_of
updated_at
GET /environments/:environment_id/secrets
curl https://reactor.adobe.io/environments/:environment_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": "SEe57eeb04e5b845cab52b4f4fb64d0e81",
"type": "secrets",
"attributes": {
"created_at": "2023-04-21T23:08:36.144Z",
"updated_at": "2023-04-21T23:08:36.144Z",
"name": "Example Secret",
"type_of": "token",
"activated_at": null,
"expires_at": null,
"refresh_at": null,
"status": "pending",
"created_by_email": "ciltaru@adobe.com",
"created_by_display_name": "George Ciltaru",
"updated_by_email": "ciltaru@adobe.com",
"updated_by_display_name": "George Ciltaru",
"credentials": {
}
},
"relationships": {
"property": {
"links": {
"related": "https://reactor.adobe.io/secrets/SEe57eeb04e5b845cab52b4f4fb64d0e81/property"
},
"data": {
"id": "PRbf26e6477952473ba1b226a5b32bc433",
"type": "properties"
}
},
"environment": {
"links": {
"related": "https://reactor.adobe.io/secrets/SEe57eeb04e5b845cab52b4f4fb64d0e81/environment"
},
"data": {
"id": "EN53189c829e884c0fba2114828b19bc4c",
"type": "environments"
},
"meta": {
"stage": "development"
}
},
"notes": {
"links": {
"related": "https://reactor.adobe.io/secrets/SEe57eeb04e5b845cab52b4f4fb64d0e81/notes"
}
},
"data_elements": {
"links": {
"related": "https://reactor.adobe.io/secrets/SEe57eeb04e5b845cab52b4f4fb64d0e81/data_elements"
}
}
},
"links": {
"self": "https://reactor.adobe.io/secrets/SEe57eeb04e5b845cab52b4f4fb64d0e81",
"property": "https://reactor.adobe.io/secrets/SEe57eeb04e5b845cab52b4f4fb64d0e81/property"
}
}
],
"meta": {
"pagination": {
"current_page": 1,
"next_page": null,
"prev_page": null,
"total_pages": 1,
"total_count": 1
}
}
}