API operation for HUB/CSP user management

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

API operation for HUB/CSP user management

L0 Member

Does anyone can answer whether we could manage the user account for HUB/SCP using by CLI base such as API or something?

2 REPLIES 2

L4 Transporter

Yes, you can manage user accounts for HUB/SCP using CLI or API, but the specific steps depend on the platform you're working with

PAN-OS (Palo Alto Networks)
CLI Commands:
Add User:
> set mgt-config users <username> password <password> role <role>
Modify User:
> set mgt-config users <username> password <new_password>
Delete User:
> delete mgt-config users <username>

API:

You can use the Palo Alto Networks API to create or manage users by sending XML requests to the appropriate endpoint.

AWS:
aws iam create-user --user-name <username>

aws iam attach-user-policy --user-name <username> --policy-arn arn:aws:iam::aws:policy/AdministratorAccess

aws iam delete-user --user-name <username>

 

AZURE:

az ad user create --display-name "<name>" --user-principal-name "<email>" --password "<password>"

az ad user delete --id <email>

 

 

 

Best Regards,
Suresh

L0 Member

@Mudhireddy  Very thank you. Are there any abailable Tech doc for those?

  • 363 Views
  • 2 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!