feat(terraform/vault): add RabbitMQ server role

And allow CI to emit it.

Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
This commit is contained in:
raito 2025-01-01 03:42:51 +01:00
parent 61aed32221
commit 6ba24ad1cb

View file

@ -63,7 +63,9 @@
ci = {
# This allows the CI to issue certificates for CI purposes.
# It should be a relative path.
"pki/issue/ci".capabilities = [ "read" "create" "update" ];
"issue/ci".capabilities = [ "read" "create" "update" ];
# CI is allowed to be a RabbitMQ server.
"issue/rabbitmq-server".capabilities = [ "read" "create" "update" ];
};
};
@ -77,6 +79,16 @@
allow_wildcard_certificates = false;
ou = [ "Floral Systems Continuous Integration Systems" ];
};
rabbitmq-server = {
ttl = "7d";
max_ttl = "45d";
allowed_domains = [ "amqp.forkos.org" ];
allow_subdomains = false;
allow_glob_domains = false;
allow_wildcard_certificates = false;
ou = [ "Floral Systems AMQP Systems" ];
};
};
# It's possible to continue the chain but we don't need that here.