-
- Novice
- Posts: 7
- Liked: never
- Joined: Aug 18, 2017 3:43 pm
- Full Name: Ethan Ballinger
- Contact:
How to login to customer's backup site with vCloud creds
I'm trying to login to the a customer's backup site using their vCloud credentials. I'm able to login as an administrator to the Backup Enterprise Manager and make API calls, but I want to use the vCloud credentials to see the customer's specific information.
When trying the following:
POST https://mynetwork:9398/api/sessionMngr/?v=v1_3
username: username
password: password
I get the following: 403 Forbidden. I can login with their credentials to the GUI at: https://mynetwork:9443/vCloud/ORGNAME/login.aspx without issue, so I know it's not an issue with the credentials.
When trying the following:
POST https://mynetwork:9398/api/sessionMngr/?v=v1_3
username: username
password: password
I get the following: 403 Forbidden. I can login with their credentials to the GUI at: https://mynetwork:9443/vCloud/ORGNAME/login.aspx without issue, so I know it's not an issue with the credentials.
-
- Product Manager
- Posts: 20405
- Liked: 2298 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: How to login to customer's backup site with vCloud creds
Could you elaborate on the whole scenario as well as an information you're trying to get? Or may be you can refer to Enterprise Manager (or its portal) GUI where the needed information can be found?
-
- Novice
- Posts: 7
- Liked: never
- Joined: Aug 18, 2017 3:43 pm
- Full Name: Ethan Ballinger
- Contact:
Re: How to login to customer's backup site with vCloud creds
Thank you for the quick response.
At a high level, I'm able to login with my administrator account to the Enterprise manager GUI and through the API. I can also login to the organization site with it's vCloud credentials. I cannot login with the organization's vCloud credentials through the API. We are trying to segment Veeam such that Customer A and Customer B don't know about each other. This is possible in vCloud by logging in to their respective customer sites. This can also be accomplished through the API. I can't seem to replicate the same thing with Veeam through the API.
I'm receive a 403 when I attempt to access this:
https://mysite:9398/api/sessionMngr/?v=v1_3 with the organization's vCloud credentials. I am able to login to Veeam with the customer's vCloud credentials at the following URL:
https://mysite:9443/vCloud/myorganization/login.aspx, but the URL above for the API does not seem to allow my through. I'm using the same credentials for both URLs.
Here is a screenshot from my login to Veeam Enterprise Manager. I've hidden the name of the organization, but let's just say it is "myorganization".
http://imgur.com/a/XEflL
Is is possible to do what I'm trying to accomplish? Seems like each customer should be able to access the API and be limited to their backup site.
At a high level, I'm able to login with my administrator account to the Enterprise manager GUI and through the API. I can also login to the organization site with it's vCloud credentials. I cannot login with the organization's vCloud credentials through the API. We are trying to segment Veeam such that Customer A and Customer B don't know about each other. This is possible in vCloud by logging in to their respective customer sites. This can also be accomplished through the API. I can't seem to replicate the same thing with Veeam through the API.
I'm receive a 403 when I attempt to access this:
https://mysite:9398/api/sessionMngr/?v=v1_3 with the organization's vCloud credentials. I am able to login to Veeam with the customer's vCloud credentials at the following URL:
https://mysite:9443/vCloud/myorganization/login.aspx, but the URL above for the API does not seem to allow my through. I'm using the same credentials for both URLs.
Here is a screenshot from my login to Veeam Enterprise Manager. I've hidden the name of the organization, but let's just say it is "myorganization".
http://imgur.com/a/XEflL
Is is possible to do what I'm trying to accomplish? Seems like each customer should be able to access the API and be limited to their backup site.
-
- Product Manager
- Posts: 20405
- Liked: 2298 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: How to login to customer's backup site with vCloud creds
Currently, that is by design behaviour - you cannot authenticate against EM RESTful API with organization administrator accounts. However, thank you for the feedback; highly appreciated.
-
- Novice
- Posts: 7
- Liked: never
- Joined: Aug 18, 2017 3:43 pm
- Full Name: Ethan Ballinger
- Contact:
Re: How to login to customer's backup site with vCloud creds
Have there been any updates to the API regarding accessing the API with organization administrator accounts?
-
- Product Manager
- Posts: 20405
- Liked: 2298 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: How to login to customer's backup site with vCloud creds
Nope, nothing has changed for this matter. Thanks.
Who is online
Users browsing this forum: No registered users and 1 guest