Following yesterday’s entry about creation of a container app is creating a new secret key. This requires the container app name (-n), resource group (-g), and the key value pair (e.g., embeddings-api-key=$EMBEDDINGS_API_KEY)
az containerapp secret set -n $CONTAINER_APP_NAME -g $RESOURCE_GROUP \
--secrets embeddings-api-key=$EMBEDDINGS_API_KEY
Containerapp '<CONTAINER_APP_NAME>' must be restarted in order for secret changes to take effect.
[
{
"name": "embeddings-api-key"
}
]