It's pretty bad that I don't know if I have something to do.
I read something about updating API Keys to V2. But I have no clue if I have to do anything if they are already at V2.
My hotspots have been down for over a year. They were configured some long time before. It may be they are already V2 (or not).
How do I check?
1) Do changes have to be made on Brandmeister (BM) and my pi-stars?
2) Which ones get updated first?
3) Are keys first generated on PI or BM?
4) Just for testing, can I add a key, just to test, never use it, then delete it? Without any problems?
5) Is it possible to see tge actual keys used on my hotspots and BM? I don't see anything that look like the example keys.
I checked API keys on BM and there are 2 listed. They are password keys. But just that and expiration. No actual key that I can see.
See I'm pretty clueless on these API Keys. Up to now, I haven't ever done anything with regards to keys.
Any info helps
Mike
How do I know if I Need to update API Keys to V2?
How do I know if I Need to update API Keys to V2?
Amateur Radio 40+ years
USMC 1963-1967
USMC 1963-1967
Re: How do I know if I Need to update API Keys to V2?
Link below shows what, where, why and how...
https://news.brandmeister.network/
Sent via smoke signals from my SM-G935F M1DNS (Admin)
https://news.brandmeister.network/
Sent via smoke signals from my SM-G935F M1DNS (Admin)
Andrew M1DNS.
Pi-star Admin Team.
Pi-star Admin Team.
Re: How do I know if I Need to update API Keys to V2?
I already read that before I posted here. It doesn't address my questions. That's why I posted here.M1DNS wrote: ↑Thu Feb 02, 2023 7:33 am Link below shows what, where, why and how...
https://news.brandmeister.network/
Sent via smoke signals from my SM-G935F M1DNS (Admin)
But I think I have the answer. Since I've never used API keys, I don't think I have anything to do.
Amateur Radio 40+ years
USMC 1963-1967
USMC 1963-1967
Re: How do I know if I Need to update API Keys to V2?
I think you misread/misunderstood something here: you are not going to being able to connect to the Brandmeister network without an API key. And, if your HS's have been down for year or so, then they are/were probably configured for V1 keys which are obsolete now. You need to update 'em.
You can do a quick check via SSH by issuing these commands (dashboard->admin->expert->SSH):
You should get something similar to this:
Also your Pi-Star needs to be up-to-date:
... answering your questions:
Yes, changes have to be made on BM *and* Pi-Star.
You start be getting a key(s) from BM - that's where they are generated.
You then "apply" the key in Pi-Star: dashboard->admin->expert->BM API
Don't know why you'd want to generate a key, apply it, and then discard it: it's usually "set it and forget it". Unless you are configuring for a friend or planning on passing your HS on to someone else.
Yes, the keys can be viewed (by you) on both BM and Pi-Star, via the appropriate dashboards; no, there are no "example" keys.
You can do a quick check via SSH by issuing these commands (dashboard->admin->expert->SSH):
Code: Select all
sudo pistar-bmapi dmrid
sudo pistar-bmapi apikey
Code: Select all
Using BM API v2
Your DMR ID is: .......
Using BM API v2
Your BrandMeister API Key is: .......
Code: Select all
Pi-Star:4.1.6 / Dashboard: 20221114
Yes, changes have to be made on BM *and* Pi-Star.
You start be getting a key(s) from BM - that's where they are generated.
You then "apply" the key in Pi-Star: dashboard->admin->expert->BM API
Don't know why you'd want to generate a key, apply it, and then discard it: it's usually "set it and forget it". Unless you are configuring for a friend or planning on passing your HS on to someone else.
Yes, the keys can be viewed (by you) on both BM and Pi-Star, via the appropriate dashboards; no, there are no "example" keys.