{"id":18663,"date":"2024-10-10T02:59:23","date_gmt":"2024-10-10T02:59:23","guid":{"rendered":"https:\/\/www.directimpactsolutions.com\/?page_id=18663"},"modified":"2024-10-10T19:25:40","modified_gmt":"2024-10-10T19:25:40","slug":"boundary-vault-configuration","status":"publish","type":"page","link":"https:\/\/www.directimpactsolutions.com\/en\/boundary-vault-configuration\/","title":{"rendered":"Boundary &amp; Vault Configuration"},"content":{"rendered":"<div class=\"wp-block-uagb-container uagb-block-908523f1 alignfull uagb-is-root-container\"><div class=\"uagb-container__shape uagb-container__shape-bottom uagb-container__invert\" data-negative=\"false\"><svg xmlns=\"https:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 1000 100\" preserveAspectRatio=\"none\"><path class=\"uagb-container__shape-fill\" d=\"M500,98.9L0,6.1V0h1000v6.1L500,98.9z\"><\/path><\/svg><\/div><div class=\"uagb-container-inner-blocks-wrap\"><div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n<h2 class=\"wp-block-heading has-ast-global-color-1-color has-text-color has-link-color wp-elements-7e043f71b9b79e0d4ab2e7c94f0e3cc0\">Boundary and Vault Configuration<\/h2>\n\n<p class=\"has-ast-global-color-1-color has-text-color has-link-color wp-elements-668d701342ef1bcf314eafaa0097a224\">Direct Impact Solutions | Boundary &amp; Vault Configuration<\/p>\n\n<div style=\"height:40px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div><\/div><\/div><div style=\"height:80px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div><h2 class=\"wp-block-heading\">Configure Microsoft Entra ID with Boundary<\/h2><p>1. Log on to <a href=\"https:\/\/entra.microsoft.com\/\">Microsoft Entra<\/a> with an account that has administrator access.<\/p><p>2. Go to the Applications\/App registrations section and click on + New registration<\/p><ol class=\"wp-block-list\" start=\"1\"><li><\/li><\/ol><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"266\" height=\"528\" src=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/2e4c5cc4-5773-43c9-960e-da25a1979ce4.png\" alt=\"\" class=\"wp-image-18664\" srcset=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/2e4c5cc4-5773-43c9-960e-da25a1979ce4.png 266w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/2e4c5cc4-5773-43c9-960e-da25a1979ce4-151x300.png 151w\" sizes=\"auto, (max-width: 266px) 100vw, 266px\" \/><\/figure><p><\/p><p>3. Enter a name for your application and add a web url linked to the domain name of your Boundary server, followed by v1\/auth-methods\/oidc:authenticate:callback<\/p><figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"935\" height=\"740\" src=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/93a1aad5-c015-491c-a56d-6becf36b6ff7.png\" alt=\"\" class=\"wp-image-18667\" style=\"width:800px\" srcset=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/93a1aad5-c015-491c-a56d-6becf36b6ff7.png 935w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/93a1aad5-c015-491c-a56d-6becf36b6ff7-300x237.png 300w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/93a1aad5-c015-491c-a56d-6becf36b6ff7-768x608.png 768w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/93a1aad5-c015-491c-a56d-6becf36b6ff7-600x475.png 600w\" sizes=\"auto, (max-width: 935px) 100vw, 935px\" \/><\/figure><p><\/p><p>4. Then go to the Certificates &amp; secrets section and create a new secret<\/p><figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1291\" height=\"688\" src=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/1b1bf1fc-519a-443a-8b73-f5a0468f9899.png\" alt=\"\" class=\"wp-image-18670\" style=\"width:800px\" srcset=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/1b1bf1fc-519a-443a-8b73-f5a0468f9899.png 1291w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/1b1bf1fc-519a-443a-8b73-f5a0468f9899-300x160.png 300w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/1b1bf1fc-519a-443a-8b73-f5a0468f9899-1024x546.png 1024w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/1b1bf1fc-519a-443a-8b73-f5a0468f9899-768x409.png 768w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/1b1bf1fc-519a-443a-8b73-f5a0468f9899-600x320.png 600w\" sizes=\"auto, (max-width: 1291px) 100vw, 1291px\" \/><\/figure><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"584\" height=\"962\" src=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/d7b15c6a-1134-4120-be8f-4f52400853ac.png\" alt=\"\" class=\"wp-image-18673\" style=\"object-fit:cover\" srcset=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/d7b15c6a-1134-4120-be8f-4f52400853ac.png 584w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/d7b15c6a-1134-4120-be8f-4f52400853ac-182x300.png 182w\" sizes=\"auto, (max-width: 584px) 100vw, 584px\" \/><\/figure><figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1042\" height=\"303\" src=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/27458248-7704-4d5e-bd76-fdc92b23f076.png\" alt=\"\" class=\"wp-image-18676\" style=\"width:800px\" srcset=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/27458248-7704-4d5e-bd76-fdc92b23f076.png 1042w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/27458248-7704-4d5e-bd76-fdc92b23f076-300x87.png 300w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/27458248-7704-4d5e-bd76-fdc92b23f076-1024x298.png 1024w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/27458248-7704-4d5e-bd76-fdc92b23f076-768x223.png 768w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/27458248-7704-4d5e-bd76-fdc92b23f076-600x174.png 600w\" sizes=\"auto, (max-width: 1042px) 100vw, 1042px\" \/><\/figure><p><\/p><p>5. Take note of the secret value displayed, as it will automatically disappear if you move to another section.<\/p><p>6. Now log on to your Boundary server using the admin account and go to the &#8220;Auth Methods&#8221; section.<\/p><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"252\" height=\"380\" src=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/c3593c08-6839-40ae-8073-711c0dbe1e17.png\" alt=\"\" class=\"wp-image-18679\" srcset=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/c3593c08-6839-40ae-8073-711c0dbe1e17.png 252w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/c3593c08-6839-40ae-8073-711c0dbe1e17-199x300.png 199w\" sizes=\"auto, (max-width: 252px) 100vw, 252px\" \/><\/figure><p><\/p><p>7. Click on New and select OIDC.<\/p><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"223\" height=\"177\" src=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/d193e2b3-f7ed-4043-a862-2b70c0fb2801.png\" alt=\"\" class=\"wp-image-18682\"\/><\/figure><p><\/p><p>8. Enter a name for the connection. Then, in the Issuer section, enter <a href=\"https:\/\/sts.windows.net\/d888ca21-fdb6-4871-8556-b2c6650bba4f\/\">https:\/\/sts.windows.net\/<\/a> followed by your Directory (tenant) ID, which you can find in the Overview section of your application. The client ID is the number displayed in the Application (client) ID section, and the client secret is what you generated earlier. In the Signing Algorithms section, select RS256, click on Add and add your Boundary server url in the API URL Prefix section.<\/p><figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1720\" height=\"925\" src=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/d804f1b6-5051-482b-b807-895f3493039a.png\" alt=\"\" class=\"wp-image-18685\" style=\"width:800px\" srcset=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/d804f1b6-5051-482b-b807-895f3493039a.png 1720w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/d804f1b6-5051-482b-b807-895f3493039a-300x161.png 300w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/d804f1b6-5051-482b-b807-895f3493039a-1024x551.png 1024w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/d804f1b6-5051-482b-b807-895f3493039a-768x413.png 768w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/d804f1b6-5051-482b-b807-895f3493039a-1536x826.png 1536w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/d804f1b6-5051-482b-b807-895f3493039a-600x323.png 600w\" sizes=\"auto, (max-width: 1720px) 100vw, 1720px\" \/><\/figure><figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1180\" height=\"931\" src=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/f94fc0d3-42a4-4c4d-9221-edc5665d9da8.png\" alt=\"\" class=\"wp-image-18688\" style=\"width:800px\" srcset=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/f94fc0d3-42a4-4c4d-9221-edc5665d9da8.png 1180w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/f94fc0d3-42a4-4c4d-9221-edc5665d9da8-300x237.png 300w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/f94fc0d3-42a4-4c4d-9221-edc5665d9da8-1024x808.png 1024w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/f94fc0d3-42a4-4c4d-9221-edc5665d9da8-768x606.png 768w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/f94fc0d3-42a4-4c4d-9221-edc5665d9da8-600x473.png 600w\" sizes=\"auto, (max-width: 1180px) 100vw, 1180px\" \/><\/figure><figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1194\" height=\"997\" src=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/e24c9b18-62df-4de6-8232-1450c42ac8f1.png\" alt=\"\" class=\"wp-image-18691\" style=\"width:800px\" srcset=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/e24c9b18-62df-4de6-8232-1450c42ac8f1.png 1194w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/e24c9b18-62df-4de6-8232-1450c42ac8f1-300x251.png 300w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/e24c9b18-62df-4de6-8232-1450c42ac8f1-1024x855.png 1024w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/e24c9b18-62df-4de6-8232-1450c42ac8f1-768x641.png 768w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/e24c9b18-62df-4de6-8232-1450c42ac8f1-600x501.png 600w\" sizes=\"auto, (max-width: 1194px) 100vw, 1194px\" \/><\/figure><p><\/p><p>9. Once saved, you can validate that the address displayed in the Callback URL section is identical to the one you put in the Authentication section of your application.<\/p><figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1171\" height=\"138\" src=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/65c57ed6-4cd2-4bd0-b291-1a4b6a51e105.png\" alt=\"\" class=\"wp-image-18694\" style=\"width:800px\" srcset=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/65c57ed6-4cd2-4bd0-b291-1a4b6a51e105.png 1171w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/65c57ed6-4cd2-4bd0-b291-1a4b6a51e105-300x35.png 300w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/65c57ed6-4cd2-4bd0-b291-1a4b6a51e105-1024x121.png 1024w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/65c57ed6-4cd2-4bd0-b291-1a4b6a51e105-768x91.png 768w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/65c57ed6-4cd2-4bd0-b291-1a4b6a51e105-600x71.png 600w\" sizes=\"auto, (max-width: 1171px) 100vw, 1171px\" \/><\/figure><figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1340\" height=\"914\" src=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/93218286-ad3f-45df-b099-01f1c40b9e5d.png\" alt=\"\" class=\"wp-image-18697\" style=\"width:800px\" srcset=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/93218286-ad3f-45df-b099-01f1c40b9e5d.png 1340w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/93218286-ad3f-45df-b099-01f1c40b9e5d-300x205.png 300w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/93218286-ad3f-45df-b099-01f1c40b9e5d-1024x698.png 1024w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/93218286-ad3f-45df-b099-01f1c40b9e5d-768x524.png 768w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/93218286-ad3f-45df-b099-01f1c40b9e5d-600x409.png 600w\" sizes=\"auto, (max-width: 1340px) 100vw, 1340px\" \/><\/figure><p><\/p><p>10. All that remains now is to change the status in the top right-hand corner to Public. You can also go to the Manage section and set this type of connection as the default by choosing Make Primary and confirming.<\/p><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"358\" height=\"205\" src=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/04bee781-a9f0-4350-b621-1a00f8d2b3f4.png\" alt=\"\" class=\"wp-image-18700\" srcset=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/04bee781-a9f0-4350-b621-1a00f8d2b3f4.png 358w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/04bee781-a9f0-4350-b621-1a00f8d2b3f4-300x172.png 300w\" sizes=\"auto, (max-width: 358px) 100vw, 358px\" \/><\/figure><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"260\" height=\"224\" src=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/609ef916-1b30-4601-af18-182cfe63bffd.png\" alt=\"\" class=\"wp-image-18703\"\/><\/figure><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"652\" height=\"240\" src=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/f18691c4-b7b9-4be8-8fdc-300a057419bc.png\" alt=\"\" class=\"wp-image-18706\" srcset=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/f18691c4-b7b9-4be8-8fdc-300a057419bc.png 652w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/f18691c4-b7b9-4be8-8fdc-300a057419bc-300x110.png 300w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/f18691c4-b7b9-4be8-8fdc-300a057419bc-600x221.png 600w\" sizes=\"auto, (max-width: 652px) 100vw, 652px\" \/><\/figure><p><\/p><p>11. Once this has been done, the Microsoft Entra ID section should appear and be selected by default when authenticating to your Boundary server.<\/p><figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"679\" height=\"564\" src=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/dcad37bb-1371-4859-ad6f-3e3ef924d154.png\" alt=\"\" class=\"wp-image-18709\" style=\"width:700px\" srcset=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/dcad37bb-1371-4859-ad6f-3e3ef924d154.png 679w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/dcad37bb-1371-4859-ad6f-3e3ef924d154-300x249.png 300w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/dcad37bb-1371-4859-ad6f-3e3ef924d154-600x498.png 600w\" sizes=\"auto, (max-width: 679px) 100vw, 679px\" \/><\/figure><p><\/p><p>12. If the configuration has been carried out correctly, a new window should open and you should be able to authenticate with your Microsoft account. The first time you connect, you&#8217;ll need to authorize and approve the connection. If you&#8217;re an administrator on the Microsoft side, you&#8217;ll have the option of granting consent for all users in the organization.<\/p><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"579\" height=\"391\" src=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/c38fbb51-5159-4e94-b781-3a84aa545446.png\" alt=\"\" class=\"wp-image-18712\" srcset=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/c38fbb51-5159-4e94-b781-3a84aa545446.png 579w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/c38fbb51-5159-4e94-b781-3a84aa545446-300x203.png 300w\" sizes=\"auto, (max-width: 579px) 100vw, 579px\" \/><\/figure><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"496\" height=\"598\" src=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/c821eb0c-7465-4730-a532-cdb8b51eb49b.png\" alt=\"\" class=\"wp-image-18715\" srcset=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/c821eb0c-7465-4730-a532-cdb8b51eb49b.png 496w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/c821eb0c-7465-4730-a532-cdb8b51eb49b-249x300.png 249w\" sizes=\"auto, (max-width: 496px) 100vw, 496px\" \/><\/figure><p><\/p><p>13. Once authenticated, you should see the project, which is created by default in Boundary but with limited access.<\/p><figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1884\" height=\"549\" src=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/a79d4046-99f0-45d3-8c70-6099b384e09e.png\" alt=\"\" class=\"wp-image-18718\" style=\"width:800px\" srcset=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/a79d4046-99f0-45d3-8c70-6099b384e09e.png 1884w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/a79d4046-99f0-45d3-8c70-6099b384e09e-300x87.png 300w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/a79d4046-99f0-45d3-8c70-6099b384e09e-1024x298.png 1024w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/a79d4046-99f0-45d3-8c70-6099b384e09e-768x224.png 768w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/a79d4046-99f0-45d3-8c70-6099b384e09e-1536x448.png 1536w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/a79d4046-99f0-45d3-8c70-6099b384e09e-600x175.png 600w\" sizes=\"auto, (max-width: 1884px) 100vw, 1884px\" \/><\/figure><p><\/p><p>14. Microsoft Entra ID configuration is complete.<\/p><h2 class=\"wp-block-heading\">Configuring Vault for a Boundary Connection<\/h2><p>To enable Boundary to connect to Vault to retrieve certain accesses, we need to create an access rule.<\/p><p>1. Log onto your Vault server&#8217;s web interface and authenticate with the root token.<\/p><p>2. Go to the Policies section and click on the Create ACL policy button.<\/p><p>3. Name the boundary-controller and enter the following information in the Policy section:<\/p><pre class=\"wp-block-code\"><code># Copyright (c) HashiCorp, Inc.\n# SPDX-License-Identifier: MPL-2.0\n \npath \"auth\/token\/lookup-self\" {\n  capabilities = &#91;\"read\"]\n}\npath \"auth\/token\/renew-self\" {\n  capabilities = &#91;\"update\"]\n}\npath \"auth\/token\/revoke-self\" {\n  capabilities = &#91;\"update\"]\n}\npath \"sys\/leases\/renew\" {\n  capabilities = &#91;\"update\"]\n}\npath \"sys\/leases\/revoke\" {\n  capabilities = &#91;\"update\"]\n}\npath \"sys\/capabilities-self\" {\n  capabilities = &#91;\"update\"]\n}\npath \"ldap\/*\" {\n  capabilities = &#91;\"list\", \"read\"]\n}\npath \"kv\/*\" {\n  capabilities = &#91; \"list\" ]\n}\npath \"kv\/*\" {\n  capabilities = &#91;\"create\", \"read\", \"update\"]\n}\n# To allow the extension of TTL\npath \"sys\/leases\/renew\" {\n  capabilities = &#91; \"update\" ]\n}\n# To list SSH secrets paths\npath \"ssh\/*\" {\n  capabilities = &#91; \"list\" ]\n}\n# To use the configured SSH secrets engine opt_key_role role\npath \"ssh\/creds\/otp_key_role\" {\n  capabilities = &#91;\"create\", \"read\", \"update\"]\n}<\/code><\/pre><ol class=\"wp-block-list\"><li><\/li><\/ol><p>4. Press the Create Policy button to complete the configuration.<\/p><h3 class=\"wp-block-heading\" id=\"Adding-Vault-to-Boundary\">Adding Vault to Boundary<\/h3><p>Here are the steps required to enable Boundary to connect to Vault:<\/p><p>1. Log onto your Boundary server&#8217;s web interface with the admin account or an account with administrative rights.<\/p><p>2. Once connected, delete the organization that was automatically created during initial configuration.<\/p><p>3. Select the Generated org scope organization, go to the Org Settings section, select Manage in the top right-hand corner and click Delete Org.<\/p><figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"2131\" height=\"645\" src=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/78dcb583-104b-44be-8a7e-064838c47f6c.png\" alt=\"\" class=\"wp-image-18721\" style=\"width:800px\" srcset=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/78dcb583-104b-44be-8a7e-064838c47f6c.png 2131w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/78dcb583-104b-44be-8a7e-064838c47f6c-300x91.png 300w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/78dcb583-104b-44be-8a7e-064838c47f6c-1024x310.png 1024w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/78dcb583-104b-44be-8a7e-064838c47f6c-768x232.png 768w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/78dcb583-104b-44be-8a7e-064838c47f6c-1536x465.png 1536w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/78dcb583-104b-44be-8a7e-064838c47f6c-2048x620.png 2048w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/78dcb583-104b-44be-8a7e-064838c47f6c-600x182.png 600w\" sizes=\"auto, (max-width: 2131px) 100vw, 2131px\" \/><\/figure><p><\/p><p>4. Confirm deletion.<\/p><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"652\" height=\"202\" src=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/01d79d97-e509-4591-883e-c82ef1e595c5.png\" alt=\"\" class=\"wp-image-18724\" srcset=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/01d79d97-e509-4591-883e-c82ef1e595c5.png 652w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/01d79d97-e509-4591-883e-c82ef1e595c5-300x93.png 300w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/01d79d97-e509-4591-883e-c82ef1e595c5-600x186.png 600w\" sizes=\"auto, (max-width: 652px) 100vw, 652px\" \/><\/figure><p><\/p><p>5. We&#8217;re now going to create a new organization by clicking on the + New button.<\/p><figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1351\" height=\"428\" src=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/68716347-e7ec-4343-bcbe-ac5c737f10f7.png\" alt=\"\" class=\"wp-image-18727\" style=\"width:800px\" srcset=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/68716347-e7ec-4343-bcbe-ac5c737f10f7.png 1351w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/68716347-e7ec-4343-bcbe-ac5c737f10f7-300x95.png 300w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/68716347-e7ec-4343-bcbe-ac5c737f10f7-1024x324.png 1024w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/68716347-e7ec-4343-bcbe-ac5c737f10f7-768x243.png 768w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/68716347-e7ec-4343-bcbe-ac5c737f10f7-600x190.png 600w\" sizes=\"auto, (max-width: 1351px) 100vw, 1351px\" \/><\/figure><p><\/p><p>6. Enter a name for your organization, a description if you wish, and press the Save button.<\/p><figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1399\" height=\"551\" src=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/ea907dc6-2b27-45ca-9b93-12163acca4e7.png\" alt=\"\" class=\"wp-image-18730\" style=\"width:800px\" srcset=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/ea907dc6-2b27-45ca-9b93-12163acca4e7.png 1399w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/ea907dc6-2b27-45ca-9b93-12163acca4e7-300x118.png 300w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/ea907dc6-2b27-45ca-9b93-12163acca4e7-1024x403.png 1024w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/ea907dc6-2b27-45ca-9b93-12163acca4e7-768x302.png 768w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/ea907dc6-2b27-45ca-9b93-12163acca4e7-600x236.png 600w\" sizes=\"auto, (max-width: 1399px) 100vw, 1399px\" \/><\/figure><p><\/p><p>7. Then go to the Projects section of your new organization and press the + New button.<\/p><figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1449\" height=\"485\" src=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/c2e9689e-64ae-4539-9ac3-841b41dcd873.png\" alt=\"\" class=\"wp-image-18733\" style=\"width:800px\" srcset=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/c2e9689e-64ae-4539-9ac3-841b41dcd873.png 1449w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/c2e9689e-64ae-4539-9ac3-841b41dcd873-300x100.png 300w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/c2e9689e-64ae-4539-9ac3-841b41dcd873-1024x343.png 1024w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/c2e9689e-64ae-4539-9ac3-841b41dcd873-768x257.png 768w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/c2e9689e-64ae-4539-9ac3-841b41dcd873-600x201.png 600w\" sizes=\"auto, (max-width: 1449px) 100vw, 1449px\" \/><\/figure><p><\/p><p>8. Enter a name for this project and a description if you wish, and click on Save.<\/p><figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1270\" height=\"564\" src=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/52d5a934-fe8f-4bd7-b220-491175d234f4.png\" alt=\"\" class=\"wp-image-18736\" style=\"width:800px\" srcset=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/52d5a934-fe8f-4bd7-b220-491175d234f4.png 1270w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/52d5a934-fe8f-4bd7-b220-491175d234f4-300x133.png 300w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/52d5a934-fe8f-4bd7-b220-491175d234f4-1024x455.png 1024w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/52d5a934-fe8f-4bd7-b220-491175d234f4-768x341.png 768w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/52d5a934-fe8f-4bd7-b220-491175d234f4-600x266.png 600w\" sizes=\"auto, (max-width: 1270px) 100vw, 1270px\" \/><\/figure><p><\/p><p>9. To add a Vault server, go to the Credential Stores section, click on New and select Vault.<\/p><figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1588\" height=\"1253\" src=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/973a7061-05f2-4e64-a0dc-13aced014c67.png\" alt=\"\" class=\"wp-image-18739\" style=\"width:800px\" srcset=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/973a7061-05f2-4e64-a0dc-13aced014c67.png 1588w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/973a7061-05f2-4e64-a0dc-13aced014c67-300x237.png 300w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/973a7061-05f2-4e64-a0dc-13aced014c67-1024x808.png 1024w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/973a7061-05f2-4e64-a0dc-13aced014c67-768x606.png 768w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/973a7061-05f2-4e64-a0dc-13aced014c67-1536x1212.png 1536w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/973a7061-05f2-4e64-a0dc-13aced014c67-600x473.png 600w\" sizes=\"auto, (max-width: 1588px) 100vw, 1588px\" \/><\/figure><p><\/p><p>10. To generate a token, you need to connect to your Vault instance\/server via SSH.<\/p><p>11. Once you&#8217;ve connected to your instance\/server, you first need to store two variables: the url of your Vault server and the root token.<\/p><pre class=\"wp-block-code\"><code>export VAULT_ADRR='https:\/\/UrlOfYourVaultServer:8200'\nexport VAULT_TOKEN='RootTokenFromJSONFile'<\/code><\/pre><ol class=\"wp-block-list\" start=\"1\"><li><\/li><\/ol><ol class=\"wp-block-list\" start=\"1\"><li><\/li><\/ol><p>12. Once this is done, enter the following command to generate a token which will be valid for 20 minutes, but which the Boundary server will be able to renew automatically once the connection is established. If you have installed a valid SSL certificate on your Vault server, you can remove the last section of the command, which ignores the validity of the certificate.<\/p><pre class=\"wp-block-code\"><code>vault token create -no-default-policy=true -policy=\"boundary-controller\" -orphan=true -period=20m -renewable=true -tls-skip-verify<\/code><\/pre><p>13. Copy the token beginning with hvs that appears and enter it in the Token section of the Boundary page where you want to add Vault. Also enter the address of your Vault server in the Address section before saving. You can also enter a name and description if you wish, but this is not required.<\/p><figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1645\" height=\"1254\" src=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/219a531a-9fab-4af9-9058-0c2c7a8ebd36.png\" alt=\"\" class=\"wp-image-18742\" style=\"width:800px\" srcset=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/219a531a-9fab-4af9-9058-0c2c7a8ebd36.png 1645w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/219a531a-9fab-4af9-9058-0c2c7a8ebd36-300x229.png 300w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/219a531a-9fab-4af9-9058-0c2c7a8ebd36-1024x781.png 1024w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/219a531a-9fab-4af9-9058-0c2c7a8ebd36-768x585.png 768w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/219a531a-9fab-4af9-9058-0c2c7a8ebd36-1536x1171.png 1536w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/219a531a-9fab-4af9-9058-0c2c7a8ebd36-600x457.png 600w\" sizes=\"auto, (max-width: 1645px) 100vw, 1645px\" \/><\/figure><p><\/p><p>14. If the connection works, you should receive a message saying the connection was successful, and then in the Credential Stores section you should see a Vault entry.<\/p><figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1656\" height=\"413\" src=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/a5c795e6-7a90-46db-a595-438704f1136b.png\" alt=\"\" class=\"wp-image-18745\" style=\"width:800px\" srcset=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/a5c795e6-7a90-46db-a595-438704f1136b.png 1656w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/a5c795e6-7a90-46db-a595-438704f1136b-300x75.png 300w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/a5c795e6-7a90-46db-a595-438704f1136b-1024x255.png 1024w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/a5c795e6-7a90-46db-a595-438704f1136b-768x192.png 768w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/a5c795e6-7a90-46db-a595-438704f1136b-1536x383.png 1536w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/a5c795e6-7a90-46db-a595-438704f1136b-600x150.png 600w\" sizes=\"auto, (max-width: 1656px) 100vw, 1656px\" \/><\/figure><p><\/p><p>15. It&#8217;s important to know that you need to reconnect to Vault for every project you create. It&#8217;s also important to know that when Vault is restarted, the connection to Boundary will be broken. You&#8217;ll need to generate a new token and modify the one saved on the Boundary server side in each of the projects to which you&#8217;ve connected.<\/p><p>16. The first connection step between Boundary and Vault is now complete.<\/p><h2 class=\"wp-block-heading\">Vault OTP Configuration<\/h2><p>We&#8217;re now going to configure Vault and your Ubuntu instance to allow the use of a one-time password for SSH connection.<\/p><p>1. Connect to your Vault server&#8217;s web interface and authenticate with the root token.<\/p><p>2. Go to the Secret Engines section and click on Enable new engine +<\/p><figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1765\" height=\"477\" src=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/30b0da74-330c-4198-8074-41daff879860.png\" alt=\"\" class=\"wp-image-18748\" style=\"width:800px\" srcset=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/30b0da74-330c-4198-8074-41daff879860.png 1765w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/30b0da74-330c-4198-8074-41daff879860-300x81.png 300w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/30b0da74-330c-4198-8074-41daff879860-1024x277.png 1024w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/30b0da74-330c-4198-8074-41daff879860-768x208.png 768w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/30b0da74-330c-4198-8074-41daff879860-1536x415.png 1536w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/30b0da74-330c-4198-8074-41daff879860-600x162.png 600w\" sizes=\"auto, (max-width: 1765px) 100vw, 1765px\" \/><\/figure><p><\/p><p>3. Select SSH and click on Enable engine.<\/p><figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1162\" height=\"828\" src=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/ed421f7e-9e4a-49c6-b471-1a9bb325f8a2.png\" alt=\"\" class=\"wp-image-18751\" style=\"width:800px\" srcset=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/ed421f7e-9e4a-49c6-b471-1a9bb325f8a2.png 1162w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/ed421f7e-9e4a-49c6-b471-1a9bb325f8a2-300x214.png 300w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/ed421f7e-9e4a-49c6-b471-1a9bb325f8a2-1024x730.png 1024w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/ed421f7e-9e4a-49c6-b471-1a9bb325f8a2-768x547.png 768w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/ed421f7e-9e4a-49c6-b471-1a9bb325f8a2-600x428.png 600w\" sizes=\"auto, (max-width: 1162px) 100vw, 1162px\" \/><\/figure><figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1180\" height=\"317\" src=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/1056a4f7-8d7d-46fd-82a1-ea262cceab7b.png\" alt=\"\" class=\"wp-image-18754\" style=\"width:800px\" srcset=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/1056a4f7-8d7d-46fd-82a1-ea262cceab7b.png 1180w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/1056a4f7-8d7d-46fd-82a1-ea262cceab7b-300x81.png 300w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/1056a4f7-8d7d-46fd-82a1-ea262cceab7b-1024x275.png 1024w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/1056a4f7-8d7d-46fd-82a1-ea262cceab7b-768x206.png 768w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/1056a4f7-8d7d-46fd-82a1-ea262cceab7b-600x161.png 600w\" sizes=\"auto, (max-width: 1180px) 100vw, 1180px\" \/><\/figure><p><\/p><p>4. Then click on Create role +<\/p><figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1123\" height=\"443\" src=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/589a72b7-813e-4edf-9ec9-92e3f3055f25.png\" alt=\"\" class=\"wp-image-18757\" style=\"width:800px\" srcset=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/589a72b7-813e-4edf-9ec9-92e3f3055f25.png 1123w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/589a72b7-813e-4edf-9ec9-92e3f3055f25-300x118.png 300w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/589a72b7-813e-4edf-9ec9-92e3f3055f25-1024x404.png 1024w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/589a72b7-813e-4edf-9ec9-92e3f3055f25-768x303.png 768w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/589a72b7-813e-4edf-9ec9-92e3f3055f25-600x237.png 600w\" sizes=\"auto, (max-width: 1123px) 100vw, 1123px\" \/><\/figure><p><\/p><p>5. Enter otp_key_role in the Role Name section, change the Key type section from ca to otp, enter ubuntu in the Default Username section and click on the Options button to display more options.<\/p><figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1223\" height=\"567\" src=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/4f99cdf2-005a-4436-8051-018512ecee30.png\" alt=\"\" class=\"wp-image-18760\" style=\"width:800px\" srcset=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/4f99cdf2-005a-4436-8051-018512ecee30.png 1223w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/4f99cdf2-005a-4436-8051-018512ecee30-300x139.png 300w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/4f99cdf2-005a-4436-8051-018512ecee30-1024x475.png 1024w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/4f99cdf2-005a-4436-8051-018512ecee30-768x356.png 768w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/4f99cdf2-005a-4436-8051-018512ecee30-600x278.png 600w\" sizes=\"auto, (max-width: 1223px) 100vw, 1223px\" \/><\/figure><p><\/p><p>6. Add 0.0.0.0\/0 in the CIDR List section and press Create role.<\/p><figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1177\" height=\"1075\" src=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/b616d224-6f4e-4731-8283-dcfd194c88e8.png\" alt=\"\" class=\"wp-image-18763\" style=\"width:800px\" srcset=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/b616d224-6f4e-4731-8283-dcfd194c88e8.png 1177w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/b616d224-6f4e-4731-8283-dcfd194c88e8-300x274.png 300w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/b616d224-6f4e-4731-8283-dcfd194c88e8-1024x935.png 1024w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/b616d224-6f4e-4731-8283-dcfd194c88e8-768x701.png 768w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/b616d224-6f4e-4731-8283-dcfd194c88e8-600x548.png 600w\" sizes=\"auto, (max-width: 1177px) 100vw, 1177px\" \/><\/figure><p><\/p><p>7. Vault server-side configuration is now complete.<\/p><h3 class=\"wp-block-heading\" id=\"Vault-Dynamic-RDP-Configuration\">Vault Dynamic RDP Configuration<\/h3><p>To enable Vault to create an Active Directory account, we need to set up a few things and make sure that your Vault server is able to connect to your domain controller via ldaps.<\/p><p>1. Connect to your Active Directory server.<\/p><p>2. Open Active Directory Users and Computers.<\/p><figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1126\" height=\"636\" src=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/eacd7745-32d5-4f77-9316-d970ceae3af9.png\" alt=\"\" class=\"wp-image-18766\" style=\"width:800px\" srcset=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/eacd7745-32d5-4f77-9316-d970ceae3af9.png 1126w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/eacd7745-32d5-4f77-9316-d970ceae3af9-300x169.png 300w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/eacd7745-32d5-4f77-9316-d970ceae3af9-1024x578.png 1024w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/eacd7745-32d5-4f77-9316-d970ceae3af9-768x434.png 768w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/eacd7745-32d5-4f77-9316-d970ceae3af9-600x339.png 600w\" sizes=\"auto, (max-width: 1126px) 100vw, 1126px\" \/><\/figure><p><\/p><p>3. Create a new OU and name it Vault.<\/p><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"585\" height=\"441\" src=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/8f08162d-d8fa-4a6d-9d0b-69076d055237.png\" alt=\"\" class=\"wp-image-18769\" style=\"object-fit:cover\" srcset=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/8f08162d-d8fa-4a6d-9d0b-69076d055237.png 585w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/8f08162d-d8fa-4a6d-9d0b-69076d055237-300x226.png 300w\" sizes=\"auto, (max-width: 585px) 100vw, 585px\" \/><\/figure><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"436\" height=\"379\" src=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/765abbd4-1174-4d2e-9a66-28cd6675a948.png\" alt=\"\" class=\"wp-image-18772\" srcset=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/765abbd4-1174-4d2e-9a66-28cd6675a948.png 436w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/765abbd4-1174-4d2e-9a66-28cd6675a948-300x261.png 300w\" sizes=\"auto, (max-width: 436px) 100vw, 436px\" \/><\/figure><p><\/p><p>4. We&#8217;ll now create a VaultUsers security group within this new OU.<\/p><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"751\" height=\"528\" src=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/3d3bc54b-4bd5-48ed-9489-963307a0e63e.png\" alt=\"\" class=\"wp-image-18775\" srcset=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/3d3bc54b-4bd5-48ed-9489-963307a0e63e.png 751w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/3d3bc54b-4bd5-48ed-9489-963307a0e63e-300x211.png 300w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/3d3bc54b-4bd5-48ed-9489-963307a0e63e-600x422.png 600w\" sizes=\"auto, (max-width: 751px) 100vw, 751px\" \/><\/figure><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"436\" height=\"379\" src=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/47283790-f1d3-4d67-94e3-33693cca492a.png\" alt=\"\" class=\"wp-image-18778\" srcset=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/47283790-f1d3-4d67-94e3-33693cca492a.png 436w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/47283790-f1d3-4d67-94e3-33693cca492a-300x261.png 300w\" sizes=\"auto, (max-width: 436px) 100vw, 436px\" \/><\/figure><p><\/p><p>5. We&#8217;ll now create a VaultAdmin user who will eventually have the right to create accounts in this OU and add them to the VaultUsers group. Create this account outside this OU, either in Users or in another OU you use to manage your other accounts. In the following example I&#8217;ll check the option to make sure the password never expires, but I don\u2019t recommend deploying this in production.<\/p><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"439\" height=\"379\" src=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/62f48d3e-aecf-4c13-b3a4-9173e133d686.png\" alt=\"\" class=\"wp-image-18781\" srcset=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/62f48d3e-aecf-4c13-b3a4-9173e133d686.png 439w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/62f48d3e-aecf-4c13-b3a4-9173e133d686-300x259.png 300w\" sizes=\"auto, (max-width: 439px) 100vw, 439px\" \/><\/figure><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"441\" height=\"379\" src=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/6d65cb58-13c1-4ae8-ad5e-8d32c2ae863e.png\" alt=\"\" class=\"wp-image-18784\" srcset=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/6d65cb58-13c1-4ae8-ad5e-8d32c2ae863e.png 441w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/6d65cb58-13c1-4ae8-ad5e-8d32c2ae863e-300x258.png 300w\" sizes=\"auto, (max-width: 441px) 100vw, 441px\" \/><\/figure><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"435\" height=\"377\" src=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/01feddf6-bd3b-472b-a846-f2461f5211b7.png\" alt=\"\" class=\"wp-image-18787\" srcset=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/01feddf6-bd3b-472b-a846-f2461f5211b7.png 435w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/01feddf6-bd3b-472b-a846-f2461f5211b7-300x260.png 300w\" sizes=\"auto, (max-width: 435px) 100vw, 435px\" \/><\/figure><p><\/p><p>6. The next step is to ensure that the VaultAdmin account has the necessary rights to create users in the VautUsers OU. We&#8217;ll therefore create a delegation that allows VaultAdmin to at least create, delete, and manage an account, change the account password, read account information, and change group membership.<\/p><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"233\" height=\"344\" src=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/ff470fcf-8a29-4f5e-b688-8f05261606c9.png\" alt=\"\" class=\"wp-image-18790\" srcset=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/ff470fcf-8a29-4f5e-b688-8f05261606c9.png 233w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/ff470fcf-8a29-4f5e-b688-8f05261606c9-203x300.png 203w\" sizes=\"auto, (max-width: 233px) 100vw, 233px\" \/><\/figure><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"492\" height=\"391\" src=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/553d5fc4-4750-475c-86c2-0b8ddbeb3f87.png\" alt=\"\" class=\"wp-image-18793\" srcset=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/553d5fc4-4750-475c-86c2-0b8ddbeb3f87.png 492w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/553d5fc4-4750-475c-86c2-0b8ddbeb3f87-300x238.png 300w\" sizes=\"auto, (max-width: 492px) 100vw, 492px\" \/><\/figure><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"499\" height=\"390\" src=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/9326438e-0ead-4410-9014-40877d6f5e3f.png\" alt=\"\" class=\"wp-image-18796\" srcset=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/9326438e-0ead-4410-9014-40877d6f5e3f.png 499w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/9326438e-0ead-4410-9014-40877d6f5e3f-300x234.png 300w\" sizes=\"auto, (max-width: 499px) 100vw, 499px\" \/><\/figure><p><\/p><p>7. Log on to your Vault server&#8217;s web interface and authenticate with the root token.<\/p><p>8. Go to the Secret Engines section and click on Enable new engine +<\/p><figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1747\" height=\"512\" src=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/5cbc71ea-7e68-4a03-8f63-b4a75837ba8e.png\" alt=\"\" class=\"wp-image-18799\" style=\"width:800px\" srcset=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/5cbc71ea-7e68-4a03-8f63-b4a75837ba8e.png 1747w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/5cbc71ea-7e68-4a03-8f63-b4a75837ba8e-300x88.png 300w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/5cbc71ea-7e68-4a03-8f63-b4a75837ba8e-1024x300.png 1024w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/5cbc71ea-7e68-4a03-8f63-b4a75837ba8e-768x225.png 768w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/5cbc71ea-7e68-4a03-8f63-b4a75837ba8e-1536x450.png 1536w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/5cbc71ea-7e68-4a03-8f63-b4a75837ba8e-600x176.png 600w\" sizes=\"auto, (max-width: 1747px) 100vw, 1747px\" \/><\/figure><p><\/p><p>9. Select LDAP.<\/p><figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1145\" height=\"782\" src=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/41ea782f-201c-455c-80a3-c23b1ef5d407.png\" alt=\"\" class=\"wp-image-18802\" style=\"width:800px\" srcset=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/41ea782f-201c-455c-80a3-c23b1ef5d407.png 1145w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/41ea782f-201c-455c-80a3-c23b1ef5d407-300x205.png 300w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/41ea782f-201c-455c-80a3-c23b1ef5d407-1024x699.png 1024w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/41ea782f-201c-455c-80a3-c23b1ef5d407-768x525.png 768w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/41ea782f-201c-455c-80a3-c23b1ef5d407-600x410.png 600w\" sizes=\"auto, (max-width: 1145px) 100vw, 1145px\" \/><\/figure><p><\/p><p>10. Click on Enable engine.<\/p><figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1169\" height=\"342\" src=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/11c9cf39-8c57-4964-93e9-5e8d59407f29.png\" alt=\"\" class=\"wp-image-18805\" style=\"width:800px\" srcset=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/11c9cf39-8c57-4964-93e9-5e8d59407f29.png 1169w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/11c9cf39-8c57-4964-93e9-5e8d59407f29-300x88.png 300w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/11c9cf39-8c57-4964-93e9-5e8d59407f29-1024x300.png 1024w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/11c9cf39-8c57-4964-93e9-5e8d59407f29-768x225.png 768w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/11c9cf39-8c57-4964-93e9-5e8d59407f29-600x176.png 600w\" sizes=\"auto, (max-width: 1169px) 100vw, 1169px\" \/><\/figure><p><\/p><p>11. Now connect to your Vault server via SSH.<\/p><p>12. Once you&#8217;ve connected to your instance\/server, you first need to store two variables: the url of your Vault server and the root token.<\/p><pre class=\"wp-block-code\"><code>export VAULT_ADRR='https:\/\/UrlOfYourVaultServer:8200'\nexport VAULT_TOKEN='RootTokenFromJSONFile'<\/code><\/pre><ol class=\"wp-block-list\" start=\"1\"><li><\/li><\/ol><ol class=\"wp-block-list\" start=\"1\"><li><\/li><\/ol><ol class=\"wp-block-list\" start=\"1\"><li><\/li><\/ol><ol class=\"wp-block-list\" start=\"1\"><li><\/li><\/ol><ol class=\"wp-block-list\" start=\"1\"><li><\/li><\/ol><p>13. Enter your domain controller connection information. If you&#8217;re using a domain name that the Vault server can&#8217;t resolve (e.g. .local), be sure to add an entry in \/etc\/hosts before proceeding. In this case, we&#8217;re also going to use the insecure_tls option, but if you want to deploy this option in production, it would be preferable to import the SSL certificate used for the LDAPS connection from your Active Directory server to improve security.<\/p><pre class=\"wp-block-code\"><code>vault write ldap\/config binddn=VaultAdmin@YourdDomain.com bindpass=PasswordOfVaultAdmin url=ldaps:\/\/URLOfYourADServer schema=ad insecure_tls=true userdn='dc=YourDomain,dc=com'<\/code><\/pre><p>14. If you have entered the information correctly, you should receive the following message:<\/p><pre class=\"wp-block-code\"><code>Success! Data written to: ldap\/config<\/code><\/pre><p>15. Once the role has been created, you now need to create three configuration files.<\/p><p>16. The first file is called creation.ldif and should contain the following information (adjust according to your domain):<\/p><pre class=\"wp-block-code\"><code>dn: CN={{.Username}},OU=Vault,DC=YourDomain,DC=com\nchangetype: add\nobjectClass: top\nobjectClass: person\nobjectClass: organizationalPerson\nobjectClass: user\nuserPrincipalName: {{.Username}}@YourDomain\nsAMAccountName: {{.Username}}\ndn: CN={{.Username}},OU=Vault,DC=YourDomain,DC=com\nchangetype: modify\nreplace: unicodePwd\nunicodePwd::{{ printf \"%q\" .Password | utf16le | base64 }}\nreplace: userAccountControl\nuserAccountControl: 66048\ndn: CN=VaultUsers,OU=Vault,DC=YourDomain,DC=com\nchangetype: modify\nadd: member\nmember: CN={{.Username}},OU=Vault,DC=YourDomain,DC=com<\/code><\/pre><ol class=\"wp-block-list\" start=\"1\"><li><\/li><\/ol><p>17. The second file is called delete.ldif and must contain the following information (adjust according to your domain):<\/p><pre class=\"wp-block-code\"><code>dn: CN={{.Username}},OU=Vault,DC=YourDomain,dc=com\nchangetype: delete<\/code><\/pre><p>18. The third file is called rollback.ldif and must have the following information (adjust according to your domain):<\/p><pre class=\"wp-block-code\"><code>dn: CN={{.Username}},OU=Vault,DC=YourDomain,dc=com\nchangetype: delete<\/code><\/pre><p>19. We can now create the Dynamic RDP role with the following command (make sure you mention the path of your three files). We&#8217;re going to specify an account deletion after eight hours, as this is the default maximum session time in Boundary Desktop, but you can adjust it to suit your needs.<\/p><pre class=\"wp-block-code\"><code>vault write ldap\/role\/dynamic-role creation_ldif=@creation.ldif default_ttl=1h max_ttl=8h deletion_ldif=@deletion.ldif rollback_ldif=@rollback.ldif username_template=\"v_{{unix_time}}\"<\/code><\/pre><p>20. If you have mentioned the correct file path, you should receive the following message:<\/p><pre class=\"wp-block-code\"><code>Success! Data written to: ldap\/role\/dynamic-role<\/code><\/pre><p>21. The next step is to validate that the account creation actually works. You can use the following command to validate whether your configuration is working correctly:<\/p><pre class=\"wp-block-code\"><code>vault read ldap\/creds\/dynamic-role<\/code><\/pre><p>22. If the configuration has been carried out correctly, you should receive information about an account which will have a default lifetime of one hour.<\/p><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"837\" height=\"131\" src=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/6baa25cb-beb9-46ca-9e1f-851d128c466f.png\" alt=\"\" class=\"wp-image-18808\" srcset=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/6baa25cb-beb9-46ca-9e1f-851d128c466f.png 837w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/6baa25cb-beb9-46ca-9e1f-851d128c466f-300x47.png 300w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/6baa25cb-beb9-46ca-9e1f-851d128c466f-768x120.png 768w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2024\/10\/6baa25cb-beb9-46ca-9e1f-851d128c466f-600x94.png 600w\" sizes=\"auto, (max-width: 837px) 100vw, 837px\" \/><\/figure><p>23. This completes the configuration of Vault with your domain controller for dynamic account creation.<\/p><h3 class=\"wp-block-heading\" id=\"Configuring-Your-Ubuntu-Instance-with-vault-ssh-helper\">Configuring Your Ubuntu Instance with vault-ssh-helper<\/h3><p>In order to use Vault OTP, you need to ensure that your instance can connect to your Vault server via port 8200, and that you have vault-ssh-helper installed.<\/p><p>1. Connect via SSH to the Ubuntu instance you&#8217;ve deployed that&#8217;s connected in the same subnet as your Boundary server, or in a subnet that your Boundary server is able to connect to using the internal network (and not the public network).<\/p><p>2. Download the vault-ssh-helper software using the following command:<\/p><pre class=\"wp-block-code\"><code>wget https:\/\/releases.hashicorp.com\/vault-ssh-helper\/0.2.1\/vault-ssh-helper_0.2.1_linux_amd64.zip<\/code><\/pre><ol class=\"wp-block-list\" start=\"1\"><li><\/li><\/ol><p>3. Install vault-ssh-helper in the \/usr\/local\/bin directory:<\/p><pre class=\"wp-block-code\"><code>sudo unzip -q vault-ssh-helper_0.2.1_linux_amd64.zip -d \/usr\/local\/bin<\/code><\/pre><p>4. Make sure vault-ssh-helper is executable:<\/p><pre class=\"wp-block-code\"><code>sudo chmod 0755 \/usr\/local\/bin\/vault-ssh-helper<\/code><\/pre><p>5. Make sure root is the only owner:<\/p><pre class=\"wp-block-code\"><code>sudo chown root:root \/usr\/local\/bin\/vault-ssh-helper<\/code><\/pre><p>6. Create a folder to store the configuration file:<\/p><pre class=\"wp-block-code\"><code>sudo mkdir \/etc\/vault-ssh-helper.d<\/code><\/pre><p>7. Create the configuration file:<\/p><pre class=\"wp-block-code\"><code>sudo vi \/etc\/vault-ssh-helper.d\/config.hcl<\/code><\/pre><p>8. Add the following information to the file:<\/p><pre class=\"wp-block-code\"><code>vault_addr = \"https:\/\/URlOfYourVaultServer:8200\"\nssh_mount_point = \"ssh\"\nca_cert = \"\/opt\/ssl\/cacert.pem\"\ntls_skip_verify = false\nallowed_roles = \"*\"<\/code><\/pre><p>9. Create a folder to store a root certificate to validate the certificate installed on your Vault server:<\/p><pre class=\"wp-block-code\"><code>sudo mkdir \/opt\/ssl<\/code><\/pre><p>10. If you&#8217;re using a certificate from a recognized certification authority, you can use a certificate that groups together all the root certificates of the main SSL certificate providers by retrieving this one, for example, and placing it in the folder created in the previous step.<\/p><pre class=\"wp-block-code\"><code>wget https:\/\/curl.se\/ca\/cacert.pem\nsudo cp cacert.pem \/opt\/ssl\/<\/code><\/pre><p>11. Modifying the pam.d file:<\/p><pre class=\"wp-block-code\"><code>sudo vi \/etc\/pam.d\/sshd<\/code><\/pre><p>12. Be sure to comment out the include common-auth section and add the following lines underneath before saving:<\/p><pre class=\"wp-block-code\"><code>#@include common-auth\nauth requisite pam_exec.so quiet expose_authtok log=\/tmp\/vaultssh.log \/usr\/local\/bin\/vault-ssh-helper -config=\/etc\/vault-ssh-helper.d\/config.hcl\nauth optional pam_unix.so not_set_pass use_first_pass nodelay<\/code><\/pre><p>13. Now edit the sshd_config file:<\/p><pre class=\"wp-block-code\"><code>sudo vi \/etc\/ssh\/sshd_config<\/code><\/pre><p>14. Make sure the following two sections are enabled and save the file:<\/p><pre class=\"wp-block-code\"><code>KbdInteractiveAuthentication yes\nUsePAM yes<\/code><\/pre><p>15. Restart the sshd service:<\/p><pre class=\"wp-block-code\"><code>sudo systemctl restart sshd<\/code><\/pre><p>16. Your instance is now configured with vault-ssh-helper.<\/p><h3 class=\"wp-block-heading\" id=\"Installing-Boundary-Desktop-on-your-workstation\">Installing Boundary Desktop on Your Workstation<\/h3><p>In order to run the connection tests, you need to make sure that Boundary Desktop is installed on your workstation.<\/p><p>You can download the installation files for your operating system from the following link: <a href=\"https:\/\/releases.hashicorp.com\/boundary-desktop\">Boundary-Desktop Versions | HashiCorp Releases<\/a><\/p><p>Boundary Desktop is available for Windows, macOS and Linux.<\/p><p>At the time of writing, the latest version was 2.0.3<\/p><p>To download the Windows version: <a href=\"https:\/\/releases.hashicorp.com\/boundary-desktop\/2.0.3\/boundary-desktop_2.0.3_windows_amd64.zip\">https:\/\/releases.hashicorp.com\/boundary-desktop\/2.0.3\/boundary-desktop_2.0.3_windows_amd64.zip<\/a><\/p><p>To download the macOS version for Apple Silicon processors: <a href=\"https:\/\/releases.hashicorp.com\/boundary-desktop\/2.0.3\/boundary-desktop_2.0.3_darwin_arm64.dmg\">https:\/\/releases.hashicorp.com\/boundary-desktop\/2.0.3\/boundary-desktop_2.0.3_darwin_arm64.dmg<\/a><\/p><p>To download the macOS version for Intel processors: <a href=\"https:\/\/releases.hashicorp.com\/boundary-desktop\/2.0.3\/boundary-desktop_2.0.3_darwin_amd64.dmg\">https:\/\/releases.hashicorp.com\/boundary-desktop\/2.0.3\/boundary-desktop_2.0.3_darwin_amd64.dmg<\/a><\/p><p>To recover the Ubuntu version: <a href=\"https:\/\/releases.hashicorp.com\/boundary-desktop\/2.0.3\/boundary-desktop_2.0.3_amd64.deb\">https:\/\/releases.hashicorp.com\/boundary-desktop\/2.0.3\/boundary-desktop_2.0.3_amd64.deb<\/a><\/p><p>To recover the version for other Linux operating systems: <a href=\"https:\/\/releases.hashicorp.com\/boundary-desktop\/2.0.3\/boundary-desktop_2.0.3_linux_amd64.zip\">https:\/\/releases.hashicorp.com\/boundary-desktop\/2.0.3\/boundary-desktop_2.0.3_linux_amd64.zip<\/a><\/p><div style=\"height:80px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>","protected":false},"excerpt":{"rendered":"<p>Boundary and Vault Configuration Direct Impact Solutions | Boundary &amp; Vault Configuration Configure Microsoft Entra ID with Boundary 1. Log on to Microsoft Entra with an account that has administrator access. 2. Go to the Applications\/App registrations section and click on + New registration 3. Enter a name for your application and add a web &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/www.directimpactsolutions.com\/en\/boundary-vault-configuration\/\"> <span class=\"screen-reader-text\">Boundary &amp; Vault Configuration<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"disabled","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","footnotes":""},"class_list":["post-18663","page","type-page","status-publish","hentry"],"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false,"woocommerce_thumbnail":false,"woocommerce_single":false,"woocommerce_gallery_thumbnail":false},"uagb_author_info":{"display_name":"Eleanor Fulton","author_link":"https:\/\/www.directimpactsolutions.com\/en\/author\/eleanor-fulton\/"},"uagb_comment_info":0,"uagb_excerpt":"Boundary and Vault Configuration Direct Impact Solutions | Boundary &amp; Vault Configuration Configure Microsoft Entra ID with Boundary 1. Log on to Microsoft Entra with an account that has administrator access. 2. Go to the Applications\/App registrations section and click on + New registration 3. Enter a name for your application and add a web&hellip;","_links":{"self":[{"href":"https:\/\/www.directimpactsolutions.com\/en\/wp-json\/wp\/v2\/pages\/18663","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.directimpactsolutions.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.directimpactsolutions.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.directimpactsolutions.com\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.directimpactsolutions.com\/en\/wp-json\/wp\/v2\/comments?post=18663"}],"version-history":[{"count":3,"href":"https:\/\/www.directimpactsolutions.com\/en\/wp-json\/wp\/v2\/pages\/18663\/revisions"}],"predecessor-version":[{"id":18816,"href":"https:\/\/www.directimpactsolutions.com\/en\/wp-json\/wp\/v2\/pages\/18663\/revisions\/18816"}],"wp:attachment":[{"href":"https:\/\/www.directimpactsolutions.com\/en\/wp-json\/wp\/v2\/media?parent=18663"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}