Skip to content

[v16] Expose configuration to set maximum number of PKCS#11 sessions#52880

Merged
rosstimothy merged 1 commit intobranch/v16from
tross/backport-52768/v16
Mar 7, 2025
Merged

[v16] Expose configuration to set maximum number of PKCS#11 sessions#52880
rosstimothy merged 1 commit intobranch/v16from
tross/backport-52768/v16

Conversation

@rosstimothy
Copy link
Copy Markdown
Contributor

Backport #52768 to branch/v16

changelog: Allow specifying the maximum number of PKCS#11 HSM connections.

The PKCS#11 that we use defaults to allowing 1024 concurrent
sessions. If an HSM is configured with a lower limit it results in
broken UX since the PKCS#11 library does not reuse open and available
sessions until it has opened the maximum number of sessions that it
can. While the library behavior is out of our control, we now allow
users the ability to specify what their desired max and propagate it
on to the PKCS#11 library so that it will not open more sessions
than the HSM will allow.

The auth config reference was updated to include `ca_key_params`.
While these config options were somewhat discoverable via individual
HSM guides, they were not mentioned in the auth reference.
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 7, 2025

Amplify deployment status

Branch Commit Job ID Status Preview Updated (UTC)
tross/backport-52768/v16 HEAD 1 ✅SUCCEED tross-backport-52768-v16 2025-03-07 08:32:05

@rosstimothy rosstimothy added this pull request to the merge queue Mar 7, 2025
Merged via the queue into branch/v16 with commit b8450b3 Mar 7, 2025
47 checks passed
@rosstimothy rosstimothy deleted the tross/backport-52768/v16 branch March 7, 2025 17:02
@fheinecke fheinecke mentioned this pull request Mar 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants