align secret with variant