Retrieve an existing secret by ID.
GET /secrets/:id
curl https://reactor.adobe.io/secrets/:id \
-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": "SEe91a36348b1844b8b0b641d3c84e1c56",
"type": "secrets",
"attributes": {
"created_at": "2023-04-21T23:08:42.191Z",
"updated_at": "2023-04-21T23:08:42.191Z",
"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/SEe91a36348b1844b8b0b641d3c84e1c56/property"
},
"data": {
"id": "PR37601e425cab40b794d838f1af070dc4",
"type": "properties"
}
},
"environment": {
"links": {
"related": "https://reactor.adobe.io/secrets/SEe91a36348b1844b8b0b641d3c84e1c56/environment"
},
"data": {
"id": "ENf78b3c54da344d3587fc7454f0decc78",
"type": "environments"
},
"meta": {
"stage": "development"
}
},
"notes": {
"links": {
"related": "https://reactor.adobe.io/secrets/SEe91a36348b1844b8b0b641d3c84e1c56/notes"
}
},
"data_elements": {
"links": {
"related": "https://reactor.adobe.io/secrets/SEe91a36348b1844b8b0b641d3c84e1c56/data_elements"
}
}
},
"links": {
"self": "https://reactor.adobe.io/secrets/SEe91a36348b1844b8b0b641d3c84e1c56",
"property": "https://reactor.adobe.io/secrets/SEe91a36348b1844b8b0b641d3c84e1c56/property"
}
}
}