get right access key for method