1
0
mirror of synced 2025-12-19 18:10:59 -05:00
Files
docs/content/authentication/keeping-your-account-and-data-secure/creating-a-strong-password.md
2023-06-23 10:45:10 -07:00

3.1 KiB

title, intro, redirect_from, versions, topics, shortTitle
title intro redirect_from versions topics shortTitle
Creating a strong password Secure your account on {% ifversion ghae %}{% data variables.product.product_name %}{% else %}{% data variables.location.product_location %}{% endif %} with a strong and unique password using a password manager.
/articles/what-is-a-strong-password
/articles/creating-a-strong-password
/github/authenticating-to-github/creating-a-strong-password
/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-strong-password
fpt ghes ghec
* * *
Identity
Access management
Create a strong password

You must choose or generate a password for your account on {% ifversion ghae %}{% data variables.product.product_name %}{% else %}{% data variables.location.product_location %}{% endif %} that is at least:

  • {% ifversion ghes %}Seven{% else %}Eight{% endif %} characters long, if it includes a number and a lowercase letter, or
  • 15 characters long with any combination of characters

To keep your account secure, we recommend you follow these best practices:

  • Use a password manager, such as LastPass or 1Password, to generate a password of at least 15 characters.

  • Generate a unique password for {% data variables.product.product_name %}. If you use your {% data variables.product.product_name %} password elsewhere and that service is compromised, then attackers or other malicious actors could use that information to access your account on {% ifversion ghae %}{% data variables.product.product_name %}{% else %}{% data variables.location.product_location %}{% endif %}.

  • Configure two-factor authentication for your personal account. For more information, see "AUTOTITLE."

  • Never share your password, even with a potential collaborator. Each person should use their own personal account on {% data variables.product.product_name %}. For more information on ways to collaborate, see: "AUTOTITLE," "AUTOTITLE," or "AUTOTITLE."

{% data reusables.repositories.blocked-passwords %}

You can only use your password to log on to {% data variables.product.product_name %} using your browser. When you authenticate to {% data variables.product.product_name %} with other means, such as the command line or API, you should use other credentials. For more information, see "AUTOTITLE."

{% ifversion fpt or ghec %}{% data reusables.user-settings.password-authentication-deprecation %}{% endif %}

Further reading