vaultsecrets

package
v0.103.0 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2025 License: MPL-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewVaultSecretsAppDataSource

func NewVaultSecretsAppDataSource() datasource.DataSource

func NewVaultSecretsAppIAMBindingResource added in v0.87.0

func NewVaultSecretsAppIAMBindingResource() resource.Resource

func NewVaultSecretsAppIAMPolicyResource added in v0.87.0

func NewVaultSecretsAppIAMPolicyResource() resource.Resource

func NewVaultSecretsAppResource

func NewVaultSecretsAppResource() resource.Resource

func NewVaultSecretsDynamicSecretDataSource added in v0.94.0

func NewVaultSecretsDynamicSecretDataSource() datasource.DataSource

func NewVaultSecretsDynamicSecretResource added in v0.97.0

func NewVaultSecretsDynamicSecretResource() resource.Resource

func NewVaultSecretsIntegrationAWSResource added in v0.96.0

func NewVaultSecretsIntegrationAWSResource() resource.Resource

func NewVaultSecretsIntegrationAzureResource added in v0.101.0

func NewVaultSecretsIntegrationAzureResource() resource.Resource

func NewVaultSecretsIntegrationGCPResource added in v0.96.0

func NewVaultSecretsIntegrationGCPResource() resource.Resource

func NewVaultSecretsIntegrationMongoDBAtlasResource added in v0.96.0

func NewVaultSecretsIntegrationMongoDBAtlasResource() resource.Resource

func NewVaultSecretsIntegrationResource added in v0.101.0

func NewVaultSecretsIntegrationResource() resource.Resource

func NewVaultSecretsIntegrationTwilioResource added in v0.96.0

func NewVaultSecretsIntegrationTwilioResource() resource.Resource

func NewVaultSecretsIntegrationsConfluentResource added in v0.98.0

func NewVaultSecretsIntegrationsConfluentResource() resource.Resource

func NewVaultSecretsRotatingSecretDataSource added in v0.91.0

func NewVaultSecretsRotatingSecretDataSource() datasource.DataSource

func NewVaultSecretsRotatingSecretResource added in v0.97.0

func NewVaultSecretsRotatingSecretResource() resource.Resource

func NewVaultSecretsSecretDataSource

func NewVaultSecretsSecretDataSource() datasource.DataSource

func NewVaultSecretsSecretResource

func NewVaultSecretsSecretResource() resource.Resource

func ProviderStrings added in v0.101.0

func ProviderStrings() []string

Types

type App added in v0.98.0

type App struct {
	ID             types.String `tfsdk:"id"`
	AppName        types.String `tfsdk:"app_name"`
	Description    types.String `tfsdk:"description"`
	ProjectID      types.String `tfsdk:"project_id"`
	OrganizationID types.String `tfsdk:"organization_id"`
	ResourceName   types.String `tfsdk:"resource_name"`
}

type AzureApplicationPassword added in v0.101.0

type AzureApplicationPassword struct {
	AppClientID types.String `tfsdk:"app_client_id"`
	AppObjectID types.String `tfsdk:"app_object_id"`
}

type DataSourceVaultSecretsApp

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

func (*DataSourceVaultSecretsApp) Configure

func (*DataSourceVaultSecretsApp) Metadata

func (*DataSourceVaultSecretsApp) Read

func (*DataSourceVaultSecretsApp) Schema

type DataSourceVaultSecretsAppModel

type DataSourceVaultSecretsAppModel struct {
	ID        types.String `tfsdk:"id"`
	AppName   types.String `tfsdk:"app_name"`
	ProjectID types.String `tfsdk:"project_id"`
	OrgID     types.String `tfsdk:"organization_id"`
	Secrets   types.Map    `tfsdk:"secrets"`
}

type DataSourceVaultSecretsDynamicSecret added in v0.94.0

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

func (*DataSourceVaultSecretsDynamicSecret) Configure added in v0.94.0

func (*DataSourceVaultSecretsDynamicSecret) Metadata added in v0.94.0

func (*DataSourceVaultSecretsDynamicSecret) Read added in v0.94.0

func (*DataSourceVaultSecretsDynamicSecret) Schema added in v0.94.0

type DataSourceVaultSecretsDynamicSecretModel added in v0.94.0

type DataSourceVaultSecretsDynamicSecretModel struct {
	// Config fields
	AppName    types.String `tfsdk:"app_name"`
	SecretName types.String `tfsdk:"secret_name"`

	// Data fields
	OrgID          types.String `tfsdk:"organization_id"`
	ProjectID      types.String `tfsdk:"project_id"`
	SecretProvider types.String `tfsdk:"secret_provider"`
	SecretValues   types.Map    `tfsdk:"secret_values"`
}

type DataSourceVaultSecretsRotatingSecret added in v0.91.0

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

func (*DataSourceVaultSecretsRotatingSecret) Configure added in v0.91.0

func (*DataSourceVaultSecretsRotatingSecret) Metadata added in v0.91.0

func (*DataSourceVaultSecretsRotatingSecret) Read added in v0.91.0

