externalvault

package
v1.26.0 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SourceAuthMethods = struct {
	AzureKeyVaultClientSecret SourceAuthMethod
	HashicorpVaultAppRole     SourceAuthMethod
	HashicoprVaultCertificate SourceAuthMethod
}{
	SourceAuthMethod("AZURE_KEY_VAULT_CLIENT_SECRET"),
	SourceAuthMethod("HASHICORP_VAULT_APPROLE"),
	SourceAuthMethod("HASHICORP_VAULT_CERTIFICATE"),
}

Functions

This section is empty.

Types

type Config

type Config struct {
	SourceAuthMethod                          SourceAuthMethod `json:"sourceAuthMethod"` // Defines the actual set of fields depending on the value. See one of the following objects: \n\n* `HASHICORP_VAULT_APPROLE` -> HashicorpApproleConfig \n* `HASHICORP_VAULT_CERTIFICATE` -> HashicorpCertificateConfig \n* `AZURE_KEY_VAULT_CLIENT_SECRET` -> AzureClientSecretConfig \n
	VaultURL                                  *string          `json:"vaultUrl,omitempty"`
	UsernameSecretName                        *string          `json:"usernameSecretName,omitempty"`
	PasswordSecretName                        *string          `json:"passwordSecretName,omitempty"`
	TokenSecretName                           *string          `json:"tokenSecretName,omitempty"`
	CredentialsUsedForExternalSynchronization []string         `json:"credentialsUsedForExternalSynchronization,omitempty"`

	// HashicorpApproleConfig
	PathtoCredentials *string `json:"pathToCredentials,omitempty"`
	RoleID            *string `json:"roleId,omitempty"`
	SecretID          *string `json:"secretId,omitempty"` // The ID of Credentials within the Certificate Vault holding the secret id
	VaultNameSpace    *string `json:"vaultNamespace,omitempty"`
	// HashicorpCertificateConfig
	Certificate *string `json:"certificate,omitempty"` // The ID of Credentials within the Certificate Vault holding the certificate
	// AzureClientSecret
	TenantID     *string `json:"tenantId,omitempty"`     // Tenant (directory) ID of Azure application in Azure Active Directory which has permission to access secrets in Azure Key Vault
	ClientID     *string `json:"clientId,omitempty"`     // Client (application) ID of Azure application in Azure Active Directory which has permission to access secrets in Azure Key Vault
	ClientSecret *string `json:"clientSecret,omitempty"` // Client secret generated for Azure application in Azure Active Directory used for proving identity when requesting a token used later for accessing secrets in Azure Key Vault
}

func (*Config) MarshalHCL

func (me *Config) MarshalHCL(properties hcl.Properties) error

func (*Config) Schema

func (me *Config) Schema() map[string]*schema.Schema

func (*Config) UnmarshalHCL

func (me *Config) UnmarshalHCL(decoder hcl.Decoder) error

type SourceAuthMethod

type SourceAuthMethod string

Jump to

Keyboard shortcuts

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