Allow to assign key and secret