(Jan 22) Release 0.9.8-19 with bug fixes available now. Run this command for update v-update-sys-vesta-all

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

Questions regarding the API
Application Programming Interface
Forum rules
Before creating a new topic or reply on the forum you should fill out additional fields "Os" and "Web" in your profile section.
In case of violation, the topic can be closed or response from the support will not be received.
SS88
Posts: 306
Joined: Thu Nov 19, 2015 12:40 pm

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

Postby 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

Return to “Scripting / API”



Who is online

Users browsing this forum: No registered users and 1 guest

cron