Is it possible to get Azure OpenAI Model API key through the Rest API?

Sidney Glinton 5 Reputation points
2024-10-31T19:43:45.8966667+00:00

Can I use the Azure API to get an OpenAI model API key through the REST functionality that exists currently?

Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
4,092 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Saideep Anchuri 9,500 Reputation points Moderator
    2024-11-04T07:27:37.67+00:00

    Hi Sidney Glinton

    API keys for OpenAI model deployments can't be obtained or generated programmatically via REST API. For security reasons, they must be manually created. After generation, these keys can then be incorporated into your code for accessing the API.

    Hope this helps. Do let us know if you any further queries.


    If this answers your query, do click Accept Answer and Yes for was this answer

    Thank You.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.