[aws] support either key or accessKey