63 lines
3.7 KiB
Markdown
63 lines
3.7 KiB
Markdown
---
|
|
title: Updating your GitHub access credentials
|
|
intro: '{% data variables.product.product_name %} credentials include{% if currentVersion != "github-ae@latest" %} not only your password, but also{% endif %} the access tokens, SSH keys, and application API tokens you use to communicate with {% data variables.product.product_name %}. Should you have the need, you can reset all of these access credentials yourself.'
|
|
redirect_from:
|
|
- /articles/rolling-your-credentials/
|
|
- /articles/how-can-i-reset-my-password/
|
|
- /articles/updating-your-github-access-credentials
|
|
versions:
|
|
free-pro-team: '*'
|
|
enterprise-server: '*'
|
|
github-ae: '*'
|
|
---
|
|
|
|
{% if currentVersion != "github-ae@latest" %}
|
|
### Requesting a new password
|
|
|
|
1. To request a new password, visit {% if currentVersion == "free-pro-team@latest" %}https://{% data variables.product.product_url %}/password_reset{% else %}`https://{% data variables.product.product_url %}/password_reset`{% endif %}.
|
|
2. Enter the email address associated with your personal {% data variables.product.product_name %} account, then click **Send password reset email.** The email will be sent to the backup email address if you have one configured.
|
|

|
|
3. We'll email you a link that will allow you to reset your password. You must click on this link within 3 hours of receiving the email. If you didn't receive an email from us, make sure to check your spam folder.
|
|
4. After clicking on the link in your email, you'll be asked to enter a new password.
|
|

|
|
|
|
{% tip %}
|
|
|
|
To avoid losing your password in the future, we suggest using a secure password manager, like [LastPass](https://lastpass.com/), [1Password](https://1password.com/), or [Keeper](https://keepersecurity.com/).
|
|
|
|
{% endtip %}
|
|
|
|
### Changing an existing password
|
|
|
|
{% data reusables.repositories.blocked-passwords %}
|
|
|
|
1. {% data variables.product.signin_link %} to {% data variables.product.product_name %}.
|
|
{% data reusables.user_settings.access_settings %}
|
|
{% data reusables.user_settings.security %}
|
|
4. Under "Change password", type your old password, a strong new password, and confirm your new password. For help creating a strong password, see "[Creating a strong password](/articles/creating-a-strong-password)"
|
|
5. Click **Update password**.
|
|
|
|
{% tip %}
|
|
|
|
For greater security, enable two-factor authentication in addition to changing your password. See [About two-factor authentication](/articles/about-two-factor-authentication) for more details.
|
|
|
|
{% endtip %}
|
|
{% endif %}
|
|
### Updating your access tokens
|
|
|
|
See "[Reviewing your authorized integrations](/articles/reviewing-your-authorized-integrations)" for instructions on reviewing and deleting access tokens. To generate new access tokens, see "[Creating a personal access token](/github/authenticating-to-github/creating-a-personal-access-token)."
|
|
|
|
### Updating your SSH keys
|
|
|
|
See "[Reviewing your SSH keys](/articles/reviewing-your-ssh-keys)" for instructions on reviewing and deleting SSH keys. To generate and add new SSH keys, see "[Generating an SSH key](/articles/generating-an-ssh-key)."
|
|
|
|
### Resetting API tokens
|
|
|
|
If you have any applications registered with {% data variables.product.product_name %}, you'll want to reset their OAuth tokens. For more information, see the "[Reset an authorization](/rest/reference/apps#reset-an-authorization)" endpoint.
|
|
|
|
{% if currentVersion != "github-ae@latest" %}
|
|
### Preventing unauthorized access
|
|
|
|
For more tips on securing your account and preventing unauthorized access, see "[Preventing unauthorized access](/articles/preventing-unauthorized-access)."
|
|
{% endif %}
|