Create our config object if necessary. This works even if there‘s no configuration file.
Verify that our client has access. We allow untrusted access to puppetca methods but no others.
Is this functionality available?
Make sure that this method is available and authorized.
[Validate]