gcp_access_token

Crates.iogcp_access_token
lib.rsgcp_access_token
version0.1.4
sourcesrc
created_at2021-12-29 19:58:23.740607
updated_at2024-06-25 12:03:31.670972
descriptionthis is a pure rust implimentation to get google cloud access token for servers with service account credentials.
homepagehttps://github.com/gzbakku/gcp-access-token
repositoryhttps://github.com/gzbakku/gcp-access-token
max_upload_size
id504996
size46,142
akku (gzbakku)

documentation

README

gcp_access_token - rust

this is a pure rust implimentation to get google cloud access token for servers with service account credentials.

use gcp_access_token;

#[tokio::main]
async fn main() {

    match gcp_access_token::generator::init("./credentials.json".to_string()).await{
        Ok(v)=>{
            println!("token successfull : {}",v);
        },
        Err(_e)=>{
            println!("!!! failed-token : {:?}",_e);
        }
    }

}

Commit count: 6

cargo fmt