config

package
v3.6.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 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 added in v3.1.0

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 `public`, `usgovernment`, `german`, and `china`. Defaults to `public`.

func GetMetadataHost

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 Service Identity - in most circumstances this should be detected automatically.

func GetPartnerId added in v3.1.0

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 MSI.

func GetUseMsi

func GetUseMsi(ctx *pulumi.Context) bool

Allow Managed Service Identity to be used for Authentication.

func PkgVersion added in v3.3.0

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