Documentation
¶
Overview ¶
Package azure provides Azure SDK helpers for simulation packs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AzureCredential ¶
func AzureCredential(ctx context.Context) (azcore.TokenCredential, error)
AzureCredential creates an Azure token credential using the default credential chain. The Azure SDK automatically reads from standard environment variables:
- AZURE_TENANT_ID: Azure tenant ID
- AZURE_CLIENT_ID: Azure client (application) ID
- AZURE_CLIENT_SECRET: Azure client secret
It also supports managed identity, Azure CLI credentials, and other authentication methods.
func ClientOptions ¶
func ClientOptions(ctx context.Context) *arm.ClientOptions
ClientOptions returns Azure client options with a custom User-Agent header if an execution ID is present in the context. Azure SDK limits ApplicationID to 24 characters.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.