cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3070
Views
5
Helpful
5
Replies

RADIUS Server secret is not correct when adding via API

bhilgenkamp2023
Frequent Visitor
Frequent Visitor

I'm pushing switch access policies using:

https://api.meraki.com/api/v1/networks/{networkId}/switch/accessPolicies

Everything looks great on the dashboard after I add them except for the RADIUS secret that shows when I click the "Show" button on the dashboard. The secret that is shown is incorrect, and is the same every time even when I change the secret I'm sending via API. Example of my payload:

"radiusServers": [
{
"host": "1.1.1.1",
"port": 1812,
"secret": "secretcode"
},
{
"host": "2.2.2.2",
"port": 1812,
"secret": "acompletelydifferentsecretcode"
}

In the above example, both of the secrets would appear as the same in the dashboard. Am I doing something wrong here or is this an issue with the API?

1 Accepted Solution

Accepted Solutions

ww^
Meraki Community All-Star
Meraki Community All-Star

It never shows the real secret even if you add it from the dashboard itself. Its always the same "fake" secret. But the real one you entered should be used

View solution in original post

5 Replies 5

Raphael_L
Meraki Community All-Star
Meraki Community All-Star

when I click the "Show" button on the dashboard

You can't show the shared secret on the dashboard. What are you refering to ?

I have the option to show the secret on the servers on my Access Policies pages:

image.png

ww^
Meraki Community All-Star
Meraki Community All-Star

It never shows the real secret even if you add it from the dashboard itself. Its always the same "fake" secret. But the real one you entered should be used

Interesting. Good to know - not sure why the "show" option is even there if it won't actually show it. I suppose just for confirmation when entering it. Thanks!

Raphael_L
Meraki Community All-Star
Meraki Community All-Star

And that UI is only present because you enabled Org-Wide Radius server which is a feature currently in Early-Access.

EDIT : I had already "flagged" this via : https://community.meraki.com/t5/Dashboard-Administration/Org-level-RADIUS-Server-Open-discussion/m-p/214190