Error
A valid request URL is required to generate request examples{
"srn": "srn2:service-token#a1B2c3D4e5F6g7H8",
"description": "CI pipeline token for nightly ingestion",
"accessKey": "a1B2c3D4e5F6g7H8",
"createdAt": "2024-09-04T00:28:30.876+00:00",
"lastUpdatedAt": "2024-09-04T00:28:30.876+00:00",
"createdBy": "srn:zone:user:default:abcd1234",
"lastUpdatedBy": "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"
}{
"status": 404,
"error": "Not Found",
"message": "Not Found."
}Service tokens
Get a service token
Returns the token’s description, access key, and audit fields. The secret key is not included.
GET
/
service-tokens
/
{tokenSrn}
Error
A valid request URL is required to generate request examples{
"srn": "srn2:service-token#a1B2c3D4e5F6g7H8",
"description": "CI pipeline token for nightly ingestion",
"accessKey": "a1B2c3D4e5F6g7H8",
"createdAt": "2024-09-04T00:28:30.876+00:00",
"lastUpdatedAt": "2024-09-04T00:28:30.876+00:00",
"createdBy": "srn:zone:user:default:abcd1234",
"lastUpdatedBy": "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"
}{
"status": 404,
"error": "Not Found",
"message": "Not Found."
}Authorizations
A StarTree API token or a service token (st-<accessKey>-<secretKey>).
Path Parameters
SRN of the service token. The identifier is the token's access key, with # encoded as %23.
Response
The service token.
Example:
"srn2:service-token#a1B2c3D4e5F6g7H8"
Example:
"CI pipeline token for nightly ingestion"
Example:
"a1B2c3D4e5F6g7H8"
Example:
"2024-09-04T00:28:30.876+00:00"
Example:
"2024-09-04T00:28:30.876+00:00"
SRN of the principal that created the resource. Predefined StarTree resources show startree-rbac-manager.
Example:
"srn:zone:user:default:abcd1234"
Example:
"srn:zone:user:default:abcd1234"
Was this page helpful?

