While packaging a tax-filing Oracle Function, a teammate wants to copy a tenancy config file and an IAM user’s PEM into the image so SDK calls succeed. What is the documented secure pattern instead?
Select an answer to reveal the explanation.
Short Explanation
The platform slips a temporary worker badge into the container—resource principal—so you do not smuggle a person’s long-lived PEM into the image.
Full Explanation
Oracle Functions authenticate to OCI APIs with a resource-principal session token and key injected as OCI_RESOURCE_PRINCIPAL_* variables. The OCI SDK resource-principal signer is the documented default. Shipping a tenancy config file and a user’s PEM inside the image is an anti-pattern.