azure

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2025 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Overview

Package azure allows to fetch secrets from Azure keyvault service

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KeyVaultBackend

type KeyVaultBackend struct {
	Config KeyVaultBackendConfig
	Client keyvaultClient
}

KeyVaultBackend is a backend to fetch secrets from Azure

func NewKeyVaultBackend

func NewKeyVaultBackend(bc map[string]interface{}) (*KeyVaultBackend, error)

NewKeyVaultBackend returns a new backend for Azure

func (*KeyVaultBackend) GetSecretOutput

func (b *KeyVaultBackend) GetSecretOutput(secretName string) secret.Output

GetSecretOutput returns a the value for a specific secret

type KeyVaultBackendConfig

type KeyVaultBackendConfig struct {
	KeyVaultURL string `mapstructure:"keyvaulturl"`
	ClientID    string `mapstructure:"clientid"`
}

KeyVaultBackendConfig contains the configuration to connect for Azure backend

Jump to

Keyboard shortcuts

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