Steps:

ARTIFACTORY: Enabling MFA using Access Yaml Configuration

AuthorFullName__c
Suhas CS
articleNumber
000005591
ft:sourceType
Salesforce
FirstPublishedDate
2023-03-01T17:03:14Z
lastModifiedDate
2023-03-01
VersionNumber
1
1. Create a file access.config.patch.yml under $JFROG_HOME/artifactory/var/etc/access directory.
2. Take a backup of the access.config.latest.yml file.
   cp access.config.latest.yml access.config.latest.yml_bkp

3. Add the below configuration to the access.config.patch.yml file.
security:
    multi-factor-authentication:
        authenticators:
         - "google"

4. Provide the ownership of the Artifactory to the access.config.patch.yml file using the below command.
 chown artifactory:artifactory access.config.patch.yml

5. Restart Artifactory for the new configuration to take effect.

The MFA enablement can be confirmed on Artifactory UI by navigating to
Administration -> User Management -> Settings -> Multi-Factor Authentication Methods
as mentioned in the below image

User-added image

For the authentication to be performed, by navigating to the login page please follow the below steps.