Keycloak RSA Key Rotation

Hi,
I am new to Keycloak. We use Public key and Client-ID Secret in conversation between application to application.The Public key is embedded in a API call.

If we create a new Key with high priority than existing, how does it effect this scenario and how can we use the new Key automatically?

Thanks
Richard