User is always getting access to API Key

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Please sign in to see details of an important advisory in our Customer Advisories area.

User is always getting access to API Key

L1 Bithead

I am inserting a user into "Prisma Cloud" through API (https://api.prismacloud.io/user) with the request body as,

var userDetails = {
"email": email,
"firstName": firstName,
"lastName": lastName,
"timeZone": "America/Los_Angeles",
"roleId": <role id of system admin>,
"accessKeysAllowed": false
};

 

This user has access to "Access Key" but I am passing parameter "accessKeysAllowed": false in the body.

Where I am doing wrong.

1 accepted solution

Accepted Solutions

L2 Linker

Hello @SRKhan007 

System Admins by default get access keys allowed to them without an option to change it upon creation, similar to how it does so in the UI.

You are not doing anything wrong here.

We have a feature request to have that modifiable for system admins as well, but that's by design at the moment.

Users with other role types can have access key creation option as disabled.

View solution in original post

4 REPLIES 4

L2 Linker

Hello @SRKhan007 

System Admins by default get access keys allowed to them without an option to change it upon creation, similar to how it does so in the UI.

You are not doing anything wrong here.

We have a feature request to have that modifiable for system admins as well, but that's by design at the moment.

Users with other role types can have access key creation option as disabled.

Please elaborate more on your below point, We have a feature request to have that modifiable for system admins as well

This is not available yet and is a feature request.

Currently, System Admins by default have the option to create access keys and one cannot modify that.

Thank You

  • 1 accepted solution
  • 6876 Views
  • 4 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!