Canonical Solutions Serial Vault Selfhosted

  • By Snappy enablement bot
juju deploy canonical-solutions-serial-vault-selfhosted
Show information
You will need Juju 2.9 to be able to run this command. Learn how to upgrade to Juju 2.9.
Channel Version Revision Published Runs on
latest/stable 2 2 18 Mar 2021
Ubuntu 16.04
latest/candidate 2 2 18 Mar 2021
Ubuntu 16.04
latest/edge 2 2 18 Mar 2021
Ubuntu 16.04

Platform:

Ubuntu
16.04

About

Service that signs serial assertions from Ubuntu devices. Read more


Relevant links


Discuss this charm

Share your thoughts on this charm with the community on discourse.

Join the discussion

About

This charm installs a Serial Vault service, https://github.com/CanonicalLtd/serial-vault

The charm installs the Serial-Vault from a PPA hosted on launchpad.net.

Install

After bootstrapping a juju environment, run:

juju deploy postgresql

juju deploy cs:~canonical-solutions/serial-vault-selfhosted serial-vault         # The signing service
juju add-relation serial-vault:database postgresql:db-admin

juju deploy cs:~canonical-solutions/serial-vault-selfhosted serial-vault-admin   # The admin service
juju add-relation serial-vault-admin:database postgresql:db-admin
juju config serial-vault-admin service_type=admin

# Expose the services
juju expose serial-vault         # port 8080
juju expose serial-vault-admin   # port 8081

Note: the db-admin relation is needed for the PostgreSQL service currently to avoid object ownership issues.