azure

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 23, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL