Beata Gibb, wife of James Keith, appears in an unsourced Geni tree https://www.geni.com/people/Beata-Keith/6000000100219865016 , and in at least one unsourced FamilySearch tree https://www.familysearch.org/tree/person/details/LB43-Q42 . Her husband, James / Jacob Keith born 1578 appears in about 60 trees at MyHeritage, with or without Beata - presumably the same or more at Ancestry. I doubt there are sources in any of them.
These people lived at the time of the Thirty Years' war, when many Scotsmen fought as mecenaries in the "Swedish" troops in Germany and many of them ended up in Sweden. (Actually there were Scottish mercenaries in Scandinavia even earlier - Herr Arnes penningar is based on real events.) So documentation is scant and scattered.
By googling I found a page at the website of the Key family - http://slaktenkey.se/ - the page is http://slaktenkey.se/Documents/FortsattForskning.htm - and it reasons about what is known about the origins of the Key family and mentions names of researchers. They are descended from a Friedrich Keij / Keitz, who may or may not be the brother of James Keith. So there is explanation about James Keith and a section about Beata Gibbs, who may have been born in Sweden to a Scottish father. Her given name, Beata, was common among Swedish nobility at the time, but not used in Scotland. There seem to have been several daughters named Beata in later generations, so the page can be a bit confusing - the writer assumes that the reader is familiar with the family.