I’m trying to get root-ca but it seems there is a problem with either juju or vault
ubuntu@juju:~$ juju run-action vault/leader --wait get-root-ca unit-vault-0: UnitId: vault/0 id: "91" results: Stderr: | All snaps up to date. Stdout: | lxc lxc active lxc output: None status: completed timing: completed: 2020-12-09 13:07:17 +0000 UTC enqueued: 2020-12-09 13:07:07 +0000 UTC started: 2020-12-09 13:07:10 +0000 UTC
As you can see the output is empty and root CA is not there although I can list secrets in vault.
ubuntu@juju-48d934-0-lxd-6:~$ vault secrets list
Path Type Accessor Description
charm-pki-local/ pki pki_424d8583 Charm created PKI backend
cubbyhole/ cubbyhole cubbyhole_4eebd0b8 per-token private secret storage
identity/ identity identity_e175e164 identity store
sys/ system system_3d81439b system endpoints used for control, policy and debugging
I also need to retrieve pki data in charm-pki-local path.