How to create multiple api keys for Azure Openai subscription?

praveen t n 20 Reputation points
2023-07-16T13:29:53.2066667+00:00

There's an Azure OpenAI sub for which a primary key and a secondary key exists which is managed via the Azure portal. Current rate limits applies to these keys. There's option to regenerate keys via the portal. How to have multiple keys within the same subscription, with separate rate limits? Not just the primary and secondary key but more.

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

Accepted answer
  1. AshokPeddakotla-MSFT 35,971 Reputation points Moderator
    2023-07-17T08:21:33.7433333+00:00

    Praveen Thunduparambil Narayanan Kutty Greetings & Welcome to Microsoft Q&A forum!

    How to have multiple keys within the same subscription, with separate rate limits? Not just the primary and secondary key but more.

    AFAIK, it is not possible to have multiple primary keys and secondary keys within the same subscription with separate rate limits for Azure OpenAI. The rate limits apply to the subscription, not to individual keys

    User's image

    This is a security precaution that lets you regularly change the keys that can access your service, protecting the privacy of your resource if a key gets leaked.

    If you need to increase the rate limits, you can request a quota increase. Please see Azure OpenAI Service quotas and limits and Manage Azure OpenAI Service quota for more details.

    Azure Cognitive Services also support customer managed keys. Azure Cognitive Services offer multiple options for customers to manage keys, such as using Azure Key Vault, customer-managed keys in Azure Key Vault or customer-managed keys through Azure Storage service. This helps customers ensure that their data is secure and access to their services is controlled. Please check Customer-managed keys for more information.

    Hope this helps. Do let me know if you have any further questions.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

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.