Secrets
Get secret.
Roles: SECRET_READ, SECRET_WRITE, SECRET_ADMIN
User access: Yes.
Service account access: Yes.
GET
/
api
/
v1
/
secrets
/
{secretId}
Get secret.
curl --request GET \
--url https://api.revoengine.com/api/v1/secrets/{secretId} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.revoengine.com/api/v1/secrets/{secretId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.revoengine.com/api/v1/secrets/{secretId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"secretId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"version": 123,
"metadata": {},
"restricted": true,
"users": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"groups": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"category": "<string>",
"desc": "<string>",
"accessUsers": [
{}
],
"accessGroups": [
{}
]
}Response
OK.
Last modified on September 5, 2026
⌘I
Get secret.
curl --request GET \
--url https://api.revoengine.com/api/v1/secrets/{secretId} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.revoengine.com/api/v1/secrets/{secretId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.revoengine.com/api/v1/secrets/{secretId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"secretId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"version": 123,
"metadata": {},
"restricted": true,
"users": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"groups": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"category": "<string>",
"desc": "<string>",
"accessUsers": [
{}
],
"accessGroups": [
{}
]
}
