Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add PKI and Config #23

Open
krisnova opened this issue Jan 2, 2023 · 2 comments
Open

Add PKI and Config #23

krisnova opened this issue Jan 2, 2023 · 2 comments

Comments

@krisnova
Copy link
Contributor

krisnova commented Jan 2, 2023

Right now the main repository has a make target that is used to kickstart a local auraed environment.

https://github.com/aurae-runtime/aurae/blob/main/docs/certs.md#generating-client-certificate-material

make pki config

which creates mTLS certs, signs them, and configures a configuration file locally on the filesystem.

Can we please design and introduce the subcommands, flags, and features needed such that we can easily create, sign, manage, and mutate TLS certificates and config files for Aurae directly from the ae tool?

Some examples of what I am thinking:

ae create <domain> # Creates CA
ae create <domain> --user=nova # Create a Nova user
ae sign <domain> --user=nova --root=ca.crt
ae config /path/to/pki/ ~/.aurae/config.toml
@voigt
Copy link
Collaborator

voigt commented Jan 13, 2023

Im going to add some tests to the ae pki create command this weekend.

Additionally I would like to proceed with the issue and move additional functionality from make pki config to ae.

Expect PRs. 🤖

@voigt
Copy link
Collaborator

voigt commented Mar 14, 2023

Just to create an overview:

After those PRs are implemented, we are compatible with make pki config and could replace it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants