Getting an API Key's Details
Get the details for an API key in OCI Generative AI.
On the API keys list page, select the API key that you want to work with. If you need help finding the list page for API keys, see Listing API keys.
The details page opens and displays information about the API key. Access the various resources associated with the API key by selecting their links or tabs.
Use the
api-key getcommand and required parameters to get an API key's details:oci generative-ai api-key get [OPTIONS]For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the GetApiKey operation to get an API key's details.