You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: _source/_posts/2025-01-09-terraform-powershell-lab.md
+60-62
Original file line number
Diff line number
Diff line change
@@ -81,15 +81,14 @@ You will save a private key alongside your code to simplify the lab. In producti
81
81
82
82
d. Select Generate new key.
83
83
84
-
e. Under "Private Key - Copy this!" select PEM.
85
-
86
-
**Note**: the PEM key begins with the line `-----BEGIN PRIVATE KEY-----`. Make sure you're looking at the PEM, not the JSON.
84
+
e. Under "Private Key - Copy this!" select PEM.
85
+
**Note**: the PEM key begins with the line `-----BEGIN PRIVATE KEY-----`. Make sure you're looking at the PEM, not the JSON.
87
86
88
87
f. Select Copy to clipboard.
89
88
90
89
4. On your computer, paste the key into a file and save it as `key.pem`
91
90
92
-
**Important:** The key is saved locally to simplify the lab. You should save the key to an appropriate secrets management solution when working with production environments. If you do not have secrets management, [this blog post](/blog/2024/10/11/terraform-ci-cd) shares one way to set it up.
91
+
**Important:** The key is saved locally to simplify the lab. You should save the key to an appropriate secrets management solution when working with production environments. If you do not have secrets management, [this blog post](/blog/2024/10/11/terraform-ci-cd) shares one way to set it up.
93
92
94
93
5. Complete the configuration steps.
95
94
@@ -118,31 +117,30 @@ You will save a private key alongside your code to simplify the lab. In producti
2. In your terminal, run the command `terraform apply`
203
201
3. Type `yes` when prompted.
204
202
4. Wait for the `terraform apply` to complete.
205
203
5. From the `Creation complete after` output, copy the value of the `okta_app_oauth` id.
206
204
207
-
**Note:** PowerShell and Terraform now have separate applications in your Okta organization. The PowerShell application's ID can also be found in the Okta admin console under Applications -> Applications.
205
+
**Note:** PowerShell and Terraform now have separate applications in your Okta organization. The PowerShell application's ID can also be found in the Okta admin console under Applications -> Applications.
208
206
209
207
6. In PowerShell, run these commands:
210
208
211
-
**Note:** Replace the {yourOktaDomain} with the entire domain for your Okta org. For example, `oktaice0000000.oktapreview.com`. Replace the ID with the value you copied above.
209
+
**Note:** Replace the {yourOktaDomain} with the entire domain for your Okta org. For example, `oktaice0000000.oktapreview.com`. Replace the ID with the value you copied above.
0 commit comments