Skip to main content
With plerion aws, you can access AWS integration helpers including external ID retrieval, CloudFormation template generation, and temporary token generation.

Synopsis

plerion aws <subcommand> [options]

Subcommands

get-external-id

Returns the tenant’s external ID used for cross-account AWS role trust policies.
plerion aws get-external-id

get-cloudformation-template

Returns the CloudFormation template for setting up a Plerion AWS integration.
plerion aws get-cloudformation-template --type <type>
OptionTypeDescription
--typestring(required) Template type. Allowed values: AWSAccount

generate-token

Generates a temporary authentication token for an AWS integration.
plerion aws generate-token --integration-id <id>

Examples

# Get the external ID for AWS role trust policy
plerion aws get-external-id --output json | jq '.data.externalId'

# Download the CloudFormation template
plerion aws get-cloudformation-template --type AWSAccount > plerion-template.json

# Generate a temporary token
plerion aws generate-token --integration-id int-abc123

Example output (get-external-id, JSON)

{
  "data": {
    "externalId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
  }
}