Installation or upgrade of CPM may fail with the error "Can't connect to AWS: Wrong credentials or connectivity issue: "AccessKeyID""
Installation or upgrade of CPM may fail with the error "Can't connect to AWS: Wrong credentials or connectivity issue: "AccessKeyID""![](https://desk.zoho.com/DocsDisplay?zgId=28909986&mode=inline&blockId=fodd6d0e84b0bcbe847fd92fc4c10a8f9294f)
Also ensure that the Trusted entity is set up correctly.
The steps to verify or correct the trusted entities are:
1.Go to Service sin the AWS Console and select IAM Identity and Access Management
2.Select Roles:
3. Select the Role associated with the CPM instance. and double click it,
![](https://desk.zoho.com/DocsDisplay?zgId=28909986&mode=inline&blockId=fodd6dd5f8594441b464bb4c3430e61d76284)
4. Please click on the Trusts Tab. Click on Edit Trust Relationship.
5. The reason that the issue occured is the "
The identity provider(s) ec2.amazonaws.com", trusted entity was missing, To correct the issue please add it the JSON file as shown below, then click on Update Trust relationship.
![](https://desk.zoho.com/DocsDisplay?zgId=28909986&mode=inline&blockId=fpkxx242d3bedf1544449b2c9e916111dd3e7)
6. After adding the service as a trusted entity the screen sound the below screenshot.
7. For the best results stop and terminate the CPM instance and launch a new AMI and the installation should not get the above error.