config

package
v0.3.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2025 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const PluginName = "azure"

Variables

This section is empty.

Functions

This section is empty.

Types

type AzureConnection

type AzureConnection struct {
	Environment         *string `hcl:"environment"`
	TenantId            *string `hcl:"tenant_id"`
	SubscriptionId      *string `hcl:"subscription_id"`
	ClientId            *string `hcl:"client_id"`
	ClientSecret        *string `hcl:"client_secret"`
	CertificatePath     *string `hcl:"certificate_path"`
	CertificatePassword *string `hcl:"certificate_password"`
	UserName            *string `hcl:"username"`
	Password            *string `hcl:"password"`
}

func (*AzureConnection) GetSession

func (c *AzureConnection) GetSession() (*AzureConnectionSession, error)

func (*AzureConnection) Identifier

func (c *AzureConnection) Identifier() string

func (*AzureConnection) Validate

func (c *AzureConnection) Validate() error

type AzureConnectionSession

type AzureConnectionSession struct {
	Credential     azcore.TokenCredential
	SubscriptionID string
	TenantID       string
	ClientOptions  *policy.ClientOptions
}

Jump to

Keyboard shortcuts

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