func (*DataSourceVaultSecretsRotatingSecret) Schema added in v0.91.0

type DataSourceVaultSecretsRotatingSecretModel added in v0.91.0

type DataSourceVaultSecretsRotatingSecretModel struct {
	ID             types.String `tfsdk:"id"`
	AppName        types.String `tfsdk:"app_name"`
	ProjectID      types.String `tfsdk:"project_id"`
	OrgID          types.String `tfsdk:"organization_id"`
	SecretName     types.String `tfsdk:"secret_name"`
	SecretValues   types.Map    `tfsdk:"secret_values"`
	SecretVersion  types.Int64  `tfsdk:"secret_version"`
	SecretProvider types.String `tfsdk:"secret_provider"`
}

type DataSourceVaultSecretsSecret

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

func (*DataSourceVaultSecretsSecret) Configure

func (*DataSourceVaultSecretsSecret) Metadata

func (*DataSourceVaultSecretsSecret) Read

func (*DataSourceVaultSecretsSecret) Schema

type DataSourceVaultSecretsSecretModel

type DataSourceVaultSecretsSecretModel struct {
	ID          types.String `tfsdk:"id"`
	AppName     types.String `tfsdk:"app_name"`
	ProjectID   types.String `tfsdk:"project_id"`
	OrgID       types.String `tfsdk:"organization_id"`
	SecretName  types.String `tfsdk:"secret_name"`
	SecretValue types.String `tfsdk:"secret_value"`
}

type DynamicSecret added in v0.97.0

type DynamicSecret struct {
	// Shared input fields
	ProjectID       types.String `tfsdk:"project_id"`
	AppName         types.String `tfsdk:"app_name"`
	SecretProvider  types.String `tfsdk:"secret_provider"`
	Name            types.String `tfsdk:"name"`
	IntegrationName types.String `tfsdk:"integration_name"`
	DefaultTTL      types.String `tfsdk:"default_ttl"`

	// Provider specific mutually exclusive fields
	AWSAssumeRole                *awsAssumeRole                `tfsdk:"aws_assume_role"`
	GCPImpersonateServiceAccount *gcpImpersonateServiceAccount `tfsdk:"gcp_impersonate_service_account"`

	// Computed fields
	OrganizationID types.String `tfsdk:"organization_id"`
}

type Integration added in v0.101.0

type Integration struct {
	// Input fields
	ProjectID    types.String `tfsdk:"project_id"`
	Name         types.String `tfsdk:"name"`
	Capabilities types.Set    `tfsdk:"capabilities"`
	Provider     types.String `tfsdk:"provider_type"`

	// Provider specific mutually exclusive fields
	AwsAccessKeys                    types.Object `tfsdk:"aws_access_keys"`
	AwsFederatedWorkloadIdentity     types.Object `tfsdk:"aws_federated_workload_identity"`
	AzureClientSecret                types.Object `tfsdk:"azure_client_secret"`
	AzureFederatedWorkloadIdentity   types.Object `tfsdk:"azure_federated_workload_identity"`
	ConfluentStaticCredentialDetails types.Object `tfsdk:"confluent_static_credentials"`
	GcpServiceAccountKey             types.Object `tfsdk:"gcp_service_account_key"`
	GcpFederatedWorkloadIdentity     types.Object `tfsdk:"gcp_federated_workload_identity"`
	MongoDBAtlasStaticCredentials    types.Object `tfsdk:"mongodb_atlas_static_credentials"`
	TwilioStaticCredentials          types.Object `tfsdk:"twilio_static_credentials"`
	GitLabAccess                     types.Object `tfsdk:"gitlab_access"`

	// Computed fields
	OrganizationID types.String `tfsdk:"organization_id"`
	ResourceID     types.String `tfsdk:"resource_id"`
	ResourceName   types.String `tfsdk:"resource_name"`
	// contains filtered or unexported fields
}

type IntegrationAWS added in v0.96.0

type IntegrationAWS struct {
	// Input fields
	ProjectID                 types.String `tfsdk:"project_id"`
	Name                      types.String `tfsdk:"name"`
	Capabilities              types.Set    `tfsdk:"capabilities"`
	AccessKeys                types.Object `tfsdk:"access_keys"`
	FederatedWorkloadIdentity types.Object `tfsdk:"federated_workload_identity"`

	// Computed fields
	OrganizationID types.String `tfsdk:"organization_id"`
	ResourceID     types.String `tfsdk:"resource_id"`
	ResourceName   types.String `tfsdk:"resource_name"`
	// contains filtered or unexported fields
}

type IntegrationAzure added in v0.101.0

type IntegrationAzure struct {
	// Input fields
	ProjectID                 types.String `tfsdk:"project_id"`
	Name                      types.String `tfsdk:"name"`
	Capabilities              types.Set    `tfsdk:"capabilities"`
	ClientSecret              types.Object `tfsdk:"client_secret"`
	FederatedWorkloadIdentity types.Object `tfsdk:"federated_workload_identity"`

	// Computed fields
	OrganizationID types.String `tfsdk:"organization_id"`
	ResourceID     types.String `tfsdk:"resource_id"`
	ResourceName   types.String `tfsdk:"resource_name"`
	// contains filtered or unexported fields
}

