This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Note you must be authorised to use the provided GCloud project. | |
// Use `gcloud auth application-default login` to auth for the current machine | |
const iot = require('@google-cloud/iot'); | |
const { KeyManagementServiceClient } = require('@google-cloud/kms'); | |
const uuid = require('uuid'); | |
const { readFileSync } = require('fs'); | |
const crypto = require('crypto'); | |
const { config } = require('process'); |