Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Session ¶
type Session struct { SubscriptionID string TenantID string Authorizer autorest.Authorizer Expires *time.Time }
Session info
func GetNewSession ¶
func GetNewSession(ctx context.Context, d *plugin.QueryData, tokenAudience string) (session *Session, err error)
GetNewSession creates an session configured from environment variables/CLI in the order: 1. Client credentials 2. Client certificate 3. Username password 4. MSI 5. CLI
Click to show internal directories.
Click to hide internal directories.