Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

Google Cloud Platform logo

Open in Cloud Shell

Table of Contents

Before you begin

Before running the samples, make sure you've followed the steps outlined in Using the client library.

cd samples

npm install

cd ..

Samples

I_a_m_credentials.generate_access_token

View the source code.

Open in Cloud Shell

Usage:

node packages/google-iam-credentials/samples/generated/v1/i_a_m_credentials.generate_access_token.js


I_a_m_credentials.generate_id_token

View the source code.

Open in Cloud Shell

Usage:

node packages/google-iam-credentials/samples/generated/v1/i_a_m_credentials.generate_id_token.js


I_a_m_credentials.sign_blob

View the source code.

Open in Cloud Shell

Usage:

node packages/google-iam-credentials/samples/generated/v1/i_a_m_credentials.sign_blob.js


I_a_m_credentials.sign_jwt

View the source code.

Open in Cloud Shell

Usage:

node packages/google-iam-credentials/samples/generated/v1/i_a_m_credentials.sign_jwt.js


Quickstart

View the source code.

Open in Cloud Shell

Usage:

node packages/google-iam-credentials/samples/quickstart.js

[product-docs]: