In general, you need to first determine how much the support is vertical displacement due to the unit axial load , from there you can easily determine the axial stiffness. Similarly you can determine the rotational stiffness by determining the rotating due to unit rotational force at the support.
Please click on the link below where some standard approach is explained for determination of axial and lateral pile stiffness.
communities.bentley.com/.../366264