Skip to main content

Add Access Key

POST 

/access_keys

Adds a new access key for the current user. If you have API access, you can create up to two access keys.

If you want to create an access key for an existing Prisma Cloud service account instead of for the current user, then specify the name of the existing service account as the value for the request body parameter serviceAccountName.

Request

Body

required

Model for user access key

    expiresOn int64

    Timestamp in milliseconds when access key expires

    name stringrequired

    Access key name

    serviceAccountName string

    Service account name

Responses

successful operation

Schema
    id string

    Access key ID

    secretKey string

    Access key secret

Loading...