File: doc.go

package info (click to toggle)
golang-github-gophercloud-gophercloud 0.12.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, bullseye-backports
  • size: 10,224 kB
  • sloc: sh: 125; makefile: 21
file content (21 lines) | stat: -rw-r--r-- 516 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
Package ec2credentials provides information and interaction with the EC2
credentials API resource for the OpenStack Identity service.

For more information, see:
https://docs.openstack.org/api-ref/identity/v2-ext/

Example to Create an EC2 credential

	createOpts := ec2credentials.CreateOpts{
		// project ID of the EC2 credential scope
		TenantID: projectID,
	}

	credential, err := ec2credentials.Create(identityClient, userID, createOpts).Extract()
	if err != nil {
		panic(err)
	}

*/
package ec2credentials