John Hanley

Security, software development and devops in a cloud world - AWS, Azure, Google, IBM & Alibaba

Category

Programming

Socratica Python Kickstarter Project

´╗┐ Socratica Python Kickstarter Campaign Introduction from Socratica’s Kickstarter Campaign Socratica – a small educational film studio with big dreams. You know us for our high-quality video lessons about math, science, and programming, especially PYTHON. Over the course of five… Continue Reading →

Google Cloud IAM – Listing Projects

This article shows how to display a list of Google Cloud Projects that you have access to list.┬áThis article includes two examples in Python that use two different Google Cloud Python libraries. These examples produce the same output as the… Continue Reading →

Google Cloud – Creating OAuth Access Tokens for REST API Calls

The following example shows several important steps to call Google Cloud APIs without using an SDK in Python. Similar code works in just about any language (c#, java, php, nodejs). Change the source code with the filename of your service… Continue Reading →

Google Cloud – Converting Service Account Credentials from P12 to Json Format

I have written a number of articles about Google Cloud Credentials. For Service Account credentials, there are two on-disk formats: P12 and Json. This article shows how to convert these credentials from P12 to Json.

 

Google Cloud – Extracting Private Key from Service Account P12 Credentials

Google Service Account Credentials are available in two file formats: Json and P12. P12 is also known as PFX. The following code shows how to process a P12 file and split into Private Key and Certificate. This code also works… Continue Reading →

Google Cloud – Creating Access Tokens from Service Account P12 Credentials

Google Service Account Credentials are available in two file formats: Json and P12. P12 is also known as PFX. The following code shows how to use P12 credentials to list the buckets in Google Cloud Storage without using an SDK…. Continue Reading →

Google Cloud Stackdriver – IP Addresses

I have worked with Google Cloud Stackdriver for about three months. The more I learn about Stackdriver the more I like it. Great product for logging, monitoring, error reporting, application tracing and application debugging and more. One of the items… Continue Reading →

Google Cloud – Where are my credentials stored

Google Cloud stores your credentials in a database on your system. These credentials can then be used over and over. Google’s choice of a database means that the CLI and SDK tools can manage a huge number of credentials efficiently…. Continue Reading →

Google Cloud Billing Catalog API

Google Cloud supports a Cloud Billing Catalog API. I have not worked with this API yet. Today, I plan to experiment. Documentation page to get started with Google Cloud Platform Pricing: Get Google Cloud Platform Pricing Information This API requires… Continue Reading →

Windows Command Prompt – Loading a File into a Variable

Often I need to load the content of a file into a Windows Command Prompt variable. This is useful when writing batch scripts where the return value from one program is used as input for another program. At other times… Continue Reading →

Understanding Google Cloud Storage Scopes

Google Cloud Storage uses scopes to determine what permissions an identity has on a specified resource. Google scopes are formatted as urls. There are three basic types: read-only, read-write and full-control. read-only Only allows access to read data, including listing… Continue Reading →

© 2019 John Hanley — Powered by WordPress

Theme by Anders NorenUp ↑