Skip to content

Instantly share code, notes, and snippets.

View BradleyBoutcher's full-sized avatar
🏠
Working from home

Bradley Boutcher BradleyBoutcher

🏠
Working from home
View GitHub Profile
@BradleyBoutcher
BradleyBoutcher / mongo-cheatsheet.md
Created March 5, 2024 19:21 — forked from dittmaraz/mongo-cheatsheet.md
MongoDB/Docker Cheatsheet

Mongo/Docker Cheatsheet

To download the latest image:

$ docker pull mongo:latest

To run a mongo container with detached mode(-p) and with ports mapped (-p 27017-27019:27017-27019) and named (--name mongodb):

$ docker run -d -p 27017-27019:27017-27019 --name mongodb mongo:latest

@BradleyBoutcher
BradleyBoutcher / molecule-test-workflow.yml
Created September 25, 2020 15:38
Ansible Molecule example for Conjur Host Identity
name: "cyberark.conjur"
on:
push:
paths:
- 'roles/conjur_host_identity/**'
- 'molecule/conjur_host_identity/**'
- '.github/workflows/molecule-test.yml'
- 'molecule/common/**'
pull_request:
paths:
@BradleyBoutcher
BradleyBoutcher / mssql-connector-problems.MD
Last active January 13, 2020 21:27
MsSQL Connector Problems

MsSQL Connector Problems

Bad/incompatible MsSQL client settings

Symptoms

  • You see an error in your Secretless logs that looks something like:
    [00] 2020/01/13 19:31:44 [WARN]  Starting TCP listener on 0.0.0.0:2223...
    [00] 2020/01/13 19:31:44 [INFO]  mssql: Starting service
    [00] 2020/01/13 19:31:44 [INFO]  Waiting for new configuration...
    

Generic Authentication - HTTP(S)

Secretless comes with built-in connectors that allow you to connect to services like AWS, or services that use Basic authentication. But what if you want to connect to a service that Secretless has no connector for? No problem! The Generic HTTP connector can handle most services. It gives you the ability to inject authentication types and their respective credentials directly into a header, as well as functions that can be used for encrypting the contents of your request.


Credentials

  • pattern

Optional