List all secrets
curl --request GET \
--url https://albus.sh/api/secrets \
--header 'Authorization: Bearer <token>'import requests
url = "https://albus.sh/api/secrets"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://albus.sh/api/secrets', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"secrets": [
{
"name": "<string>",
"masked_value": "<string>"
}
]
}{
"message": "Invalid or expired token"
}Secrets
List all secrets
GET
/
secrets
List all secrets
curl --request GET \
--url https://albus.sh/api/secrets \
--header 'Authorization: Bearer <token>'import requests
url = "https://albus.sh/api/secrets"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://albus.sh/api/secrets', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"secrets": [
{
"name": "<string>",
"masked_value": "<string>"
}
]
}{
"message": "Invalid or expired token"
}