Added control of Idempotent key max length