Skip to content

Commit d68b108

Browse files
authored
Merge pull request #267604 from MicrosoftDocs/repo_sync_working_branch
Confirm merge from repo_sync_working_branch to main to sync with https://github.com/MicrosoftDocs/azure-docs (branch main)
2 parents da8c16b + 1763547 commit d68b108

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

articles/ai-services/speech-service/text-to-speech-avatar/what-is-text-to-speech-avatar.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,11 @@ Sample code for text to speech avatar is available on [GitHub](https://github.co
6464

6565
* [Batch synthesis (REST)](https://github.com/Azure-Samples/cognitive-services-speech-sdk/tree/master/samples/batch-avatar)
6666
* [Real-time synthesis (SDK)](https://github.com/Azure-Samples/cognitive-services-speech-sdk/tree/master/samples/js/browser/avatar)
67-
* [Live chat with Azure Open AI in behind (SDK)](https://github.com/Azure-Samples/cognitive-services-speech-sdk/tree/master/samples/js/browser/avatar#chat-sample)
67+
* [Live chat with Azure OpenAI in behind (SDK)](https://github.com/Azure-Samples/cognitive-services-speech-sdk/tree/master/samples/js/browser/avatar#chat-sample)
6868

6969
## Pricing
7070

71-
When you use the text to speech avatar feature, you'll be billed by the minutes of video output, and the text to speech, speech to text, Azure Open AI, or other Azure services are charged separately.
71+
When you use the text to speech avatar feature, you'll be billed by the minutes of video output, and the text to speech, speech to text, Azure OpenAI, or other Azure services are charged separately.
7272

7373
For more information, see [Speech service pricing](https://azure.microsoft.com/pricing/details/cognitive-services/speech-services/).
7474

articles/key-vault/certificates/how-to-export-certificate.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,13 +84,10 @@ $certificateName = '<YourCert>'
8484
$password = '<YourPwd>'
8585
8686
$pfxSecret = Get-AzKeyVaultSecret -VaultName $vaultName -Name $certificateName -AsPlainText
87-
$secretByte = [Convert]::FromBase64String($pfxSecret)
88-
$x509Cert = New-Object Security.Cryptography.X509Certificates.X509Certificate2
89-
$x509Cert.Import($secretByte, $null, [Security.Cryptography.X509Certificates.X509KeyStorageFlags]::Exportable)
90-
$pfxFileByte = $x509Cert.Export([Security.Cryptography.X509Certificates.X509ContentType]::Pkcs12, $password)
87+
$certBytes = [Convert]::FromBase64String($pfxSecret)
9188
9289
# Write to a file
93-
[IO.File]::WriteAllBytes("KeyVaultcertificate.pfx", $pfxFileByte)
90+
Set-Content -Path cert.pfx -Value $certBytes -AsByteStream
9491
9592
```
9693

0 commit comments

Comments
 (0)