0
votes

I am new to Azure and hit a roadblock. I am trying to use the List Operations API (http://msdn.microsoft.com/en-us/library/windowsazure/gg715318.aspx)

The request needs a parameter called 'subscription-id' - what is this? Is this related to the account/storage I am trying to query or is this specific to me? If it is the latter then how is security maintained?

My goal is to call the API from a C# WCF service.

Thanks, Andrew

1

1 Answers

2
votes

The SubscriptionId is a GUID that identifies a specific subscription. It is visible in several places in the Windows Azure Portal including the Dashboard tabs (bottom right) for Cloud Services and Storage Accounts.

Each Windows Azure subscription is uniquely identified by the SubscriptionId, which is a GUID. The Subscription Name is descriptive and is not necessarily unique. Knowledge of the SubscriptionId by itself is not particularly insecure since any operations against the Windows Azure Service Management REST API requires the use of an X.509 Certificate for authentication - and that does need to be secured since it (with the SubscriptionId) provides access to all Service Management operations.

I did a post recently describing the use of Burp to invoke Service Management operations - although the very popular Fiddler works just as well. You may find the scriptability of these useful while you are ramping up your knowledge prior to using API in a WCF Service.