Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Dev Section Scripting / API
  • Search

Is it possible to use the keys for users instead of admin?

Questions regarding the API
Application Programming Interface
Post Reply
  • Print view
Advanced search
1 post • Page 1 of 1
SS88
Posts: 336
Joined: Thu Nov 19, 2015 12:40 pm

Is it possible to use the keys for users instead of admin?
  • Quote

Post by SS88 » Sat May 13, 2017 11:48 am

Hi guys,

I need your opinion on the API. Right now only admin or a hash can access it - and they get full access. But what if the end user wanted to access the API too i.e. user45?

Do you think it's better to use user/password login and limit user/password login to the API to only use the command v-list-user? (v-list-user user45)?

So hash = admin/full access
user/pass = /usr/local/vesta/bin/v-list-user user
Top


Post Reply
  • Print view
1 post • Page 1 of 1

Return to “Scripting / API”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password