Who am I on OCI
oci_whoamiIdentify the current OCI user, tenancy, region, and auth method, plus enabled permissions and mutable compartments. Run this before any OCI action to confirm what is reachable.
Instructions
Report the active OCI identity and this server's own permissions.
Returns the tenancy, user, region and auth method in use, plus which compartments may be mutated and which capability flags are enabled.
Call this first in a session to learn what is reachable before acting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||