OPNsense Forum

English Forums => General Discussion => Topic started by: zub0r on December 02, 2020, 11:28:17 AM

Title: How to create API user through shell?
Post by: zub0r on December 02, 2020, 11:28:17 AM
What is the easiest way to create API-enabled user through shell access and obtain his API credentials?
Thanks for suggestions
Title: Re: How to create API user through shell?
Post by: mimugmail on December 02, 2020, 03:55:12 PM
via CURL post I'd guess.
Just hit F12 in browser and records all steps when doing this manually to get the correct steps
Title: Re: How to create API user through shell?
Post by: zub0r on December 03, 2020, 11:45:51 AM
I was afraid I'd get this answer.
I'm switching to vyos.io
Title: Re: How to create API user through shell?
Post by: mimugmail on December 03, 2020, 11:48:26 AM
If it fits your needs, sure :)