php/example_code/iam/README.md
Shows how to use the AWS SDK for PHP to work with AWS Identity and Access Management (IAM).
<!--custom.overview.start--> <!--custom.overview.end-->IAM is a web service for securely controlling access to AWS services. With IAM, you can centrally manage permissions in your AWS account.
For prerequisites, see the README in the php folder.
Code examples that show you how to perform the essential operations within a service.
Code excerpts that show you how to call individual service functions.
Run the example with the following command:
php GettingStartedWithIAM.php
This example shows you how to create a user and assume a role.
⚠ Running tests might result in charges to your AWS account.
To find instructions for running these tests, see the README
in the php folder.
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0