Written for fairly adept technical users, preferably of Debian GNU/Linux, not for absolute beginners.
|
You'll probably be working with a single smartcard, so you'll want only one primary key ( |
| import * as k8s from "@pulumi/kubernetes"; | |
| import { streamInvoke } from "@pulumi/pulumi/runtime"; | |
| import * as pulumi from "@pulumi/pulumi"; | |
| // Install the sealed secret controller. | |
| new k8s.yaml.ConfigFile("sealed-secret-controller", { | |
| file: "https://github.com/bitnami-labs/sealed-secrets/releases/download/v0.12.4/controller.yaml", | |
| }) | |
| // Create a SealedSecret. |
| import * as pulumi from "@pulumi/pulumi"; | |
| import * as k8s from "@pulumi/kubernetes"; | |
| import * as k8sOutput from "@pulumi/kubernetes/types/output"; | |
| import * as k8sapi from 'kubernetes-client'; | |
| const job = new k8s.batch.v1.Job("job", { | |
| spec: { | |
| template: { | |
| spec: { | |
| containers: [{ |
|
You'll probably be working with a single smartcard, so you'll want only one primary key ( |
My Elasticsearch cheatsheet with example usage via rest api (still a work-in-progress)
| #!/bin/bash | |
| # Install Splunk 6.2 on CentOS 7 as a non-root user service that runs on boot with | |
| # systemd. This script also opens the firewall to allow syslog on UDP port 514. Since | |
| # we're running Splunk as non-root, this port is then forwarded to 5514. Configuring a | |
| # syslog input in slunk on UDP 514 will gather this data. Must be run as root | |
| # Create Account | |
| useradd splunk | |
| groupadd splunk |
GPG subkeys marked with the "authenticate" capability can be used for public
key authentication with SSH. This is done using gpg-agent which, using the
--enable-ssh-support option, can implement the agent protocol used by SSH.
A working gpg2 setup is required. It may be possible to use gpg 1.4 but with gpg-agent compiled from gpg2. If you are using OS X 10.9 (Mavericks) then you may find the instructions [here][1] useful.
| # Flask related imports | |
| from flask import Flask, render_template, jsonify, abort, request, make_response, session, redirect, url_for | |
| # Flask extensions | |
| from flask.ext.mongoengine import MongoEngine | |
| from flask_debugtoolbar import DebugToolbarExtension | |
| # Flask blueprints | |
| import companies | |
| from companies.views import companies |