Error
A valid request URL is required to generate request examples{
"serviceTokenSummaries": [
{
"srn": "srn2:service-token#a1B2c3D4e5F6g7H8",
"accessKey": "a1B2c3D4e5F6g7H8",
"description": "CI pipeline token for nightly ingestion",
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": "srn:zone:user:default:abcd1234"
}
]
}{
"timestamp": "2023-11-07T05:31:56Z",
"status": 404,
"error": "Not Found",
"message": "Not Found.",
"path": "/api/v1/rbac-manager/policies/srn2:policy%23missing"
}{
"timestamp": "2023-11-07T05:31:56Z",
"status": 404,
"error": "Not Found",
"message": "Not Found.",
"path": "/api/v1/rbac-manager/policies/srn2:policy%23missing"
}Service tokens
List service tokens
Returns a summary of each service token. Secret keys are never returned after creation.
GET
/
service-tokens
Error
A valid request URL is required to generate request examples{
"serviceTokenSummaries": [
{
"srn": "srn2:service-token#a1B2c3D4e5F6g7H8",
"accessKey": "a1B2c3D4e5F6g7H8",
"description": "CI pipeline token for nightly ingestion",
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": "srn:zone:user:default:abcd1234"
}
]
}{
"timestamp": "2023-11-07T05:31:56Z",
"status": 404,
"error": "Not Found",
"message": "Not Found.",
"path": "/api/v1/rbac-manager/policies/srn2:policy%23missing"
}{
"timestamp": "2023-11-07T05:31:56Z",
"status": 404,
"error": "Not Found",
"message": "Not Found.",
"path": "/api/v1/rbac-manager/policies/srn2:policy%23missing"
}Authorizations
A StarTree API token or a service token (st-<accessKey>-<secretKey>).
Query Parameters
all returns every token. invalid returns only tokens that cannot be used yet, for example tokens with no role assigned.
Available options:
all, invalid Response
Service token summaries.
Show child attributes
Show child attributes
Was this page helpful?

