vault_secret

package
v0.1.57 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const AwsResourceName = "aws_ssm_parameter"
View Source
const AzureResourceName = "azurerm_key_vault_secret"

Variables

This section is empty.

Functions

This section is empty.

Types

type AwsSsmParameter

type AwsSsmParameter struct {
	*common.AwsResource `hcl:",squash" default:"name=aws_ssm_parameter"`
	Name                string `hcl:"name"`
	Type                string `hcl:"type"` // Valid types are String, StringList and SecureString.
	Value               string `hcl:"value" json:"value"`

	Arn string `json:"arn" hcle:"omitempty"`
}

type AzureKeyVaultSecret

type AzureKeyVaultSecret struct {
	*common.AzResource `hcl:",squash" default:"name=azurerm_key_vault_secret"`
	KeyVaultId         string `hcl:"key_vault_id,expr"`
	Value              string `hcl:"value" json:"value"`
}

type GoogleSecretManagerSecret added in v0.1.53

type GoogleSecretManagerSecret struct {
	*common.GcpResource `hcl:",squash"  default:"name=google_secret_manager_secret"`

	SecretId    string                                 `hcl:"secret_id" json:"secret_id"`
	Replication []GoogleSecretManagerSecretReplication `hcl:"replication,blocks"`
}

type GoogleSecretManagerSecretReplication added in v0.1.53

type GoogleSecretManagerSecretReplication struct {
	Automatic   bool                                            `hcl:"automatic" hcle:"omitempty"`
	UserManaged GoogleSecretManagerSecretReplicationUserManaged `hcl:"user_managed"  hcle:"omitempty"`
}

func NewManagedSecretReplication added in v0.1.53

func NewManagedSecretReplication(locations ...string) GoogleSecretManagerSecretReplication

type GoogleSecretManagerSecretReplicationReplica added in v0.1.53

type GoogleSecretManagerSecretReplicationReplica struct {
	Location string `hcl:"location"`
}

type GoogleSecretManagerSecretReplicationUserManaged added in v0.1.53

type GoogleSecretManagerSecretReplicationUserManaged struct {
	Replicas []GoogleSecretManagerSecretReplicationReplica `hcl:"replicas,blocks"`
}

type GoogleSecretManagerSecretVersion added in v0.1.53

type GoogleSecretManagerSecretVersion struct {
	*common.GcpResource `hcl:",squash"  default:"name=google_secret_manager_secret_version"`

	SecretId   string `hcl:"secret,expr"`
	SecretData string `hcl:"secret_data" json:"secret_data"`
}

Jump to

Keyboard shortcuts

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