Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
cedric05 authored Dec 13, 2023
1 parent fac393c commit 82f6ac3
Show file tree
Hide file tree
Showing 2 changed files with 79 additions and 0 deletions.
24 changes: 24 additions & 0 deletions blog/2023-12-14-dothttp-extensions-1.0.11.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
title: dothttp-runner 1.0.11 Release Notes
author: Prasanth
author_url: https://github.com/cedric05
tags: [dothttp-runner, vscode]
description: Updates on the latest extension releases.
hide_table_of_contents: false
---

## 1.0.11

- Updated dothextensions-build/cli to version 0.0.43a2.
- New Feature: Added support for Azure Authentication.
- Updated badssl certificates.
- Updated dependencies to their latest versions.
- Bumped faker from version 19.13.0 to 20.0.0, thanks to @dependabot in cedric05/dothttp#202.
- Azure Authentication Support: Introduced Azure Authentication support, thanks to @cedric05 in - cedric05/dothttp#209.
- Chore: Bumped jsonschema to version 4.20.0.
- Chore: Bumped textx to version 4.0.1.
- Chore: Bumped restrictedpython to version 7.0.
- Chore: Bumped faker to version 20.1.0.
- Added Azure Authentication support to the package.
- Added new Python package msal version 1.26.0.
- Updated dothttp-runner build node js version to 21
55 changes: 55 additions & 0 deletions docs/auth.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,61 @@ GET "https://httpbin.org/digest-auth/20202/username/password/md5"
digestauth("username", "password")
```

## Azure Auth

Azure supports multiple types of authentication mechanisms. dothttp supports three different types of version.

### Azure Cli Auth

dothttp leverages azure cli for getting auth token

#### Syntax

`azurecli(<scope>)`

`scope` here is optional

#### Example:

```http
@name(azurecli)
GET "https://httpbin.org/digest-auth/20202/username/password/md5"
azurecli("username", "password")
```

### Azure Client Secret auth

#### Syntax

`azurespsecret(tenant_id, client_id, client_secret, scope)`

`scope` is optional here.

#### Example:

```http
@name("azure_sp")
GET "https://management.azure.com/"
```

### Azure Client Certificate Auth

#### Syntax

`azurespcert(tenant_id, client_id, certificate_path, scope)`

`Scope`` here is optional

#### Example:

```http```
@name("azure_cert")
GET "https://management.azure.com/"
azurespcert(tenant_id="{{tenant_id}}", client_id="{{client_id}}", certificate_path="{{certificate_path}}", scope="{{scope}}")
```
`scope`` here is optional
## AWS Signature v4 Authentication
Expand Down

0 comments on commit 82f6ac3

Please sign in to comment.