azurekv

package
v1.31.0 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const AzureAuthLocation = "AZURE_AUTH_LOCATION"

Variables

This section is empty.

Functions

func New

func New(name string) (kv.Service, error)

New creates a new kv.Service backed by Azure Key Vault

func NewFileBasedCredential

func NewFileBasedCredential() (azcore.TokenCredential, error)

Types

type AuthConfig

type AuthConfig struct {
	TenantID     string `json:"tenantId"`
	ClientID     string `json:"clientId"`
	ClientSecret string `json:"clientSecret"`
}

type AzureAuthCredentials

type AzureAuthCredentials struct {
	// contains filtered or unexported fields
}

func NewAzureAuthCredentials

func NewAzureAuthCredentials() (*AzureAuthCredentials, error)

func (*AzureAuthCredentials) GetToken

Jump to

Keyboard shortcuts

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