AWS Greengrass V2 Installation - How to control the 'GreengrassTESCertificatePolicy' creation

0

I am installing Greengrass V2 on core devices, following the steps in https://docs.aws.amazon.com/greengrass/v2/developerguide/getting-started.html, heading 'Install the AWS IoT Greengrass Core software (CLI)' for Linux.

The role alias, and iot core policy is clear enough - I can see how they are created. The installation script also creates another policy, which seems to be callled 'GreengrassTESCertificatePolicy{nameOfRoleAlias}'.

For example, if I install device 1 with a role alias of 'Foo' and device 2 with a role alias of 'Bar', the installation scripts above will lead to the creation of policies 'GreengrassTESCertificatePolicyFoo' and 'GreengrassTESCertificatePolicyBar', respectively.

My questions:

  • Is there a way to specify the name of that policy in the install script, to allow devices to use that upon install instead of creating another ?
  • Is it possible to add that permission to the standard GreengrassV2IoTThingPolicy, and omit a second policy that serves just one purpose ?
1 個回答
1

If you want control, then use a manual setup: https://docs.aws.amazon.com/greengrass/v2/developerguide/manual-installation.html

Cheers,

Michael

AWS
專家
已回答 1 年前
profile pictureAWS
專家
Greg_B
已審閱 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南