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
type SourceAuthMethod ¶
type SourceAuthMethod string
Click to show internal directories.
Click to hide internal directories.