Skip to main content
POST
Create service account

Authorizations

Authorization
string
header
required

Bearer API Key. For example, "Bearer {Tenant API Key}"

Headers

Authorization
string
required

Bearer API Key. For example, "Bearer {Tenant API Key}"

Content-Type
string

application/json

Body

application/json
controlPlaneRoleArn
string
required

The control-plane role, with no path. Plerion assumes it with the tenant's external ID, and its account becomes the service account. The role needs the tag RolePurpose with the value PlerionAccess.

Pattern: ^arn:aws:iam::[0-9]{12}:role/[a-zA-Z0-9_-]{1,100}$
Example:

"arn:aws:iam::210987654321:role/PlerionControlPlaneRole"

applianceInstanceProfileArn
string
required

The appliance instance profile, with no path, in the same account as controlPlaneRoleArn.

Pattern: ^arn:aws:iam::[0-9]{12}:instance-profile/[a-zA-Z0-9_-]{1,100}$
Example:

"arn:aws:iam::210987654321:instance-profile/PlerionInstanceProfile"

name
string

1 to 64 letters, numbers, spaces, underscores, dots and hyphens. Left out, it is the account's IAM alias, or the account ID.

Pattern: ^[a-zA-Z0-9_ .-]{1,64}$
Example:

"Plerion scanning"

templateVersion
string

The version of the Plerion template you deployed the resources from.

Required string length: 1 - 32
Example:

"v3"

Response

The service account

data
object

An AWS account that runs Plerion's workload scanners.