2018-02-08 04:36 AM
I'm just trying to understand if we need to enable the http servers (system services web show)
or can we just give the privileged account access via security login with Ontapi.
Any documentation link on this would be great.
2018-02-08 06:51 AM
ZAPI is accessible over both HTTP (when enabled) and HTTPS...there's no reason to enable HTTP if you don't want/need to. To access ZAPI, regardless of protocol, the user will need to have the "ontapi" application enabled for them:
security login create -vserver <svm_name> -user-or-group-name <username> -application ontapi -authentication-method password
2018-02-08 07:05 AM
I agree with your statement and I'm aware of of the security login approach for sure.
So, is it safe to assume that all tools (OCUM, PS) they default to https?
2018-02-08 07:10 AM
PowerShell for sure, but I'm not familiar with OCUM enough to be able to *authortatively* say "yes, it defaults to HTTPS". That being said, I would assume it does...