dict keys $dictname
dict set dictname 1 one dict set dictname 2 two set allKeys [dict keys $dictname]