AWS CVO creation fails with "Access key or secret key are null."
Applies to
- Cloud Volumes ONTAP (CVO)
- Amazon Web Services (AWS)
- Cloud Manager
Issue
When attempting to create a new CVO working environment in Cloud Manager, a failure message is displayed:
Failed - Show Failure Message- Unable to load credentials. Access key or secret key are null.
From Cloud Manager SERVER.LOG:
2022-07-07 17:45:31,740 UTC ERROR [Key Pairs By Region ] [xxxxxx] [xxxxxx ] [the_user] (simplicator-akka.actor.default-dispatcher-6592) [GenerateRoutes:272] Got a failure:
com.amazonaws.services.ec2.model.AmazonEC2Exception: AWS was not able to validate the provided access credentials (Service: AmazonEC2; Status Code: 401; Error Code: AuthFailure; Request ID: 940e5eed-7a05-4086-ad8a-5f71a6d4f196; Proxy: null)
2022-07-07 18:40:50,358 UTC ERROR [Fabric Pool Resources Cleanup ] [O9FxvFqQ] [ ] [System ] (simplicator-akka.actor.default-dispatcher-6854) [SimplicatorServerActor:284] ******************** Simplicator request to http://localhost:8080/AwsProtocol/de...ketsWithPrefix failed: Unable to load credentials. Access key or secret key are null.
com.amazonaws.SdkClientException: Unable to load credentials. Access key or secret key are null.