Skip to content

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

License

Notifications You must be signed in to change notification settings

nicerloop/acloudguru-sandbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages