Documentation
¶
Overview ¶
Package iam implements the AWS IAM query-protocol as a server.Handler. Point the real aws-sdk-go-v2 IAM client at a Server registered with this handler and User/Role/Policy/Group/AccessKey/InstanceProfile operations work against an in-memory iam driver.
IAM shares the AWS query wire shape with EC2, RDS, and Redshift (POST + form-encoded body, XML response). To keep dispatch unambiguous, this handler's Matches predicate parses the form body once and only claims requests whose Action is one of the known IAM operations. It MUST register before the EC2 catch-all so iam-specific actions aren't swallowed first.
Index ¶
Constants ¶
const Namespace = "https://iam.amazonaws.com/doc/2010-05-08/"
Namespace is the XML namespace for AWS IAM responses. Matches the real aws-sdk-go-v2 IAM client expectations (the SDK is namespace-agnostic on parse but copies this value back on round-trips).
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler serves IAM query-protocol requests.