azcredentials

package
v0.0.0-test Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2021 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AzureAuthManagedIdentity = "msi"
	AzureAuthClientSecret    = "clientsecret"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AzureClientSecretCredentials

type AzureClientSecretCredentials struct {
	AzureCloud   string
	Authority    string
	TenantId     string
	ClientId     string
	ClientSecret string
}

func (*AzureClientSecretCredentials) AzureAuthType

func (credentials *AzureClientSecretCredentials) AzureAuthType() string

type AzureCredentials

type AzureCredentials interface {
	AzureAuthType() string
}

func FromDatasourceData

func FromDatasourceData(data map[string]interface{}, secureData map[string]string) (AzureCredentials, error)

type AzureManagedIdentityCredentials

type AzureManagedIdentityCredentials struct {
	ClientId string
}

func (*AzureManagedIdentityCredentials) AzureAuthType

func (credentials *AzureManagedIdentityCredentials) AzureAuthType() string

Jump to

Keyboard shortcuts

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