hashivault_pki_set_signed – Hashicorp Vault PKI Set Signed Intermediate¶
New in version 4.5.0.
Synopsis¶
This module allows submitting the signed CA certificate corresponding to a private key generated via intermediate type in hashivault_pki_ca module.
The certificate should be submitted in PEM format.
Requirements¶
The below requirements are needed on the host that executes this module.
hvac>=0.10.1
ansible>=2.0.0
requests
Parameters¶
Examples¶
---
- hosts: localhost
tasks:
- name: Generate Intermediate
hashivault_pki_ca:
mount_point: "{{mount_inter}}"
common_name: my common name
kind: intermediate
register: response
- name: List Certificates
hashivault_pki_cert_list:
mount_point: "{{mount_inter}}"
register: list
- name: Sign Intermediate
hashivault_pki_cert_sign:
mount_point: "{{mount_root}}"
csr: "{{response.data.csr}}"
common_name: my common name
type: intermediate
register: response
- name: Set Signed Intermediate
hashivault_pki_set_signed:
mount_point: "{{mount_inter}}"
certificate: "{{ response.data.certificate }}\n{{ response.data.issuing_ca }}"
Status¶
This module is not guaranteed to have a backwards compatible interface. [preview]
This module is maintained by the Ansible Community. [community]
Authors¶
UNKNOWN
Hint
If you notice any issues in this documentation, you can edit this document to improve it.