Skip to content

Instantly share code, notes, and snippets.

View twosdai's full-sized avatar
🐶
🐱

Daniel Wasserlauf twosdai

🐶
🐱
View GitHub Profile
@twosdai
twosdai / RoleAssumption.md
Last active June 21, 2022 18:31
IAM cross account Role assumptions

Role Assumption

Purpose

This article describes how to create a IAM role and enable access for the Paigo Account.

Requirements

  • An AWS account
  • Access to manage and create IAM roles
// Just run npm i @aws-sdk/client-pricing --save-dev
// I tested the below commands with Node Version: 14.19.2 on PopOS Linux
const {
PricingClient,
DescribeServicesCommand,
GetAttributeValuesCommand,
GetProductsCommand,
} = require('@aws-sdk/client-pricing');
const { promises } = require('fs');
@twosdai
twosdai / key.md
Created February 28, 2019 00:45
Twitter (un)official Consumer Key

Twitter Official Consumer Key

Twitter for Android

type:            PIN
Consumer key:    3nVuSoBZnx6U4vzUxf5w
Consumer secret: Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys

Twitter for iPhone

type:            PIN

Consumer key: IQKbtAYlXLripLGPWd0HUA

@twosdai
twosdai / key.md
Created February 28, 2019 00:45
Twitter (un)official Consumer Key

Twitter Official Consumer Key

Twitter for Android

type:            PIN
Consumer key:    3nVuSoBZnx6U4vzUxf5w
Consumer secret: Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys

Twitter for iPhone

type:            PIN

Consumer key: IQKbtAYlXLripLGPWd0HUA