title | description | services | documentationcenter | author | manager | editor | keywords | ms.assetid | ms.service | ms.workload | ms.tgt_pltfrm | ms.devlang | ms.topic | ms.date | ms.author |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Configure Authentication with Amazon Web Services | Microsoft Docs |
This article describes how to create and validate an AWS credential for runbooks in Azure Automation managing AWS resources. |
automation |
eslesar |
jwhit |
tysonn |
aws authentication, configure aws |
b6dde4bb-26ac-4876-9aa9-e586bed30d6b |
automation |
tbd |
na |
na |
get-started-article |
09/29/2017 |
magoedte |
Automating common tasks with resources in Amazon Web Services (AWS) can be accomplished with Automation runbooks in Azure. You can automate many tasks in AWS using Automation runbooks just like you can with resources in Azure. All that is required are two things:
- An AWS subscription and a set of credentials. Specifically your AWS Access Key and Secret Key. For more information, review the article Using AWS Credentials.
- An Azure subscription and Automation account. For more information on setting up an Azure Automation account, review Authentication planning.
To authenticate with AWS, you must specify a set of AWS credentials to authenticate your runbooks running from Azure Automation. If you already have an Automation account created and you want to use that to authenticate with AWS, you can follow the steps in the following section. If you want to dedicate an account for runbooks targeting AWS resources, you should first create a new Automation account (skip the option to create a service principal) and then follow the steps below.
For Azure Automation to communicate with AWS, you first need to retrieve your AWS credentials and store them as assets in Azure Automation. Perform the following steps documented in the AWS document Managing Access Keys for your AWS Account to create an Access Key and copy the Access Key ID and Secret Access Key (optionally download your key file to store it somewhere safe).
After you have created and copied your AWS security keys, you need to create a Credential asset with an Azure Automation account to securely store them and reference them with your runbooks. Follow the steps in the section To create a new credential in the Credential assets in Azure Automation article and enter the following information:
- In the Name box, enter AWScred or an appropriate value following your naming standards.
- In the User name box, type your Access ID and your Secret Access Key in the Password and Confirm password box.
- Review the solution article Automating deployment of a VM in Amazon Web Services to learn how to create runbooks to automate tasks in AWS.