Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 880 Bytes

auth.md

File metadata and controls

33 lines (21 loc) · 880 Bytes

Authentication in ABC

A user can be authenticated in abc using the login command or by setting an environment variable.

login command

Please see login docs for more details.

# login using google
abc login google
# login using github
abc login github

Environment variable

User can set an environment variable ABC_TOKEN with their token to have them authenticated in abc. To get your token, please visit the following url -

Get token - Google Auth

Get token - GitHub Auth

Once ABC_TOKEN is set, abc can be used without having the need to run abc login command.

export ABC_TOKEN=myFullTokenTextHere
# you should be authenticated now
abc user