Oracle Cloud Platform Data Integration 2020 Specialist — Question 33

Your organization uses a federated identity provider to login to your Oracle Cloud Infrastructure (OCI) environment. As a developer, you are writing a script to automate some operation and want to use OCI CLI to do that. Your security team doesn't allow storing private keys on local machines.
How can you authenticate with OCI CLI? (Choose the best answer.)

Answer options

Correct answer: C

Explanation

The correct option is C because running 'oci session authenticate' allows you to authenticate using your credentials without storing private keys locally. Options A and D suggest methods that involve key management which is not allowed, while B does not provide a means to authenticate but rather refreshes a session.