Skip to content
This repository has been archived by the owner. It is now read-only.

Latest commit

 

History

History
27 lines (21 loc) · 879 Bytes

README.md

File metadata and controls

27 lines (21 loc) · 879 Bytes

video-thumbnail Build Status Go Report Card

deps

$ go mod tidy && go get -u

dev deps

$ apt-get update && apt-get -y install --no-install-recommends ffmpeg libavcodec-dev libavutil-dev libavformat-dev libswscale-dev

secrets

VAULT_ROLE_ID=
VAULT_SECRET_ID=

vault

$ vault auth enable approle
$ vault write auth/approle/role/dratini-role secret_id_ttl=0 token_policies=common-policy,dratini-policy
$ vault read auth/approle/role/dratini-role/role-id
$ vault write -f auth/approle/role/dratini-role/secret-id