Welcome to the Power Users community on Codidact!
Power Users is a Q&A site for questions about the usage of computer software and hardware. We are still a small site and would like to grow, so please consider joining our community. We are looking forward to your questions and answers; they are the building blocks of a repository of knowledge we are building together.
How can I change the validity duration of a token obtained with `az account get-access-token`?
I use a token obtained with az account get-access-token
to deploy finetuned GPTs on Azure, update them (e.g., changing their max hit rate) or remove them.
I read on https://learn.microsoft.com/en-us/cli/azure/account?view=azure-cli-latest:
az account get-access-token
: Get a token for utilities to access Azure.The token will be valid for at least 5 minutes with the maximum at 60 minutes. If the subscription argument isn't specified, the current account is used.
Currently, the tokens I obtain are valid for 15 minutes.
How can I change the validity duration of a token obtained with az account get-access-token
?
Crossposts:
0 comment threads