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": "SEdf55bca7cc704714b89a61af73b129b3",
"type": "secrets",
"attributes": {
"created_at": "2021-10-05T19:20:30.635Z",
"updated_at": "2021-10-05T19:20:30.635Z",
"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/SEdf55bca7cc704714b89a61af73b129b3/property"
},
"data": {
"id": "PR6940d685811141099d8c4acda7cb2452",
"type": "properties"
}
},
"environment": {
"links": {
"related": "https://reactor.adobe.io/secrets/SEdf55bca7cc704714b89a61af73b129b3/environment"
},
"data": {
"id": "ENbcbe7e2293254016ada3332adc423c42",
"type": "environments"
},
"meta": {
"stage": "development"
}
},
"notes": {
"links": {
"related": "https://reactor.adobe.io/secrets/SEdf55bca7cc704714b89a61af73b129b3/notes"
}
},
"data_elements": {
"links": {
"related": "https://reactor.adobe.io/secrets/SEdf55bca7cc704714b89a61af73b129b3/data_elements"
}
}
},
"links": {
"self": "https://reactor.adobe.io/secrets/SEdf55bca7cc704714b89a61af73b129b3",
"property": "https://reactor.adobe.io/secrets/SEdf55bca7cc704714b89a61af73b129b3/property"
}
}
}