Skip to content

antixcode6/gcloud-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gcloud-rs

Wrapper for the gcloud cli tool written in Rust.

Currently does nothing, hopefully soon it will do

How to use

  • create a JSON file based off your service account

  • connect to it with gcloud auth activate-service-account <service-account>@cyderes-test.iam.gserviceaccount.com --key-file=/<path-to-json>/test.json --project=cyderes-test

  • connect to gcloud with the following command gcloud auth application-default login

  • run the script

  • use the flags

    -s, --secret Name of the secret to put into gcloud -- default value ""

    -p, --profile Profile to use (test, dev, prod) -- default value ""

    -l, --list list secrets in an account

Example command: gcloud-rs -s test-secret -v test-secret-value -p test will create a secret with a version with the value you provide with the --value -v flag

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages