Skip to content

Instantly share code, notes, and snippets.

Setup information

minio version

+ minio version
Version: 2018-08-10T10:26:45Z
Release-Tag: DEVELOPMENT.2018-08-10T10-26-45Z
Commit-ID: 8fa104f4287549dc2df5aa50c0fd0316e7186886

Setup information

minio version

$ ./minio version
Version: 2018-08-07T08:28:02Z
Release-Tag: DEVELOPMENT.2018-08-07T08-28-02Z
Commit-ID: d1a1347d4564e4f73086a77311615bab1ce96daa

Service Side Encryption (SSE) in AWS S3:

Three types of SSE supported.

  • SSE-C - client provides data encryption key for every get/put object calls. AWS S3 does not store client provided data encryption key. Client provided data encryption key may be generated by AWS KMS for every get/put object calls. It is user responsibility to securely save/map data encryption keys generated by KMS and AWS S3 does not store any data encryption key.
  • SSE-S3 - client does not provide any encryption key for any get/put object calls. AWS S3 uses one single key (generated at first time) to encrypt/decrypt objects. Accordingly AWS docs, this key is stored along with object data.
  • SSE-KMS - client provides Customer Master Key (CMK) for any get/put object calls. AWS S3 uses client's provided CMK to generate data keys using KMS to encrypt/decrypt objects. This data key is encrypted using KMS and is stored along with object data.

Below bucket policy prevents uploading unencrypted objects (even by owner/auth user).

  • S

Web server listens for github PR events.

  1. Follow https://developer.github.com/webhooks/
  2. While creating webhook for question Which events would you like to trigger this webhook? select Let me select individual events. then check Pull request
  3. Below is a sample python web hook server for github events
#!/usr/bin/env python

"""
Github webhook server for mint automation.
"""
@balamurugana
balamurugana / running-minio-in-minikube.md
Last active August 2, 2023 05:32
Running minio in minikube

Prerequisites:

  • Run minikube with kvm driver by $ minikube start --vm-driver kvm

Minio FS mode:

  1. Deploy minio in fs mode with below yaml in a file like $ kubectl create -f my-minio-fs.yaml
## Create persistent volume claim for minio to store data.
apiVersion: v1
kind: PersistentVolumeClaim
@balamurugana
balamurugana / actions\index.js
Created September 19, 2016 18:19
bucket policy
import * as types from '../constants/ActionTypes'
export function addPolicy(bucket, prefix, policy) {
return { type: types.ADD_POLICY, bucket, prefix, policy }
}
export function removePolicy(bucket, prefix) {
return { type: types.REMOVE_POLICY, bucket, prefix }
}