-
Notifications
You must be signed in to change notification settings - Fork 259
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
user-defined profiles #1274
Comments
Hey @oncilla, This does sound like an interesting feature, but when we discussed this in our triage meeting, we decided we need some more information regarding the use case to get a clear view of a potential solution, or at least a general direction. Could you provide some more background, and the estimated number of profiles to be shared? Are you using both the CLI and CA, Here are some of my current thoughts: You suggest to use the Having some form of sharing templates and address those sounds like it needs some form of file sharing capability. It is not likely we'll add something like that to the CLI, unless we could use it for more purposes. It could be an option to store templates in the CA database, which would then be in charge of providing shared access to templates. |
Hi @hslatman Sure. I can give a bit more detail on my concrete use case. I'm currently a maintainer of the scion-pki tool that is used to manage certificates in the SCION Control Plane PKI. It is heavily inspired by step cli because I think you guys build a very solid tool. However, it does not have feature parity with your tool, and we do not have the resources to reach that anyway. From my point of view, it would be a lot more beneficial to use the step tool directly, and extend it with the necessary functionality for the SCION Control Plane PKI through a scion plugin. (similar to the step kms plugin.) In fact, I have already started with a PoC in https://github.com/scionproto-contrib/step-scion-plugin and it just works ™️ Now, for the SCION CP-PKI, we require a set of profiles that is slightly different from the profiles you provide by default.
I think it is different in the sense that it is a lot more ergonomic to use. If we have "named" templates that are supported in the profiles, we could allow them to be tab-completed. Also, we can refer to them with a short name (e.g., I also think it is not only beneficial to us, but to every user that has to define their own templates that they use often when manually creating certificates.
In our specific case, I think sharing the files is not an issue, it can be part of the installation process (or done dynamically by invoking the scion plugin). |
Hello!
Issue details
I have a couple of certificate templates that I use very frequently. I would love to be able to reference them
by a name with the
--profile
flag instead of providing them with the template flag.The idea would be to place them in a specific path (e.g., the step dir) and let the CLI discover them
automatically.
I would go as far as even integrating this in the help message and tab completion. Such that it is
easy to use.
I would be happy to contribute the code to achieve this. However, I need some guidance:
Why is this needed?
I would like to easily share a bundle of profiles with other users and make them easy to discover in the help message and tab completion.
The text was updated successfully, but these errors were encountered: