Skip to content
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

Add bearer support to authentication methods for API calls #26

Merged
merged 4 commits into from
Aug 26, 2024

Conversation

MZC-CSC
Copy link
Contributor

@MZC-CSC MZC-CSC commented Aug 26, 2024

  • Added “bearer” to the Added “bearer” to auth.type

  • Added the ability to accept token values as parameters in the CLI to account for the “bearer” type.
    Example of changing the username and password for basic authentication
    ./mayfly api -s cm-ant -a getcostinfo --authUser=test --authPassword=test2
    Example of changing the authentication token for bearer authentication
    ./mayfly api -s cm-ant -a getcostinfo --authToken=token

  • Added content about authentication methods to the README and API user guide

@MZC-CSC MZC-CSC merged commit 8ea2c7a into cloud-barista:main Aug 26, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants