Identity#
From openapi.json: CrushMFT API, version v1, build 27.0.0_2143.
The server's own OpenID Connect provider: its issuers and signing keys.
GET /WebInterface/api/v1/identity/oidc/issuers #
The OIDC issuers this server runs: id, issuer url, how many signing keys.
- Operation:
oidc.issuers.list - Credentials:
tokenorbasicorsession - Permission:
identity.oidc.view - Tier:
1 - Legacy:
listOIDCIssuers - Token: by its grants
- Read only: yes
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
limit |
query | integer | At most this many items, 1 to 1000. Default 100. |
|
cursor |
query | string | The next_cursor of the page before. |
Responses
| Status | Description | Body |
|---|---|---|
200 |
The result. | object application/json |
400 |
The request is not JSON, or a parameter is of the wrong kind. | Problem application/problem+json |
401 |
No credential, or one that did not log in. | Problem application/problem+json |
403 |
Logged in, and refused: detail says why, permission names what was missing. |
Problem application/problem+json |
default |
Any other error. | Problem application/problem+json |
Fields of the 200 response
| Field | Type | Required | Description |
|---|---|---|---|
items |
list of object | ||
items[].id |
string | ||
items[].issuer_url |
string | ||
items[].keys |
integer | ||
next_cursor |
null |
Example 200 response
{
"items": [
{
"id": "rec",
"issuer_url": "https://server.example.com/oidc/rec",
"keys": 1
}
],
"next_cursor": null
}
GET /WebInterface/api/v1/identity/oidc/keys #
An issuer's signing keys: kid, type, algorithm, created, and which one signs.
- Operation:
oidc.keys.list - Credentials:
tokenorbasicorsession - Permission:
identity.oidc.view - Tier:
1 - Legacy:
listOIDCSigningKeys - Token: by its grants
- Read only: yes
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
issuer |
query | string | yes | The issuer's OIDC Server ID. |
limit |
query | integer | At most this many items, 1 to 1000. Default 100. |
|
cursor |
query | string | The next_cursor of the page before. |
Responses
| Status | Description | Body |
|---|---|---|
200 |
The result. | object application/json |
400 |
The request is not JSON, or a parameter is of the wrong kind. | Problem application/problem+json |
401 |
No credential, or one that did not log in. | Problem application/problem+json |
403 |
Logged in, and refused: detail says why, permission names what was missing. |
Problem application/problem+json |
default |
Any other error. | Problem application/problem+json |
Fields of the 200 response
| Field | Type | Required | Description |
|---|---|---|---|
issuer |
string | ||
items |
list of object | ||
items[].algorithm |
string | ||
items[].alias |
string | ||
items[].created |
string | ||
items[].kid |
string | ||
items[].signing |
boolean | ||
items[].type |
string | ||
next_cursor |
null |
Example 200 response
{
"items": [
{
"kid": "haEQyVrS9FWrm88IdYBCmvnB-zxjCUI007TW316k_Us",
"alias": "key-20261122193203804",
"type": "RSA 3072 bit",
"algorithm": "RS256",
"created": "2026-11-22 21:32:03 EET",
"signing": true
}
],
"next_cursor": null,
"issuer": "gateoidc"
}
POST /WebInterface/api/v1/identity/oidc/keys #
An issuer's first signing key, or the next one of a key change: published at once, signing once the key before it is retired.
- Operation:
oidc.keys.create - Credentials:
basicorsession - Permission:
identity.oidc.keys.manage - Tier:
0 - Legacy:
createOIDCSigningKey,addOIDCSigningKey - Token:
never - Read only: no
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
dry_run |
query | boolean | Run every check, make nothing. Default false. |
Request body (required): application/json
| Field | Type | Required | Description |
|---|---|---|---|
issuer |
string | yes | The issuer's OIDC Server ID. |
key_type |
string, one of RSA, EC |
RSA or EC. Default RSA. |
|
key_size |
integer | RSA: 2048, 3072 (when left out) or 4096. EC: 256 (when left out), 384 or 521. |
Example request body
{
"issuer": "rec"
}
Responses
| Status | Description | Body |
|---|---|---|
201 |
Created. | object application/json |
400 |
The request is not JSON, or a parameter is of the wrong kind. | Problem application/problem+json |
401 |
No credential, or one that did not log in. | Problem application/problem+json |
403 |
Logged in, and refused: detail says why, permission names what was missing. |
Problem application/problem+json |
409 |
The object exists already, or its state does not allow this. | Problem application/problem+json |
422 |
A field fails its rule: errors lists every one. |
Problem application/problem+json |
default |
Any other error. | Problem application/problem+json |
Fields of the 201 response
| Field | Type | Required | Description |
|---|---|---|---|
first |
boolean | ||
issuer |
string | ||
keys |
list of object | ||
keys[].algorithm |
string | ||
keys[].alias |
string | ||
keys[].created |
string | ||
keys[].kid |
string | ||
keys[].signing |
boolean | ||
keys[].type |
string | ||
message |
string |
Example 201 response
{
"message": "Added key key-20261122193415142. It is published now but does not sign yet. Once the cloud has refreshed its cached key list, remove the old key to complete the change.",
"issuer": "rec",
"first": false,
"keys": [
{
"kid": "88_QK6rrNN_JCr-sUBv8YKu8pSzGQIHuBcu3GAi6pAQ",
"alias": "key-20261122193414617",
"type": "RSA 3072 bit",
"algorithm": "RS256",
"created": "2026-11-22 21:34:14 EET",
"signing": true
},
{
"kid": "tCM00d6h4FGsxFIHc81YJqSc2ot6fTHs0NQEM--_P0o",
"alias": "key-20261122193415142",
"type": "RSA 3072 bit",
"algorithm": "RS256",
"created": "2026-11-22 21:34:15 EET",
"signing": false
}
]
}
POST /WebInterface/api/v1/tests/oidc #
What an issuer publishes in its discovery document, with warnings, for a saved issuer or the url sent.
- Operation:
oidc.config.test - Credentials:
tokenorbasicorsession - Permission:
identity.oidc.view - Tier:
1 - Legacy:
testOIDCServerConfig - Token: by its grants
- Read only: no
Request body (required): application/json
| Field | Type | Required | Description |
|---|---|---|---|
issuer |
string | A saved issuer's OIDC Server ID. | |
issuer_url |
string | The issuer url to check, instead of the saved one. |
Example request body
{
"issuer": "gateoidc"
}
Responses
| Status | Description | Body |
|---|---|---|
200 |
The result. | object application/json |
400 |
The request is not JSON, or a parameter is of the wrong kind. | Problem application/problem+json |
401 |
No credential, or one that did not log in. | Problem application/problem+json |
403 |
Logged in, and refused: detail says why, permission names what was missing. |
Problem application/problem+json |
409 |
The object exists already, or its state does not allow this. | Problem application/problem+json |
422 |
A field fails its rule: errors lists every one. |
Problem application/problem+json |
default |
Any other error. | Problem application/problem+json |
Fields of the 200 response
| Field | Type | Required | Description |
|---|---|---|---|
ok |
boolean | ||
published |
object | ||
published.discovery_url |
string | ||
published.id_token_signing_alg_values_supported |
list of string | ||
published.issuer |
string | ||
published.jwks_uri |
string | ||
published.jwks_url |
string | ||
published.response_types_supported |
list of string | ||
published.signing_keys |
list of object | ||
published.signing_keys[].algorithm |
string | ||
published.signing_keys[].alias |
string | ||
published.signing_keys[].created |
string | ||
published.signing_keys[].kid |
string | ||
published.signing_keys[].path |
string | ||
published.signing_keys[].signing |
string | ||
published.signing_keys[].type |
string | ||
published.subject_types_supported |
list of string | ||
published.warning |
string | ||
result |
string |
Example 200 response
{
"ok": true,
"result": "SUCCESS",
"published": {
"discovery_url": "https://files.example.com/gateoidc/.well-known/openid-configuration",
"jwks_url": "https://files.example.com/gateoidc/discovery/keys",
"issuer": "https://files.example.com/gateoidc",
"jwks_uri": "https://files.example.com/gateoidc/discovery/keys",
"response_types_supported": [
"id_token"
],
"subject_types_supported": [
"public"
],
"id_token_signing_alg_values_supported": [
"RS256"
],
"signing_keys": [
{
"alias": "key-20261122193203804",
"kid": "haEQyVrS9FWrm88IdYBCmvnB-zxjCUI007TW316k_Us",
"type": "RSA 3072 bit",
"algorithm": "RS256",
"created": "2026-11-22 21:32:03 EET",
"path": "./oidc_server/gateoidc/key-20261122193203804.key",
"signing": "yes"
}
],
"warning": "The OIDC issuer endpoints are disabled; enable them or nothing is served."
}
}
POST /WebInterface/api/v1/identity/oidc/keys/{kid}/retire #
Retire the key that signs, so the one after it takes over. Refused while the new key is too new for the cloud.
- Operation:
oidc.keys.retire - Credentials:
basicorsession - Permission:
identity.oidc.keys.manage - Tier:
0 - Legacy:
retireOIDCSigningKey - Token:
never - Read only: no
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
kid |
path | string | yes | The key that signs now, by its kid or alias. |
dry_run |
query | boolean | Run every check, retire nothing. Default false. |
Request body (required): application/json
| Field | Type | Required | Description |
|---|---|---|---|
issuer |
string | yes | The issuer's OIDC Server ID. |
Responses
| Status | Description | Body |
|---|---|---|
200 |
The result. Its fields are not described yet: no test run recorded this reply. | |
400 |
The request is not JSON, or a parameter is of the wrong kind. | Problem application/problem+json |
401 |
No credential, or one that did not log in. | Problem application/problem+json |
403 |
Logged in, and refused: detail says why, permission names what was missing. |
Problem application/problem+json |
404 |
No such object, or one outside the caller's scope. | Problem application/problem+json |
409 |
The object exists already, or its state does not allow this. | Problem application/problem+json |
422 |
A field fails its rule: errors lists every one. |
Problem application/problem+json |
default |
Any other error. | Problem application/problem+json |
Schemas used here#
Problem #
An error (RFC 9457), as application/problem+json. code is stable and is what a program switches on; detail says it in words; request_id finds the request in the server log.
| Code | Status | Meaning |
|---|---|---|
bad_request |
400 | The request cannot be read: a broken path, an unknown or badly typed parameter, a body that is not a JSON object. |
validation_failed |
422 | The body is well-formed, but one or more of its fields cannot be used. errors lists each field, the rule and a message. |
unauthenticated |
401 | No credential, or one that did not log in. |
forbidden |
403 | Logged in, and refused. detail carries the reason the access engine gave. |
tier0 |
403 | The operation is equal to full control of the server. No token may use it, and of the accounts only the Administrator role. |
read_only_token |
403 | The token is read-only and the operation changes something. |
legacy_account |
403 | The account holds legacy admin flags, which the API does not act on. Convert it to roles, or issue a token for it. |
not_open_yet |
403 | The command behind the operation is not switched on for roles and tokens yet. An administrator's own login can use it. |
dmz_not_allowed |
403 | The request came through a DMZ, and the API does not answer those unless api_from_dmz allows it. |
edition_required |
403 | The operation needs an edition this server is not licensed for. |
not_found |
404 | No such operation, no such object, or an object the caller's scope does not cover. |
method_not_allowed |
405 | The path exists and the method does not. Allow lists the methods that do. |
conflict |
409 | The object already exists, or is in a state that does not allow this. |
precondition_failed |
412 | If-Match did not match: the object changed since it was read. |
payload_too_large |
413 | The body is larger than api_max_body_kb. |
unsupported_media_type |
415 | A body must be Content-Type: application/json. |
rate_limited |
429 | Too many requests for this credential or address in this minute. Retry-After says when to try again. |
internal_error |
500 | A fault in the server. The server log has the cause under the request id. |
not_implemented |
501 | The operation is in the registry and is not built on this server yet. |
unavailable |
503 | The server is starting or shutting down. |
fips_restricted |
409 | The server runs in FIPS 140-3 mode (launched with -Dcrushmft.fips=true), and FIPS mode does not allow what was asked: the detail is the catalog row's reason and what to use instead, fips_id its id (CrushFTP design/61 section 5). |
| Field | Type | Required | Description |
|---|---|---|---|
type |
string | ||
title |
string | ||
code |
string, one of bad_request, validation_failed, unauthenticated, forbidden, tier0, read_only_token, legacy_account, not_open_yet, dmz_not_allowed, edition_required, not_found, method_not_allowed, conflict, precondition_failed, payload_too_large, unsupported_media_type, rate_limited, internal_error, not_implemented, unavailable, fips_restricted |
||
detail |
string | ||
operation |
string | ||
permission |
string | ||
request_id |
string | ||
status |
integer |