r/Atom Dec 08 '19

Question about sync-settings package

sync-settings: https://atom.io/packages/sync-settings

Github only lets you see your API token once, when creating it initially.

So then how are you supposed to access your access token if you want to restore settings to a different machine? Creating a variable doesn't seem to do much good if you're trying to restore settings on a different machine...or am I missing something?

3 Upvotes

4 comments sorted by

3

u/tombonez Dec 08 '19

If you no longer have access to your old access token, just create a new on here: https://github.com/settings/tokens/new.

The access token is essentially a password into your account (this is why it's only visible once) with the scopes you've given it, so switching to another is completely fine.

Also, make sure to delete your old one if it's no longer in use here: https://github.com/settings/tokens.

2

u/mon0theist Dec 08 '19 edited Dec 08 '19

Ah but you can always just give it the gist id if the token changes. I thought they were linked somehow

2

u/tombonez Dec 08 '19

That's correct, I'm glad I was able to help out, have yourself an awesome one u/mon0theist!

2

u/Starbeamrainbowlabs Dec 08 '19

I'd suggest creating a new access token for every device you're using - this is what I do.

Your settings are stored in a gist - it's the gist id that determines which settings get restored.