What is the bug?
Throwing the following error while executing curl get command on es cluster.
rsreevarsha@rsreevarsha-a01 opensearch-cli % ./opensearch-cli curl get --path "_cluster/settings" --pretty --profile "default"
get Command failed.
Reason: NoCredentialProviders: no valid providers in chain. Deprecated.
For verbose messaging see aws.Config.CredentialsChainVerboseErrors
How can one reproduce the bug?
Steps to reproduce the behavior:
Go to opensearch-cli
Enter following curl command ./opensearch-cli curl get --path "_cluster/settings" --pretty --profile "default"
See error:- Reason: NoCredentialProviders: no valid providers in chain. Deprecated.
For verbose messaging see aws.Config.CredentialsChainVerboseErrors
What is the expected behavior?
The command should have returned the settings of cluster.
What is your host/environment?
OS: Mac OS
OpenSearch version[e.g. 1.0.0]
Do you have any additional context?
Following is the profile created and region set to us-east-1:-
What is the bug? Throwing the following error while executing curl get command on es cluster. rsreevarsha@rsreevarsha-a01 opensearch-cli % ./opensearch-cli curl get --path "_cluster/settings" --pretty --profile "default" get Command failed. Reason: NoCredentialProviders: no valid providers in chain. Deprecated. For verbose messaging see aws.Config.CredentialsChainVerboseErrors
How can one reproduce the bug? Steps to reproduce the behavior:
What is the expected behavior? The command should have returned the settings of cluster.
What is your host/environment?
Do you have any additional context? Following is the profile created and region set to us-east-1:-