# RSA 2048 keys in KMS for signing GitHub App JWTs

**URL:** <https://community.infisical.com/t/rsa-2048-keys-in-kms-for-signing-github-app-jwts/155>\
**Category:** Feature Requests\
**Created:** [November 16, 2026, 8:44pm UTC](https://community.infisical.com/t/rsa-2048-keys-in-kms-for-signing-github-app-jwts/155 "2026-11-16T20:44:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![0xshanks](https://yyz2.discourse-cdn.com/flex048/user_avatar/community.infisical.com/0xshanks/32/193_2.png) [@0xshanks](https://community.infisical.com/u/0xshanks)\
**Post date:** [November 16, 2026, 8:44pm UTC](https://community.infisical.com/t/rsa-2048-keys-in-kms-for-signing-github-app-jwts/155/1 "2026-11-16T20:44:02Z")

</div>

Hi,

We’d like to use Infisical KMS to sign the JWTs for our GitHub App, so the app’s private key never has to live in our application.

The problem is that GitHub only issues RSA 2048 keys for GitHub Apps (we can’t bring our own key) and requires RS256. Infisical KMS currently supports RSA 4096 for sign/verify keys, so we can’t use it for this.

It would be great if KMS could:

- import an existing RSA 2048 private key as a sign/verify key, non-exportable

- sign with RSASSA\_PKCS1V15\_SHA\_256 through the existing sign endpoint

Thanks!

---

<div class="post-metadata">

**Author:** ![Jake-Infisical](https://yyz2.discourse-cdn.com/flex048/user_avatar/community.infisical.com/jake-infisical/32/40_2.png) [@Jake-Infisical](https://community.infisical.com/u/Jake-Infisical)\
**Post date:** [November 16, 2026, 9:25pm UTC](https://community.infisical.com/t/rsa-2048-keys-in-kms-for-signing-github-app-jwts/155/2 "2026-11-16T21:25:34Z")

</div>

Hey hey!

Thanks for raising this! I’ll flag it to the team and get back to you.

Jake
