passdb/secrets: add secrets_db_ctx() to get the db_context