type IntegrationConfluent added in v0.98.0

type IntegrationConfluent struct {
	// Input fields
	ProjectID               types.String `tfsdk:"project_id"`
	Name                    types.String `tfsdk:"name"`
	Capabilities            types.Set    `tfsdk:"capabilities"`
	StaticCredentialDetails types.Object `tfsdk:"static_credential_details"`

	// Computed fields
	OrganizationID types.String `tfsdk:"organization_id"`
	ResourceID     types.String `tfsdk:"resource_id"`
	ResourceName   types.String `tfsdk:"resource_name"`
	// contains filtered or unexported fields
}

type IntegrationGCP added in v0.96.0

type IntegrationGCP struct {
	// Input fields
	ProjectID                 types.String `tfsdk:"project_id"`
	Name                      types.String `tfsdk:"name"`
	Capabilities              types.Set    `tfsdk:"capabilities"`
	ServiceAccountKey         types.Object `tfsdk:"service_account_key"`
	FederatedWorkloadIdentity types.Object `tfsdk:"federated_workload_identity"`

	// Computed fields
	OrganizationID types.String `tfsdk:"organization_id"`
	ResourceID     types.String `tfsdk:"resource_id"`
	ResourceName   types.String `tfsdk:"resource_name"`
	// contains filtered or unexported fields
}

type IntegrationMongoDBAtlas added in v0.96.0

type IntegrationMongoDBAtlas struct {
	// Input fields
	ProjectID               types.String `tfsdk:"project_id"`
	Name                    types.String `tfsdk:"name"`
	Capabilities            types.Set    `tfsdk:"capabilities"`
	StaticCredentialDetails types.Object `tfsdk:"static_credential_details"`

	// Computed fields
	OrganizationID types.String `tfsdk:"organization_id"`
	ResourceID     types.String `tfsdk:"resource_id"`
	ResourceName   types.String `tfsdk:"resource_name"`
	// contains filtered or unexported fields
}

type IntegrationTwilio added in v0.96.0

type IntegrationTwilio struct {
	// Input fields
	ProjectID               types.String `tfsdk:"project_id"`
	Name                    types.String `tfsdk:"name"`
	Capabilities            types.Set    `tfsdk:"capabilities"`
	StaticCredentialDetails types.Object `tfsdk:"static_credential_details"`

	// Computed fields
	OrganizationID types.String `tfsdk:"organization_id"`
	ResourceID     types.String `tfsdk:"resource_id"`
	ResourceName   types.String `tfsdk:"resource_name"`
	// contains filtered or unexported fields
}

type Provider added in v0.97.0

type Provider string
const (
	ProviderAWS          Provider = "aws"
	ProviderAzure        Provider = "azure"
	ProviderConfluent    Provider = "confluent"
	ProviderGCP          Provider = "gcp"
	ProviderMongoDBAtlas Provider = "mongodb-atlas"
	ProviderTwilio       Provider = "twilio"
	ProviderGitLab       Provider = "gitlab"
)

func (Provider) String added in v0.97.0

func (p Provider) String() string

type RotatingSecret added in v0.97.0

type RotatingSecret struct {
	// Shared input fields
	ProjectID          types.String `tfsdk:"project_id"`
	AppName            types.String `tfsdk:"app_name"`
	SecretProvider     types.String `tfsdk:"secret_provider"`
	Name               types.String `tfsdk:"name"`
	IntegrationName    types.String `tfsdk:"integration_name"`
	RotationPolicyName types.String `tfsdk:"rotation_policy_name"`

	// Provider specific mutually exclusive fields
	AWSAccessKeys            *awsAccessKeys            `tfsdk:"aws_access_keys"`
	GCPServiceAccountKey     *gcpServiceAccountKey     `tfsdk:"gcp_service_account_key"`
	MongoDBAtlasUser         *mongoDBAtlasUser         `tfsdk:"mongodb_atlas_user"`
	TwilioAPIKey             *twilioAPIKey             `tfsdk:"twilio_api_key"`
	ConfluentServiceAccount  *confluentServiceAccount  `tfsdk:"confluent_service_account"`
	AzureApplicationPassword *AzureApplicationPassword `tfsdk:"azure_application_password"`
	// Computed fields
	OrganizationID types.String `tfsdk:"organization_id"`
	// contains filtered or unexported fields
}

type VaultSecretsSecret

type VaultSecretsSecret struct {
	ID             types.String `tfsdk:"id"`
	AppName        types.String `tfsdk:"app_name"`
	SecretName     types.String `tfsdk:"secret_name"`
	SecretValue    types.String `tfsdk:"secret_value"`
	ProjectID      types.String `tfsdk:"project_id"`
	OrganizationID types.String `tfsdk:"organization_id"`
}

Jump to

Keyboard shortcuts

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