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

create the config if it doesnt exist #5

Open
gkpty opened this issue Aug 3, 2020 · 0 comments
Open

create the config if it doesnt exist #5

gkpty opened this issue Aug 3, 2020 · 0 comments

Comments

@gkpty
Copy link
Contributor

gkpty commented Aug 3, 2020

create the config file in
~/.torus/config
if it already exists read from the config file and initialize the environment variables.

the config file will have a really simple toml type format as the follwoing

[aws]
AWS_PROFILE=default
AWS_REGION=us-east-1
AWS_ACCESS_KEY_ID=your-aws-access-key
AWS_SECRET_ACCESS_KEY=your-aws-secret-key

[godaddy]
GODADDY_API_KEY=your-godaddy-api-key
GODADDY_SECRET_KEY=your-godaddy-secret-key

[cloudflare]
CLOUDFLARE_API_KEY=your-cloudflare-api-key
CLOUDFLARE_EMAIL=your-cloudflare-login-email

you can also use a .env file to overwrite these credentials. you can use other profiles present in your ~/.aws/credentials as well.

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

No branches or pull requests

1 participant