#Rest API on Storage VM Management LIF

1 messages · Page 1 of 1 (latest)

silent forge
#

Hey guys,
i have a use case where the user of an ONTAP S3 bucket wants to gather information about his buckets over the ONTAP Rest API.
To have more security i'd like to give him access only to the svm's api which holds the users s3 buckets.
But somehow i'm not able to access the api of an SVM mgmt lif. I can access the svm over ssh but when it try to access it via ssh it closes the connection.
Firewall-Policiy is set to default-management so that shouldn't be a problem.

tropic vapor
modest jay
#

and a quick test with curl seems to suggest that you at least get a reply from http://x.x.x.x/api/v1 if you try it on an SVM management LIF

tropic vapor
#

hmm, you are right. still, it's not recommended, and you aren't going to know what you can and can't do until you get the not authorized.
all i had to do was switch the policy to management when i tried it just now. it's possible this is something that changed recently, what version are you testing with?