Software Development Kit (SDK) and API Discussions

http server requirement for running API's

JGPSHNTAP
2,006 Views

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.

 

Thanks

3 REPLIES 3

asulliva
1,983 Views

Hello @JGPSHNTAP,

 

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

Andrew

If this post resolved your issue, please help others by selecting ACCEPT AS SOLUTION or adding a KUDO.

JGPSHNTAP
1,973 Views

Andrew -

 

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?   

asulliva
1,970 Views

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...

If this post resolved your issue, please help others by selecting ACCEPT AS SOLUTION or adding a KUDO.
Public