config

package
v4.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClientCertificatePassword

func GetClientCertificatePassword(ctx *pulumi.Context) string

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 GetClientSecret

func GetClientSecret(ctx *pulumi.Context) string

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

func GetDisableTerraformPartnerId

func GetDisableTerraformPartnerId(ctx *pulumi.Context) bool

Disable the Terraform Partner ID which is used if a custom `partner_id` isn't specified.

func GetEnvironment

func GetEnvironment(ctx *pulumi.Context) string

The cloud environment which should be used. Possible values are `global` (formerly `public`), `usgovernment`, `dod`, `germany`, and `china`. Defaults to `global`.

func GetMetadataHost

func GetMetadataHost(ctx *pulumi.Context) string

[DEPRECATED] 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 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 GetUseCli added in v4.1.0

func GetUseCli(ctx *pulumi.Context) bool

Allow Azure CLI to be used for Authentication.

func GetUseMicrosoftGraph added in v4.1.0

func GetUseMicrosoftGraph(ctx *pulumi.Context) bool

Beta: Use the Microsoft Graph API, instead of the legacy Azure Active Directory Graph API, where supported.

func GetUseMsi

func GetUseMsi(ctx *pulumi.Context) bool

Allow Managed Identity to be used for Authentication.

func PkgVersion

func PkgVersion() (semver.Version, error)

PkgVersion uses reflection to determine the version of the current package.

Types

This section is empty.

Jump to

Keyboard shortcuts

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