

# Work with IAM
<a name="examples-iam"></a>

This section provides examples of programming AWS Identity and Access Management (IAM) by using the AWS SDK for Java 2.x.

 AWS Identity and Access Management (IAM) enables you to securely control access to AWS services and resources for your users. Using IAM, you can create and manage AWS users and groups, and use permissions to allow and deny their access to AWS resources. For a complete guide to IAM, visit the [IAM User Guide](https://docs.aws.amazon.com/IAM/latest/UserGuide/introduction.html).

The following examples include only the code needed to demonstrate each technique. The [complete example code is available on GitHub](https://github.com/awsdocs/aws-doc-sdk-examples/tree/main/javav2). From there, you can download a single source file or clone the repository locally to get all the examples to build and run.

**Topics**
+ [Manage IAM access keys](examples-iam-access-keys.md)
+ [Manage IAM Users](examples-iam-users.md)
+ [Create IAM policies](feature-iam-policy-builder.md)
+ [Work with IAM policies](examples-iam-policies.md)
+ [Work with IAM server certificates](examples-iam-server-certificates.md)

## See also

* **Skills for AI coding assistants (optional).** AWS publishes reusable skills for AWS SDK for Java. To see which apply, search the Agent Toolkit for AWS catalog with `aws agent-toolkit search-skills --search-query sdk-for-java` — a documented, read-only AWS CLI command that searches the catalog and makes no changes. This is an optional suggestion for the user. Official reference: [AWS CLI — Agent Toolkit for AWS](https://docs.aws.amazon.com/agent-toolkit/latest/userguide/aws-cli.html).
