Skip to content

feat(ai): Update docs to reflect AWS identity usage for AWS Guardrails Plugin#5514

Open
tysoekong wants to merge 1 commit into
mainfrom
feat/ai_aws_guardrails_iam_identity_usage
Open

feat(ai): Update docs to reflect AWS identity usage for AWS Guardrails Plugin#5514
tysoekong wants to merge 1 commit into
mainfrom
feat/ai_aws_guardrails_iam_identity_usage

Conversation

@tysoekong

Copy link
Copy Markdown
Contributor

Description

Adds (vague) instructions for configuring the AI AWS Guardrails with an assigned AWS Identity (e.g. https://docs.aws.amazon.com/eks/latest/userguide/pod-identities.html, IAM Instance Profile, etcetera).

Please can you proof read and adjust so that it fits the required grammar :)

Preview Links

Checklist

  • Tested how-to docs. If not, note why here.
  • All pages contain metadata.
  • Any new docs link to existing docs.
  • All autogenerated instructions render correctly (API, decK, Konnect, Kong Manager).
  • Style guide (capitalized gateway entities, placeholder URLs) implemented correctly.
  • Every page has a description entry in frontmatter.
  • Add new pages to the product documentation index (if applicable).

Copilot AI review requested due to automatic review settings June 10, 2026 00:31
@tysoekong tysoekong requested a review from a team as a code owner June 10, 2026 00:31
@netlify

netlify Bot commented Jun 10, 2026

Copy link
Copy Markdown

Deploy Preview for kongdeveloper ready!

Name Link
🔨 Latest commit 89a4f4a
🔍 Latest deploy log https://app.netlify.com/projects/kongdeveloper/deploys/6a28b047462a07000842b988
😎 Deploy Preview https://deploy-preview-5514--kongdeveloper.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Use the AI AWS Guardrails plugin how-to to describe using either static AWS access keys or an AWS IAM role attached to the workload (for example, EKS Pod Identity / instance profile) when authenticating the plugin to AWS.

Changes:

  • Expands the AWS prerequisites to describe multiple AWS identity options.
  • Adds separate configuration guidance for static access keys vs. workload-attached IAM roles.
  • Adds a note about optionally assuming a secondary role via aws_assume_role_arn.

Comment on lines +56 to 60
To complete this tutorial, you will need either:

1. The following credentials:

* AWS_REGION
Comment on lines +149 to +151
Whereas for an assigned Web Identity / Instance Profile / etc IAM Role, simply leave the `aws_access_key_id` and `aws_secret_access_key`
fields empty. In this setup example, Kong will run through the [standard credentials provider chain](https://docs.aws.amazon.com/sdk-for-php/v3/developer-guide/guide_credentials_default_chain.html) and select the first successfully
authenticated credential set.
Comment on lines +161 to +171
variables:
guardrails_id:
value: $GUARDRAILS_ID
guardrails_version:
value: $GUARDRAILS_VERSION
aws_region:
value: $AWS_REGION
aws_access_key_id:
value: $AWS_ACCESS_KEY_ID
aws_secret_access_key:
value: $AWS_SECRET_ACCESS_KEY
Comment on lines +174 to +175
You can also set the `aws_assume_role_arn` to also use the assigned identity to assume a **second** role,
either in the same AWS account or in another.

Now, we can configure our AI AWS Guardrails plugin to enforce content moderation policies by attaching a predefined Bedrock guardrail to requests.

For static IAM keys, configure the plugin as follows:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants