-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Manage authentication with API token #154
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bonjour Kevin,
Thanks for your contribution !!!
can you look to may be add a token test on testsuite ? (i can help you if you need)
we can considered we have already the ApiToken (need to set on credential.ps1), we don't have cmdlet yet for generate token (i see there is some new API call for this)
can you add also example on README.md about APItoken ?
Hi Alexis, I added a test and a couple of notes in README.md Regards, Kevin |
Look good, need to have https for use token ? (About test), may be also skip token test if you don’t have set the token |
and also check if apitoken is available for launch test
Thanks Kevin, ApiToken with FortiOS 7.0.(3) and HTTP, i need to check it is working also with PS5 (Tested with PS7 on Windows and macOS) |
Add support for authenticating with API tokens
As requested in #100
API Account can be setup with the following FortiOS CLI commands