Skip to content

Instantly share code, notes, and snippets.

View devorbitus's full-sized avatar

Chris Gruel devorbitus

View GitHub Profile
@devorbitus
devorbitus / README.md
Created September 5, 2025 16:05
Domain Lookup
@devorbitus
devorbitus / README.md
Created June 16, 2025 17:38
GCP Enable Flow API

GCP Enable Flow API

You can definitely several of those GCP APIs that our integration needs individually, but there is a little known webpage that allows you to enable them all at once like so. If you examine the URL, you can see how each of the APIs have the official service name added to the query parameters and the user simply selects which project they want to apply these to and it will enable them all. If the API is already enabled it will just skip it. https://console.cloud.google.com/apis/enableflow;apiid=cloudresourcemanager.googleapis.co[…]pis.com,logging.googleapis.com,cloudasset.googleapis.com

@devorbitus
devorbitus / README.md
Last active March 19, 2025 13:31
Akeyless Hashi Vault Proxy examples

Akeyless Hashi Vault Proxy examples

The Secret Path within Akeyless

/Dev/Lab/SecretKey

Access through the Akeyless CLI

@devorbitus
devorbitus / README.md
Last active March 12, 2025 14:26
Akeyless Nu Shell Account Reference Archive

Akeyless Nu Shell Account Reference Archive

This script will use an Akeyless T-Token to authenticate to the API and download account details for reference WITHOUT accessing secret values.

The script will create a datadirectory and place the JSON files into that directory.

Prerequisites

  • Install Nu Shell
  • Download the script and make it executable
  • Execute the script
@devorbitus
devorbitus / README.md
Last active February 20, 2025 17:03
High-Level Plan for Deploying an Akeyless Gateway in an AKS Cluster Using Workload Identity

High-Level Plan for Deploying an Akeyless Gateway in an AKS Cluster Using Workload Identity

Deploying an Akeyless Gateway into an Azure Kubernetes Service (AKS) cluster using Azure Workload Identity allows the Gateway to authenticate using its own Azure AD Identity without storing long-lived credentials. This setup ensures secure, seamless authentication through Azure AD authentication methods.


1. Prerequisites

Before proceeding, ensure you have:

  • An AKS Cluster (running Kubernetes 1.21+)
  • Azure CLI installed and authenticated (az login)
@devorbitus
devorbitus / README.md
Last active March 10, 2025 13:36
Akeyless GitHub SSH Certificate Integration

Akeyless GitHub SSH Certificate Integration

Background

GitHub Enterprise plans allow for setting an SSH Certificate Authority. We can configure the Akeyless CLI to use the company SSO to enable the user to authenticate and then use an SSH Cert Issuer to create and utilize an SSH Certificate signed by the CA of an Akeyless RSA2048 DFC Key. The SSH Certificate Issuer will use the user's local SSH key to create the SSH Certificate. We can confgure the user's local SSH client to utilize the certificate for connections to GitHub like below.

Instructions

  • Download the Akeyless CLI and configure the default profile to use the appropriate Single Sign On SSO (SAML/OIDC) for the user
  • Create a DFC RSA2048 Key (Signer Key)
  • Create a SSH Cert Issuer that uses the Signer Key
@devorbitus
devorbitus / README.md
Last active January 23, 2025 17:51
Akeyless EC2 Tokenize Batch Cloud Identity
@devorbitus
devorbitus / README.md
Last active March 18, 2025 15:37
Akeyless K8s Auth Config Dedicated Service Account

Akeyless K8s Auth Config Dedicated Service Account

Existing K8s documentation

Extract the Cluster CA Certificate and Cluster Host Endpoint

kubectl config view --flatten --minify --output=go-template='====================
Cluster Endpoint URL:
====================
@devorbitus
devorbitus / README.md
Created January 16, 2025 20:01
Akeyless MySQL Create Admin User for Dynamic Secrets

Akeyless MySQL Create Admin User for Dynamic Secrets

GRANT ALL PRIVILEGES ON *.* TO 'newadmin'@'%' WITH GRANT OPTION;
FLUSH PRIVILEGES;
@devorbitus
devorbitus / README.md
Last active January 16, 2025 16:10
Akeyless Postgres K8s

Akeyless Postgres K8s

Create the Root Password Secret

kubectl create secret generic postgres-password --from-literal=PASSWORD=$(openssl rand -base64 32)

Deploy Manifests