Exposing function to retrieve group's key