Hi All,
Can we use AWS-SDK like in Golang or Node.js to access openNebula ?
I tried it but I get authentication failure. My username and password are correct, I am using Golang so the code is :
{
sess, err := session.NewSession(&aws.Config{
Region: aws.String(“opennebula”),
Credentials: credentials.NewStaticCredentials(“userid”, “keysecret”, “token”),
})
ec2Svc := ec2.New(sess, &aws.Config{Endpoint: aws.String(“Endpoint here”)})result, err := ec2Svc.DescribeImages(nil)
if err != nil {
fmt.Println(“Error”, err)
} else {
fmt.Println(“Success”, result)
}
If I use econe tools then it work fine. Does anyone know what the problem could be?