config

package
v5.48.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClientCertificate

func GetClientCertificate(ctx *pulumi.Context) string

Base64 encoded PKCS#12 certificate bundle to use when authenticating as a Service Principal using a Client Certificate

func GetClientCertificatePassword

func GetClientCertificatePassword(ctx *pulumi.Context) string

The password to decrypt the Client Certificate. For use when authenticating as a Service Principal using a Client Certificate

func GetClientCertificatePath

func GetClientCertificatePath(ctx *pulumi.Context) string

The path to the Client Certificate associated with the Service Principal for use when authenticating as a Service Principal using a Client Certificate

func GetClientId

func GetClientId(ctx *pulumi.Context) string

The Client ID which should be used for service principal authentication

func GetClientIdFilePath added in v5.41.0

func GetClientIdFilePath(ctx *pulumi.Context) string

The path to a file containing the Client ID which should be used for service principal authentication

func GetClientSecret

func GetClientSecret(ctx *pulumi.Context) string

The application password to use when authenticating as a Service Principal using a Client Secret

func GetClientSecretFilePath added in v5.41.0

func GetClientSecretFilePath(ctx *pulumi.Context) string

The path to a file containing the application password to use when authenticating as a Service Principal using a Client Secret

func GetDisableTerraformPartnerId

func GetDisableTerraformPartnerId(ctx *pulumi.Context) bool

func GetEnvironment

func GetEnvironment(ctx *pulumi.Context) string

The cloud environment which should be used. Possible values are: `global` (also `public`), `usgovernmentl4` (also `usgovernment`), `usgovernmentl5` (also `dod`), and `china`. Defaults to `global`. Not used and should not be specified when `metadataHost` is specified.

func GetMetadataHost added in v5.35.0

func GetMetadataHost(ctx *pulumi.Context) string

The Hostname which should be used for the Azure Metadata Service.

func GetMsiEndpoint

func GetMsiEndpoint(ctx *pulumi.Context) string

The path to a custom endpoint for Managed Identity - in most circumstances this should be detected automatically

func GetOidcRequestToken added in v5.23.0

func GetOidcRequestToken(ctx *pulumi.Context) string

The bearer token for the request to the OIDC provider. For use when authenticating as a Service Principal using OpenID Connect.

func GetOidcRequestUrl added in v5.23.0

func GetOidcRequestUrl(ctx *pulumi.Context) string

The URL for the OIDC provider from which to request an ID token. For use when authenticating as a Service Principal using OpenID Connect.

func GetOidcToken added in v5.28.0

func GetOidcToken(ctx *pulumi.Context) string

The ID token for use when authenticating as a Service Principal using OpenID Connect.

func GetOidcTokenFilePath added in v5.29.1

func GetOidcTokenFilePath(ctx *pulumi.Context) string

The path to a file containing an ID token for use when authenticating as a Service Principal using OpenID Connect.

func GetPartnerId

func GetPartnerId(ctx *pulumi.Context) string

A GUID/UUID that is registered with Microsoft to facilitate partner resource usage attribution

func GetTenantId

func GetTenantId(ctx *pulumi.Context) string

The Tenant ID which should be used. Works with all authentication methods except Managed Identity

func GetUseAksWorkloadIdentity added in v5.48.0

func GetUseAksWorkloadIdentity(ctx *pulumi.Context) bool

Allow Azure AKS Workload Identity to be used for Authentication.

func GetUseCli

func GetUseCli(ctx *pulumi.Context) bool

Allow Azure CLI to be used for Authentication

func GetUseMsi

func GetUseMsi(ctx *pulumi.Context) bool

Allow Managed Identity to be used for Authentication

func GetUseOidc added in v5.23.0

func GetUseOidc(ctx *pulumi.Context) bool

Allow OpenID Connect to be used for authentication

Types

This section is empty.

Jump to

Keyboard shortcuts

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