Skip to content

Instantly share code, notes, and snippets.

View palimarium's full-sized avatar

Palimariu Marius palimarium

View GitHub Profile
@palimarium
palimarium / vault-pki.sh
Last active July 4, 2023 00:56
configuration-vault-pki
# Creating the root CA:
# First, enable the pki secrets engine at the pki path:
$ vault secrets enable pki
# Tune the pki secrets engine to issue certificates with a maximum time-to-live (TTL)
# of 87600 hours (10 years):
$ vault secrets tune -max-lease-ttl=87600h pki