New Year Sale ! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Oracle Exam 1Z0-1084-22 Topic 1 Question 10 Discussion

Actual exam question for Oracle's 1Z0-1084-22 exam
Question #: 10
Topic #: 1
[All 1Z0-1084-22 Questions]

A programmer Is developing a Node is application which will run in a Linux server on their on-premises data center. This application will access various Oracle Cloud Infrastructure (OC1) services using OCI SDKs.

What is the secure way to access OCI services with OCI Identity and Access Management (JAM)?

Show Suggested Answer Hide Answer
Suggested Answer: C

Set up an Oracle Cloud Infrastructure API Signing Key for Use with Oracle Functions:

Before using Oracle Functions, you have to set up an Oracle Cloud Infrastructure API signing key.

The instructions in this topic assume:

- you are using Linux

For more information and other options, seeRequired Keys and OCIDs.

The instructions below describe how to create a new ~/.oci directory, how to generate a new private key file and public key file in that ~/.oci directory,how to upload the public key to Oracle Cloud Infrastructure to create a new API signing key, and how to obtain a fingerprint for the public API key. Be aware that instructions and examples elsewhere in this documentation assume the ~/.oci directory exists and contains the private and public key files.

To set up an API signing key:

Log in to your development environment as a functions developer.

In a terminal window, confirm that the ~/.oci directory does not already exist. For example, by entering:

ls ~/.oci

Assuming the ~/.oci directory does not already exist, create it. For example, by entering:

mkdir ~/.oci

Generate a private key encrypted with a passphrase that you provide by entering:

$ openssl genrsa -out ~/.oci/.pem -aes128 2048

whereis a name of your choice for the private key file (for example,john_api_key_private.pem).

For example:

$ openssl genrsa -out ~/.oci/john_api_key_private.pem -aes128 2048

Generating RSA private key, 2048 bit long modulus

....+++

....................................................................+++

e is 65537 (0x10001)

Enter pass phrase for /Users/johndoe/.oci/john_api_key_private.pem:

References:

https://docs.cloud.oracle.com/en-us/iaas/Content/Functions/Tasks/functionssetupapikey.htm


Contribute your Thoughts:

Currently there are no comments in this discussion, be the first to comment!


Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77