Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessToken ¶
type AzureCLIProfile ¶
func (AzureCLIProfile) FindDefaultSubscriptionId ¶
func (a AzureCLIProfile) FindDefaultSubscriptionId() (string, error)
func (AzureCLIProfile) FindSubscription ¶
func (a AzureCLIProfile) FindSubscription(subscriptionId string) (*cli.Subscription, error)
type Config ¶
type Config struct { ManagementURL string // Core ClientID string SubscriptionID string TenantID string Environment string SkipCredentialsValidation bool SkipProviderRegistration bool // Service Principal Auth ClientSecret string // Bearer Auth AccessToken *adal.Token IsCloudShell bool }
Config is the configuration structure used to instantiate a new Azure management client.
func (*Config) LoadTokensFromAzureCLI ¶
func (*Config) ValidateBearerAuth ¶
func (*Config) ValidateServicePrincipal ¶
Click to show internal directories.
Click to hide internal directories.