Skip to content

Commit

Permalink
Add a section on IAM actions required to perform different roles
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfeidau committed Sep 12, 2024
1 parent 106791f commit 8ee56ea
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions pages/agent/v3/signed_pipelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,3 +225,18 @@ Replacing the following:
- `<key id or alias>` with the AWS KMS key ID or alias created earlier.
- `<org slug>` with the slug of the organization the pipeline is in.
- `<pipeline slug>` with the slug of the pipeline you want to sign.

### Step 4: Assign IAM Permissions to your Agents

There are two common roles for agents when using signed pipelines, these being those that sign and upload pipelines, and those that verify steps. To follow least privilege best practice you should access to the KMS key using IAM to specific actions as seen below.

For agents which will sign and verify pipelines the following IAM Actions are required.

- kms:Sign
- kms:Verify
- kms:GetPublicKey

For agents which only verify pipelines the following IAM Actions are required.

- kms:Verify
- kms:GetPublicKey

0 comments on commit 8ee56ea

Please sign in to comment.