How to save unique key/data against user?

You can store whatever information you like in the user’s user_metadata and app_metadata.

You’ll need to determine whether it is safe for you to store an encryption key.