Skip to content

Latest commit

 

History

History
72 lines (50 loc) · 2.98 KB

README.md

File metadata and controls

72 lines (50 loc) · 2.98 KB

IAM code examples for the SDK for Rust

Overview

Shows how to use the AWS SDK for Rust to manage AWS Identity and Access Management (IAM) resources.

IAM is a web service for securely controlling access to AWS services. With IAM, you can centrally manage users, security credentials such as access keys, and permissions that control which AWS resources users and applications can access.

⚠️ Important

  • Running this code might result in charges to your AWS account.
  • Running the tests might result in charges to your AWS account.
  • We recommend that you grant your code least privilege. At most, grant only the minimum permissions required to perform the task. For more information, see Grant least privilege.
  • This code is not tested in every AWS Region. For more information, see AWS Regional Services.

Code examples

Single action

Scenario

Running the code

Run the scenario with the following command:

cargo run --bin iam_getting_started

Prerequisites

Tests

⚠️ Running the tests might result in charges to your AWS account.

Run the tests with the following command:

cargo test --test test-iam-service-lib -- --include-ignore

Additional resources

Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0