Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAzureConfigFromBackendConfig ¶
func NewAzureConfigFromBackendConfig(backendId string, sessionConfig AzureSessionBackendConfig) (*autorest.Authorizer, error)
Types ¶
type AzureKeyVaultBackend ¶
type AzureKeyVaultBackend struct { BackendId string Config AzureKeyVaultBackendConfig Secret map[string]string }
func NewAzureKeyVaultBackend ¶
func NewAzureKeyVaultBackend(backendId string, bc map[string]interface{}) (*AzureKeyVaultBackend, error)
func (*AzureKeyVaultBackend) GetSecretOutput ¶
func (b *AzureKeyVaultBackend) GetSecretOutput(secretKey string) secret.SecretOutput
type AzureKeyVaultBackendConfig ¶
type AzureKeyVaultBackendConfig struct { AzureSession AzureSessionBackendConfig `mapstructure:"azure_session"` BackendType string `mapstructure:"backend_type"` ForceString bool `mapstructure:"force_string"` KeyVaultURL string `mapstructure:"keyvaulturl"` SecretId string `mapstructure:"secret_id"` }
type AzureSessionBackendConfig ¶
type AzureSessionBackendConfig struct { AzureTenantId string `mapstructure:"azure_tenant_id"` AzureClientId string `mapstructure:"azure_client_id"` AzureClientSecret string `mapstructure:"azure_client_secret"` AzureCertificatePath string `mapstructure:"azure_certificate_path"` AzureCertificatePassword string `mapstructure:"azure_certificate_password"` }
Click to show internal directories.
Click to hide internal directories.