CLI Authentication
pre-requisites
You will need your access token, which you can obtain by accessing the URL https://environments.bunnyshell.com/access-token.
Create a profile
Using the access token, you can setup a CLI profile for easy access to your account using the command:
$ bns configure profiles add
You can have multiple profiles, for different users or different organizations (and same user).
You can use the profiles to target specific environments also, or projects not just organizations.
Using the token inline
You can also pass the token as an option for commands which require authentication, eg:
$ bns environments list --token 123:2664b6ba3d051efdfbb041a54827969b
Updated about 1 year ago