IPC Credentials Provider Component Installation
This Greengrass component serves the purpose of passing Greengrass environment variables though a UNIX socket for usage with the ESF AWS Greengrass IPC Cloud Endpoint. Only clients with username esfd
of group esfd
are allowed to connect.
Usage
Setup Greengrass on your device, refer to AWS IoT Greengrass Installation guide for instructions.
For convenience, export the Greengrass CLI binaries in PATH:
Copy the com.eurotech.ipc.credentials.provider
directory into a known location, for example:
Component management
Action | Command |
---|---|
Add | greengrass-cli deployment create --recipeDir /home/pi/gg-components/com.eurotech.ipc.credentials.provider/recipes/ --artifactDir /home/pi/gg-components/com.eurotech.ipc.credentials.provider/artifacts/ --merge "com.eurotech.ipc.credentials.provider=1.0.0" |
Remove | greengrass-cli deployment create --remove="com.eurotech.ipc.credentials.provider" |
List | greengrass-cli component list |
Restart | greengrass-cli component restart --names "com.eurotech.ipc.credentials.provider" |
Components logs are located on a separate file in /opt/aws/greengrass/v2/logs/
:
Required Greengrass Components
After re-installing Greengrass on a device, you might need to redeploy the CLI component if no executable is found in /opt/aws/greengrass/v2/bin
.
To install the CLI component:
- Login the AWS console and create a new deployment.
- Fill the form to select your device, and in the "Public components" section select the desired components.
- Leave everything as default and deploy.
Required components:
aws.greengrass.Cli
aws.greengrass.ShadowManager