Skip to content

Commit cac5e0f

Browse files
Merge pull request #1 from jongio/patch-4
Couple of edits
2 parents ec370e3 + 3143e6f commit cac5e0f

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

articles/storage/common/storage-use-azurite.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -280,10 +280,6 @@ azurite --version
280280

281281
**Optional** - By default, Azurite uses the HTTP protocol. Enable HTTPS mode by providing a path to a Privacy Enhanced Mail (.pem) or [Personal Information Exchange (.pfx)](https://docs.microsoft.com/windows-hardware/drivers/install/personal-information-exchange---pfx--files) certificate file to the `--cert` switch.
282282

283-
```console
284-
azurite --cert path/server.pem
285-
```
286-
287283
When `--cert` is provided for a PEM file, you must provide a corresponding `--key` switch.
288284

289285
```console
@@ -303,7 +299,7 @@ For detailed information on creating PEM and PFX files, see [HTTPS Setup](https:
303299
**Optional** - Enable OAuth authentication for Azurite by using the `--oauth` switch.
304300

305301
```console
306-
azurite --oauth basic
302+
azurite --oauth basic --cert path/server.pem --key path/key.pem
307303
```
308304

309305
> [!NOTE]
@@ -315,7 +311,7 @@ Azurite supports basic authentication by specifying the `basic` parameter to the
315311

316312
Connect to Azurite from Azure Storage SDKs or tools, like [Azure Storage Explorer](https://azure.microsoft.com/features/storage-explorer/), by using any authentication strategy. Authentication is required. Azurite supports authorization with OAuth, Shared Key, and shared access signatures (SAS). Azurite also supports anonymous access to public containers.
317313

318-
If you're using the Azure SDKs, start Azurite with the `--oauth basic` option.
314+
If you're using the Azure SDKs, start Azurite with the `--oauth basic and --cert --key/--pwd` options.
319315

320316
### Well-known storage account and key
321317

@@ -403,7 +399,7 @@ For more information, see [Configure Azure Storage connection strings](storage-c
403399

404400
### Azure SDKs
405401

406-
To use Azurite with the [Azure SDKs](https://aka.ms/azsdk), use OAuth and HTTPs options:
402+
To use Azurite with the [Azure SDKs](https://aka.ms/azsdk), use OAuth and HTTPS options:
407403

408404
```console
409405
azurite --oauth basic --cert certname.pem --key certname-key.pem

0 commit comments

Comments
 (0)