Creates a new PSK for the currently logged-in user.
IMPORTANT: The PSK is returned only once upon creation. Store it securely - it cannot be retrieved again.
If you lose your PSK, you must use the regenerate endpoint to create a new one.
Authentication: Requires Keycloak token. PSK auth is NOT allowed.
The access token received from the authorization server in the OAuth 2.0 flow.
Request model for creating a user PSK.
Optional description for the PSK.
PSK created successfully.
Response model for PSK creation/regeneration (includes the raw PSK).
Unique ID of the user PSK.
The raw pre-shared key. Store this securely - it cannot be retrieved again.
Timestamp when the PSK was created.
Important information about the PSK.
Optional description for the PSK.