Move amazon key init to connect method