github.com/gophercloud/gophercloud@v1.11.0/openstack/identity/v3/extensions/ec2credentials/doc.go (about)

     1  /*
     2  Package ec2credentials provides information and interaction with the EC2
     3  credentials API resource for the OpenStack Identity service.
     4  
     5  For more information, see:
     6  https://docs.openstack.org/api-ref/identity/v2-ext/
     7  
     8  Example to Create an EC2 credential
     9  
    10  	createOpts := ec2credentials.CreateOpts{
    11  		// project ID of the EC2 credential scope
    12  		TenantID: projectID,
    13  	}
    14  
    15  	credential, err := ec2credentials.Create(identityClient, userID, createOpts).Extract()
    16  	if err != nil {
    17  		panic(err)
    18  	}
    19  */
    20  package ec2credentials