I hereby claim:
- I am fsultan on github.
- I am fahdsultan (https://keybase.io/fahdsultan) on keybase.
- I have a public key ASB0UqcNnvKsAe1xY-4eANWeveYoHLKYPk3cVC3hcJYqiQo
To claim this, I am signing this object:
| apiVersion: v1 | |
| items: | |
| - apiVersion: v1 | |
| data: | |
| username_admin_password: V1RlTGVEcWNKVQ== | |
| kind: Secret | |
| metadata: | |
| annotations: | |
| meta.helm.sh/release-name: my-release | |
| meta.helm.sh/release-namespace: default |
| apiVersion: v1 | |
| items: | |
| - apiVersion: v1 | |
| data: | |
| ca.crt: | | |
| -----BEGIN CERTIFICATE----- | |
| MIIDBjCCAe6gAwIBAgIBATANBgkqhkiG9w0BAQsFADAVMRMwEQYDVQQDEwptaW5p | |
| a3ViZUNBMB4XDTIzMDMwOTE1Mzk0NVoXDTMzMDMwNzE1Mzk0NVowFTETMBEGA1UE | |
| AxMKbWluaWt1YmVDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALBK | |
| GGy3kyK4qAl1bMM0OHBMPYuFOFk7hQgVCxVnzj8ZENy+pTjUUtbyrT7d2lFL9WS4 |
| apiVersion: apps/v1 | |
| kind: StatefulSet | |
| metadata: | |
| annotations: | |
| meta.helm.sh/release-name: my-release | |
| meta.helm.sh/release-namespace: default | |
| creationTimestamp: "2024-07-12T19:32:43Z" | |
| generation: 1 | |
| labels: | |
| app.kubernetes.io/instance: my-release |
| import unittest | |
| from unittest.mock import MagicMock, patch | |
| from datetime import timedelta | |
| from cryptography import x509 | |
| from cryptography.hazmat.backends import default_backend | |
| from lambda_function import upload_secret | |
| from lambda_function import write_cert | |
| from lambda_function import create_cert | |
| class TestUploadSecret(unittest.TestCase): |
| # import json | |
| import logging | |
| import os | |
| import shutil | |
| import boto3 | |
| from datetime import timedelta | |
| from cryptography import x509 | |
| from cryptography.hazmat.primitives import serialization | |
| from cryptography.hazmat.primitives.asymmetric import rsa | |
| from cryptography.hazmat.primitives.hashes import SHA256 |
I hereby claim:
To claim this, I am signing this object:
| #!/bin/bash | |
| # $Id: ldap_ssh_key.sh 138 2013-09-14 08:24:39Z jmorano $ | |
| # | |
| # Check if the user is in the right group | |
| # and afterwards retrieve the SSH public key from LDAP | |
| # Logs directly in Syslog | |
| # | |
| # | |
| # sshd_config for OpenSSH 6.2 or higher: | |
| # |
| .body { | |
| background-color: black !important; | |
| } | |
| #summary-val, .issue-body-content, .command-bar, .toggle-title, html, body, p, div, h1, h2, h3, h4, h5, h6, img, pre, form, fieldset, .inactive, .activity-item-description blockquote, #issuetable>tbody>tr, #issuetable>tfoot>tr, .saved-search-selector{ | |
| background-color: black !important; | |
| color: #00A400 !important; | |
| } | |
| .aui-badge, .aui-toolbar .toolbar-group .toolbar-trigger, .aui-toolbar .aui-dd-parent .aui-dd-trigger, .lozenge, .jira-feedback-link , #footer-comment-button, .ghx-label-9{ |
| #!/bin/bash | |
| # As root ( via `sudo su -` ): | |
| # Initialize ephemeral storage | |
| curl https://gist.githubusercontent.com/fsultan/9936494/raw/ephemeral > /etc/init.d/ephemeral | |
| chmod +x /etc/init.d/ephemeral | |
| ln -s ../init.d/ephemeral /etc/rcS.d/S10ephemeral | |
| /etc/init.d/ephemeral | |
| ln -s /mnt/jenkins /var/jenkins | |
| #ln -s /mnt/mongodb /var/lib/mongodb |
| /* | |
| $base03: #002b36; | |
| $base02: #073642; | |
| $base01: #586e75; | |
| $base00: #657b83; | |
| $base0: #839496; | |
| $base1: #93a1a1; | |
| $base2: #eee8d5; | |
| $base3: #fdf6e3; | |
| $yellow: #b58900; |