|
| 1 | +# Create the Web Credentials |
| 2 | + |
| 3 | +## Introduction |
| 4 | + |
| 5 | +In this lab, you learn to create web credentials in Oracle APEX using the OCI API keys. In Oracle Cloud Infrastructure (OCI), API keys are used for secure authentication when accessing OCI resources through REST APIs. |
| 6 | + |
| 7 | +Web credentials are used to authenticate connection to external REST services, or REST Enabled SQL services from APEX. |
| 8 | + |
| 9 | +Creating Web Credentials securely stores and encrypts authentication credentials for use by Oracle APEX components and APIs. Credentials cannot be retrieved back in clear text. Credentials are stored at the workspace level and therefore are visible to all applications. |
| 10 | + |
| 11 | + |
| 12 | +Estimated Time: 10 Minutes |
| 13 | + |
| 14 | +### Objectives |
| 15 | +In this lab, you: |
| 16 | + |
| 17 | +- Create Web Credentials in Oracle APEX |
| 18 | + |
| 19 | +## Prerequisites |
| 20 | +- Download the zip file from [Your OCI API key](?lab=hol3318) |
| 21 | + |
| 22 | + |
| 23 | +## Task 1: Create Web Credentials in Oracle APEX |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | +To create a Web Credential in Oracle APEX: |
| 28 | + |
| 29 | +1. Login into your Oracle APEX workspace. |
| 30 | + |
| 31 | +  |
| 32 | + |
| 33 | +2. On the Workspace home page, click **App Builder**. |
| 34 | + |
| 35 | +  |
| 36 | + |
| 37 | +3. Click **Workspace Utilities**. |
| 38 | + |
| 39 | +  |
| 40 | + |
| 41 | +4. Select **Web Credentials**. |
| 42 | + |
| 43 | +  |
| 44 | + |
| 45 | +5. Click **Create**. |
| 46 | + |
| 47 | +  |
| 48 | + |
| 49 | +6. Enter the following details using the configuration file you copied in the previous task. |
| 50 | + |
| 51 | + - **Name**: apex\_ai\_cred |
| 52 | + |
| 53 | + - **Authentication Type**: OCI Native Authentication |
| 54 | + |
| 55 | + - **OCI User ID**: Enter the OCID of the Oracle Cloud user Account. You can find the OCID in the zip folder you downloaded as part of prerequisites. |
| 56 | + Your OCI User ID looks similar to **ocid1.user.oc1..aaaaaaaa\*\*\*\*\*\*wj3v23yla** |
| 57 | + |
| 58 | + - **OCI Private Key**: Open the private key (.pem file) downloaded in the previous task. Copy and paste the API Key. |
| 59 | + |
| 60 | +  |
| 61 | + |
| 62 | + - **OCI Tenancy ID**: Enter the OCID for Tenancy. Your Tenancy ID looks similar to **ocid1.tenancy.oc1..aaaaaaaaf7ush\*\*\*\*cxx3qka** |
| 63 | + |
| 64 | + - **OCI Public Key Fingerprint**: Enter the Fingerprint ID. Your Fingerprint ID looks similar to **a8:8e:c2:8b:fe:\*\*\*\*:ff:4d:40** |
| 65 | + |
| 66 | +  |
| 67 | + |
| 68 | +5. Click **Create**. |
| 69 | + |
| 70 | +## Summary |
| 71 | + |
| 72 | +You know how to create web credentials in Oracle APEX. |
| 73 | + |
| 74 | +You may now **proceed to the next lab**. |
| 75 | + |
| 76 | +## Acknowledgments |
| 77 | + |
| 78 | +- **Author** - Roopesh Thokala, Senior Product Manager |
| 79 | +- **Co-Author** - Ankita Beri, Product Manager |
| 80 | +- **Last Updated By/Date** - Ankita Beri, Product Manager, June 2024 |
0 commit comments