Accessing Amazon Identity and Access Management (IAM) with the Amazon SDK for .NET - Amazon SDK for .NET
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Accessing Amazon Identity and Access Management (IAM) with the Amazon SDK for .NET

The Amazon SDK for .NET supports Amazon Identity and Access Management, which is a web service that enables Amazon customers to manage users and user permissions in Amazon.

An Amazon Identity and Access Management (IAM) user is an entity that you create in Amazon. The entity represents a person or application that interacts with Amazon. For more information about IAM users, see IAM Users and IAM and STS Limits in the IAM User Guide.

You grant permissions to a user by creating an IAM policy. The policy contains a policy document that lists the actions that a user can perform and the resources those actions can affect. For more information about IAM policies, see Policies and Permissions in the IAM User Guide.

Warning

To avoid security risks, don't use IAM users for authentication when developing purpose-built software or working with real data. Instead, use federation with an identity provider such as Amazon IAM Identity Center.

APIs

The Amazon SDK for .NET provides APIs for IAM clients. The APIs enable you to work with IAM features such as users, roles, and access keys.

This section contains a small number of examples that show you the patterns you can follow when working with these APIs. To view the full set of APIs, see the Amazon SDK for .NET API Reference (and scroll to "Amazon.IdentityManagement").

This section also contains an example that shows you how to attach an IAM role to Amazon EC2 instances to make managing credentials easier.

The IAM APIs are provided by the AWSSDK.IdentityManagement NuGet package.

Prerequisites

Before you begin, be sure you have set up your environment and project. Also review the information in SDK features.

Topics