When you have Password Vault, Save in Password Vault is beside a new API key. It opens Password Vault in a new tab with a new API credential filled in: the key, named after it, with Magpie's address, what the key can reach, its team and when it expires in its notes. Unlock the vault if it asks, and select Save.
The key is encrypted in your browser before it is stored, as everything in Password Vault is.