I like the idea of --type x509. We can pick a default type, I'd like 'cert' from the wtf-is-it standpoint (ec2 and x509 are pretty clear).
The --data option should be a filename or '-' for stdin. If it is required, maybe even read from stdin if --data is not supplied for the correct type.
I like the idea of --type x509. We can pick a default type, I'd like 'cert' from the wtf-is-it standpoint (ec2 and x509 are pretty clear).
The --data option should be a filename or '-' for stdin. If it is required, maybe even read from stdin if --data is not supplied for the correct type.