- [Instructor] As you begin working with private packages
you're going to need an extra layer of security
and two factor authentication is crucial for this.
Let me demonstrate how simple it is to set up.
One note to all.
If you lose the codes that you set up
with your two factor authentication
you're going to have problems.
So make sure that whatever the codes that they're giving you
or the application that you use
as Google authenticator, you make sure you have access
to your code because it's going to be a problem
retrieving anything or even your account
if you lose any of that.
So let's go to the actual account
in the profile settings and then scroll down
until you see two factor authentication.
So what you want to do is enable 2FA.
And then put on your password.
And then there's multiple modes.
So you have authorization, so example,
through the command line.
Authorization in publishing, and disable.
So what I want to do for my case is authorization.
So if you want to have 2FA for publishing as well,
you need to select this option.
So I'm only going to do for authorization
and I'm going to submit.
And then this is the very important part.
So what you can do is either grab an application
like Google Authentication and scan the bar code
or get all the codes from a third party.
So what I'm going to do is the two step verification
with my own Google authenticator.
So I'm going to scan the bar code so right now
you're not seeing what I'm doing.
But I just scanned this and then it's giving me a code
that I'm going to input in here.
So now you have 2FA successfully enabled.
And you have recovery codes just below.
You'll want to make sure that you get those codes
because if you lose access to the Google Authentication app
you're going to lose access to your account
if you don't have the recovery code.
So save the codes that are just below here.
And then confirm that you have saved your code
and then go back to your settings
and now 2FA has been enabled.
So with this you have more protection for your account
and you are making sure that if you want
to actually access your account
or somebody's trying to access your account
you are fully protected.