Skip to content

Instantly share code, notes, and snippets.

@sa2ajj
Created January 9, 2019 19:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sa2ajj/fe749284d8e5c1726e42e408978d9aba to your computer and use it in GitHub Desktop.
Save sa2ajj/fe749284d8e5c1726e42e408978d9aba to your computer and use it in GitHub Desktop.
vault write --format=json \
ca-hot/roles/test-role \
allowed_domains=${hot_domain} \
allow_subdomains=false \
server_flag=false \
client_flag=false \
email_protection=true \
key_type=ec \
key_bits=256 \
basic_constraints_valid_for_non_ca=true \
max_ttl=72h
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment