A method for authentication and key management for applications, AKMA, for a terminal device in a wireless communication network, the method being performed by an Authentication Server Function, AUSF, the method comprising:
- authenticating the terminal device during a primary authentication session for the terminal device;
- responsive to a successful authentication of the terminal device, obtaining a first key;
- generating bootstrapping security parameters;
- communicating an authentication response message to the terminal device;
- providing the bootstrapping security parameters to an AKMA Authentication Function, AauF, to establish a channel that is authenticated and secure.