Skip to content

Commit

Permalink
README(.md): Add comment about using API Token with HTTP
Browse files Browse the repository at this point in the history
  • Loading branch information
alagoutte committed Feb 15, 2022
1 parent bb45393 commit 5368cb2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -854,14 +854,16 @@ There is also cmdlet for Proxy
For Proxy Policy, it is possible to specific explict proxy or transparent
For FortiGate 6.0.x, you need to enable proxy mode before (and enable feature)

### Connecting with api token
### Connecting with API Token

If you have a REST API administrator account setup, you can connect with the API

```powershell
Connect-FGT 192.0.2.1 -ApiToken "yourtoken"
```

You can use API Token with HTTPS (or HTTPS with FortiOS > 7.0.x but not recommended)

A REST API administrator account can be setup using the following FortiOS CLI commands:

```
Expand Down

0 comments on commit 5368cb2

Please sign in to comment.