Configuring and managing key archival and recovery