Differentiating between key and profile