Skip to content

Fleet provisioning CFN template refinement#290

Merged
thomas-roos merged 2 commits intoaws4embeddedlinux:master-nextfrom
gregbreen:fleet-prov-cfn-refinement
Oct 6, 2025
Merged

Fleet provisioning CFN template refinement#290
thomas-roos merged 2 commits intoaws4embeddedlinux:master-nextfrom
gregbreen:fleet-prov-cfn-refinement

Conversation

@gregbreen
Copy link
Copy Markdown
Contributor

@gregbreen gregbreen commented Oct 3, 2025

Issue #, if available:

None

Description of changes:

  1. Minimize token exchange role access. Just the minimum for system log forwarder, and pulling artifacts from S3.
  2. Use the least-privilege fleet provisioning IoT policy as documented here: https://docs.aws.amazon.com/iot/latest/developerguide/provision-wo-cert.html#claim-based
  3. Use least-privilege iot:Connect resource in the provisioned IoT policy. The other actions remain as wildcards since we don't know what topics they might use.
  4. Remove unused actions and resource from the MAC Validation Lambda role.
  5. Fleet prov template: provision with exclusive thing association since it's a best practice.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@gregbreen gregbreen force-pushed the fleet-prov-cfn-refinement branch from d969bf8 to ac55a51 Compare October 3, 2025 04:12
Copy link
Copy Markdown

@thomas-roos thomas-roos left a comment

Choose a reason for hiding this comment

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

thank you!

@thomas-roos thomas-roos merged commit ac8b740 into aws4embeddedlinux:master-next Oct 6, 2025
32 checks passed
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