Open in app

Sign In

Write

Sign In

Brandon Strohmeyer
Brandon Strohmeyer

8 Followers

Home

About

Apr 17

Using CURL to call AWS Secrets Manager API

Requires cURL v7.75.0 https://curl.se/docs/manpage.html#--aws-sigv4 When bootstrapping minimal instances or containers it is often undesirable to install the full AWS CLI. While it was previously possible to call the AWS API directly, it is a welcome change to have CURL handle the authentication header generation and signing. Example Request: Example Response: { "ARN": "arn:aws:secretsmanager:us-east-1:1234567890:secret:example/example-Xp2R28", "CreatedDate": 1681750380.617, "Name": "example/example", "SecretString": "{\"user\":\"deadbeef\",\"pass\":\"w0rmsinyourbrain\"}", "VersionId": "5e8134b1-ba2a-42e1-95cc-c086585de721", "VersionStages": [ "AWSCURRENT" ] }

1 min read

1 min read


Jul 9, 2021

AWS API client mocking with Go

While learning how to mock the AWS API client for unit testing in Go, I discovered the majority of resources are targeted at the Go veteran. The aim of this article is to bridge the gaps left and explain in practical terms how to get started. The Setup For the purposes of…

AWS

3 min read

AWS

3 min read


Mar 29, 2018

Monitoring AWS Route Table size with Zabbix

Having been bitten by the 100 prefix limit in an AWS route table, it was time to develop some kind of check that would alert if a route table broached that limit. …

AWS

3 min read

Monitoring AWS Route Table size with Zabbix
Monitoring AWS Route Table size with Zabbix
AWS

3 min read


Feb 8, 2018

Forwarding email with Amazon SNS

Some time ago I began the migration of our internal services to AWS, with RANCID being no exception. While the initial setup was a standard build I was dissatisfied with having to forward email back to an internal relay. Enter Amazon SNS. …

AWS

2 min read

AWS

2 min read


May 30, 2017

Netbox API Integration with Python and PowerShell

Recently we’ve started testing a new DCIM tool in an effort to consolidate infrastructure records to a single location. Netbox was chosen based on several criteria, one of which was having an open API that allowed records to be written and retreived at will from any third party application. To…

API

4 min read

API

4 min read


Aug 18, 2016

Distributed Network Backups with RANCID

RANCID has long been a standard for automated network backups, but recently I needed to deploy a second RANCID server to backup a remote group of devices. Not wanting to have to look in two places for backups, however, I was able to configure the secondary node to update the…

Git

3 min read

Git

3 min read

Brandon Strohmeyer

Brandon Strohmeyer

8 Followers

Building things, digital and other.

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech

Teams