Automate cloud operations with Azure automation (2)

Source: Internet
Author: User

?

Azure Automation Authentication: User name and password

?

If you use PowerShell in Azure Automation to manage resources for your current subscription or manage resources for different subscriptions, then the question is, how is security guaranteed? Azure's automation, like other clients using or managing Azure, requires authentication for any azure that needs to be managed, with two basic authentication methods, one based on the user name password for the subscription and one based on the certificate, and this section describes the password based on the user name.

?

    1. It is not recommended to use the OrgID and password of the account currently managing production subscriptions directly in automation, it is recommended to create a user name for automation separately, first, login to the Azure management interface and open active Directory:

    1. Choose your current directory name, go to the main interface, you can see there are users, applications and so on, then we need to add a new user, select the bottom of the Add User:

?

?

    1. Enter information about the user, select a new user in your organization, enter a user name, such as Automationuser in the example, and choose Next:

    1. Enter the user's profile, alternate mail address, and so on, please do not choose to enable multi-factor authentication:

?

    1. Stand-alone creation, after the system will give you a temporary password, you need to use the new user login system, modify the temporary password to use:

    1. After the user is created, you must add the user to the co-administrator and assign the subscription you want to manage to use:

?

    1. Keep in mind that the Automation user name and password created in this section are used in subsequent creation of automation scripts.
    2. A little and a few drawbacks of automating script authentication with usernames and passwords:
      1. Advantages: Simple and convenient, intuitive
      2. Cons: Because Azure enforces passwords for 3 months, many users run automation scripts that way, password expiration is not updated in a timely manner and is not known, resulting in long maintenance interruptions

?

?

Automate cloud operations with Azure automation (2)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.