{"id":2181,"date":"2019-01-02T08:04:37","date_gmt":"2019-01-02T08:04:37","guid":{"rendered":"http:\/\/www.softaculous.com\/blog\/docs\/cli\/encrypt-api-pass-from-cli\/"},"modified":"2025-01-31T12:10:19","modified_gmt":"2025-01-31T12:10:19","slug":"encrypt-api-pass-from-cli","status":"publish","type":"docs","link":"https:\/\/www.softaculous.com\/blog\/docs\/cli\/encrypt-api-pass-from-cli\/","title":{"rendered":"Encrypt API Pass from CLI"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">Overview<\/h3>\n\n\n\n<p>Softaculous allows you to encrypt API Pass for the existing users from command line.&nbsp;<br><\/p>\n\n\n\n<p>Note&nbsp;: This has been added in Softaculous 4.7.9 Note&nbsp;: This option is available only in Softaculous Remote and Enterprise<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Use the following command to encrypt API Pass&nbsp;:<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-preformatted bash hljs\">\/usr\/local\/emps\/bin\/php \/usr\/local\/softaculous\/cli.php --encrypt_api_pass\n<\/pre>\n\n\n\n<ul class=\"wp-block-list\"><li>Thats it. All the existing users API Pass have been encrypted.<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Parameters<\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li>In the above command the first parameter should be&nbsp;<strong>&#8211;encrypt_api_pass<\/strong>&nbsp;as this parameter will initiate the password encrypt function.<\/li><\/ul>\n","protected":false},"featured_media":0,"parent":1686,"menu_order":9,"comment_status":"closed","ping_status":"closed","template":"","docs_category":[],"class_list":["post-2181","docs","type-docs","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/docs\/2181","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/comments?post=2181"}],"version-history":[{"count":3,"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/docs\/2181\/revisions"}],"predecessor-version":[{"id":5260,"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/docs\/2181\/revisions\/5260"}],"up":[{"embeddable":true,"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/docs\/1686"}],"wp:attachment":[{"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/media?parent=2181"}],"wp:term":[{"taxonomy":"docs_category","embeddable":true,"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/docs_category?post=2181"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}