nicerloop / acloudguru-sandbox

Command-line tool to manage A Cloud Guru sandboxes and configure credentials

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A Cloud Guru Sandbox

Command-line tool to manage A Cloud Guru sandboxes and configure credentials

Usage

The A Cloud Guru credentials are retrieved from git credentials store using git dredentials fill.

The A Cloud Guru sandbox is started or stopped according to the requested target, and the credentials are configured for use by the local command line tools and SDKs.

acloudguru-sandbox <current|stop|aws|azure|gcloud> [-rod=...]

How does it work

The code to get credentials from git originates from gitauth.

Rod is used to automate the required actions on A Cloud Guru website.

You can see the actual interaction through the browser using Rod confiduration parameters:

-rod=show,slow=1s,trace

Using with a proxy server

Add go-rod proxy parameters:

-rod=proxy=http://<host>:<port>

How to install

You can directly use the released binaries or use a package manager.

Windows with Scoop

Install Scoop:

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression

Add nicerloop/nicerloop bucket:

scoop bucket add nicerloop https://github.com/nicerloop/scoop-nicerloop

Install acloudguru-sandbox:

scoop install nicerloop/acloudguru-sandbox

Similar works and inspiration

https://github.com/josephedward/gosandbox

About

Command-line tool to manage A Cloud Guru sandboxes and configure credentials

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Go 100.0%