Developer

last person joined: yesterday 

Expand all | Collapse all

2930F aaa user-name command for rest api access

This thread has been viewed 3 times
  • 1.  2930F aaa user-name command for rest api access

    Posted May 16, 2019 05:47 PM

    Hi All,

    i'm trying to create a credential for use with a script over http.

    What command do I need to give the username? Ie it works if I use the manager user and password, but I don't want to give this to the person writing the script.

    i've created a group and user, but it won't work.

    aaa authentication local-user "script-admin" group "script-admin"

     

    aaa authorization group "script-admin" 1 match-command "command:enable" permit
    aaa authorization group "script-admin" 2 match-command "command:rest-interface" permit
    aaa authentication login privilege-mode



  • 2.  RE: 2930F aaa user-name command for rest api access

    MVP GURU
    Posted May 17, 2019 12:02 PM

    Hi,

     

    What release do you have using ?

     

     

    but with last 16.08 and AAA Rest authentification, there is some options for allowed or not rest API

     

    https://support.hpe.com/hpsc/doc/public/display?docId=a00057978en_us



  • 3.  RE: 2930F aaa user-name command for rest api access

    Posted May 20, 2019 04:25 PM

    WC.16.02.0014

     

    Thx



  • 4.  RE: 2930F aaa user-name command for rest api access

    MVP GURU
    Posted May 21, 2019 05:39 AM

    It will be a good idea to upgrade.