managedkeys

package
v9.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2023 License: MPL-2.0 Imports: 7 Imported by: 0

README

vault_managed_keys

Refer to the Terraform Registory for docs: vault_managed_keys.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ManagedKeys_IsConstruct

func ManagedKeys_IsConstruct(x interface{}) *bool

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.

Returns: true if `x` is an object created from a class which extends `Construct`.

func ManagedKeys_IsTerraformElement

func ManagedKeys_IsTerraformElement(x interface{}) *bool

Experimental.

func ManagedKeys_IsTerraformResource

func ManagedKeys_IsTerraformResource(x interface{}) *bool

Experimental.

func ManagedKeys_TfResourceType

func ManagedKeys_TfResourceType() *string

func NewManagedKeysAwsList_Override

func NewManagedKeysAwsList_Override(m ManagedKeysAwsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)

func NewManagedKeysAwsOutputReference_Override

func NewManagedKeysAwsOutputReference_Override(m ManagedKeysAwsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)

func NewManagedKeysAzureList_Override

func NewManagedKeysAzureList_Override(m ManagedKeysAzureList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)

func NewManagedKeysAzureOutputReference_Override

func NewManagedKeysAzureOutputReference_Override(m ManagedKeysAzureOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)

func NewManagedKeysPkcsList_Override

func NewManagedKeysPkcsList_Override(m ManagedKeysPkcsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)

func NewManagedKeysPkcsOutputReference_Override

func NewManagedKeysPkcsOutputReference_Override(m ManagedKeysPkcsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)

func NewManagedKeys_Override

func NewManagedKeys_Override(m ManagedKeys, scope constructs.Construct, id *string, config *ManagedKeysConfig)

Create a new {@link https://registry.terraform.io/providers/hashicorp/vault/3.19.0/docs/resources/managed_keys vault_managed_keys} Resource.

Types

type ManagedKeys

type ManagedKeys interface {
	cdktf.TerraformResource
	Aws() ManagedKeysAwsList
	AwsInput() interface{}
	Azure() ManagedKeysAzureList
	AzureInput() interface{}
	// Experimental.
	CdktfStack() cdktf.TerraformStack
	// Experimental.
	Connection() interface{}
	// Experimental.
	SetConnection(val interface{})
	// Experimental.
	ConstructNodeMetadata() *map[string]interface{}
	// Experimental.
	Count() interface{}
	// Experimental.
	SetCount(val interface{})
	// Experimental.
	DependsOn() *[]*string
	// Experimental.
	SetDependsOn(val *[]*string)
	// Experimental.
	ForEach() cdktf.ITerraformIterator
	// Experimental.
	SetForEach(val cdktf.ITerraformIterator)
	// Experimental.
	Fqn() *string
	// Experimental.
	FriendlyUniqueId() *string
	Id() *string
	SetId(val *string)
	IdInput() *string
	// Experimental.
	Lifecycle() *cdktf.TerraformResourceLifecycle
	// Experimental.
	SetLifecycle(val *cdktf.TerraformResourceLifecycle)
	Namespace() *string
	SetNamespace(val *string)
	NamespaceInput() *string
	// The tree node.
	Node() constructs.Node
	Pkcs() ManagedKeysPkcsList
	PkcsInput() interface{}
	// Experimental.
	Provider() cdktf.TerraformProvider
	// Experimental.
	SetProvider(val cdktf.TerraformProvider)
	// Experimental.
	Provisioners() *[]interface{}
	// Experimental.
	SetProvisioners(val *[]interface{})
	// Experimental.
	RawOverrides() interface{}
	// Experimental.
	TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata
	// Experimental.
	TerraformMetaArguments() *map[string]interface{}
	// Experimental.
	TerraformResourceType() *string
	// Experimental.
	AddOverride(path *string, value interface{})
	// Experimental.
	GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
	// Experimental.
	GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
	// Experimental.
	GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
	// Experimental.
	GetListAttribute(terraformAttribute *string) *[]*string
	// Experimental.
	GetNumberAttribute(terraformAttribute *string) *float64
	// Experimental.
	GetNumberListAttribute(terraformAttribute *string) *[]*float64
	// Experimental.
	GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
	// Experimental.
	GetStringAttribute(terraformAttribute *string) *string
	// Experimental.
	GetStringMapAttribute(terraformAttribute *string) *map[string]*string
	// Experimental.
	InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable
	// Overrides the auto-generated logical ID with a specific ID.
	// Experimental.
	OverrideLogicalId(newLogicalId *string)
	PutAws(value interface{})
	PutAzure(value interface{})
	PutPkcs(value interface{})
	ResetAws()
	ResetAzure()
	ResetId()
	ResetNamespace()
	// Resets a previously passed logical Id to use the auto-generated logical id again.
	// Experimental.
	ResetOverrideLogicalId()
	ResetPkcs()
	SynthesizeAttributes() *map[string]interface{}
	// Experimental.
	ToMetadata() interface{}
	// Returns a string representation of this construct.
	ToString() *string
	// Adds this resource to the terraform JSON output.
	// Experimental.
	ToTerraform() interface{}
}

Represents a {@link https://registry.terraform.io/providers/hashicorp/vault/3.19.0/docs/resources/managed_keys vault_managed_keys}.

func NewManagedKeys

func NewManagedKeys(scope constructs.Construct, id *string, config *ManagedKeysConfig) ManagedKeys

Create a new {@link https://registry.terraform.io/providers/hashicorp/vault/3.19.0/docs/resources/managed_keys vault_managed_keys} Resource.

type ManagedKeysAws

type ManagedKeysAws struct {
	// The AWS access key to use.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.19.0/docs/resources/managed_keys#access_key ManagedKeys#access_key}
	AccessKey *string `field:"required" json:"accessKey" yaml:"accessKey"`
	// The size in bits for an RSA key. This field is required when 'key_type' is 'RSA'.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.19.0/docs/resources/managed_keys#key_bits ManagedKeys#key_bits}
	KeyBits *string `field:"required" json:"keyBits" yaml:"keyBits"`
	// The type of key to use.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.19.0/docs/resources/managed_keys#key_type ManagedKeys#key_type}
	KeyType *string `field:"required" json:"keyType" yaml:"keyType"`
	// An identifier for the key.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.19.0/docs/resources/managed_keys#kms_key ManagedKeys#kms_key}
	KmsKey *string `field:"required" json:"kmsKey" yaml:"kmsKey"`
	// A unique lowercase name that serves as identifying the key.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.19.0/docs/resources/managed_keys#name ManagedKeys#name}
	Name *string `field:"required" json:"name" yaml:"name"`
	// The AWS secret key to use.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.19.0/docs/resources/managed_keys#secret_key ManagedKeys#secret_key}
	SecretKey *string `field:"required" json:"secretKey" yaml:"secretKey"`
	// If no existing key can be found in the referenced backend, instructs Vault to generate a key within the backend.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.19.0/docs/resources/managed_keys#allow_generate_key ManagedKeys#allow_generate_key}
	AllowGenerateKey interface{} `field:"optional" json:"allowGenerateKey" yaml:"allowGenerateKey"`
	// Controls the ability for Vault to replace through generation or importing a key into the configured backend even if a key is present, if set to false those operations are forbidden if a key exists.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.19.0/docs/resources/managed_keys#allow_replace_key ManagedKeys#allow_replace_key}
	AllowReplaceKey interface{} `field:"optional" json:"allowReplaceKey" yaml:"allowReplaceKey"`
	// Controls the ability for Vault to import a key to the configured backend, if 'false', those operations will be forbidden.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.19.0/docs/resources/managed_keys#allow_store_key ManagedKeys#allow_store_key}
	AllowStoreKey interface{} `field:"optional" json:"allowStoreKey" yaml:"allowStoreKey"`
	// Allow usage from any mount point within the namespace if 'true'.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.19.0/docs/resources/managed_keys#any_mount ManagedKeys#any_mount}
	AnyMount interface{} `field:"optional" json:"anyMount" yaml:"anyMount"`
	// The curve to use for an ECDSA key. Used when key_type is 'ECDSA'. Required if 'allow_generate_key' is true.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.19.0/docs/resources/managed_keys#curve ManagedKeys#curve}
	Curve *string `field:"optional" json:"curve" yaml:"curve"`
	// Used to specify a custom AWS endpoint.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.19.0/docs/resources/managed_keys#endpoint ManagedKeys#endpoint}
	Endpoint *string `field:"optional" json:"endpoint" yaml:"endpoint"`
	// The AWS region where the keys are stored (or will be stored).
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.19.0/docs/resources/managed_keys#region ManagedKeys#region}
	Region *string `field:"optional" json:"region" yaml:"region"`
}

type ManagedKeysAwsList

type ManagedKeysAwsList interface {
	cdktf.ComplexList
	// The creation stack of this resolvable which will be appended to errors thrown during resolution.
	//
	// If this returns an empty array the stack will not be attached.
	// Experimental.
	CreationStack() *[]*string
	// Experimental.
	Fqn() *string
	InternalValue() interface{}
	SetInternalValue(val interface{})
	// The attribute on the parent resource this class is referencing.
	TerraformAttribute() *string
	SetTerraformAttribute(val *string)
	// The parent resource.
	TerraformResource() cdktf.IInterpolatingParent
	SetTerraformResource(val cdktf.IInterpolatingParent)
	// whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
	WrapsSet() *bool
	SetWrapsSet(val *bool)
	// Experimental.
	ComputeFqn() *string
	Get(index *float64) ManagedKeysAwsOutputReference
	// Produce the Token's value at resolution time.
	// Experimental.
	Resolve(_context cdktf.IResolveContext) interface{}
	// Return a string representation of this resolvable object.
	//
	// Returns a reversible string representation.
	// Experimental.
	ToString() *string
}

func NewManagedKeysAwsList

func NewManagedKeysAwsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ManagedKeysAwsList

type ManagedKeysAwsOutputReference

type ManagedKeysAwsOutputReference interface {
	cdktf.ComplexObject
	AccessKey() *string
	SetAccessKey(val *string)
	AccessKeyInput() *string
	AllowGenerateKey() interface{}
	SetAllowGenerateKey(val interface{})
	AllowGenerateKeyInput() interface{}
	AllowReplaceKey() interface{}
	SetAllowReplaceKey(val interface{})
	AllowReplaceKeyInput() interface{}
	AllowStoreKey() interface{}
	SetAllowStoreKey(val interface{})
	AllowStoreKeyInput() interface{}
	AnyMount() interface{}
	SetAnyMount(val interface{})
	AnyMountInput() interface{}
	// the index of the complex object in a list.
	// Experimental.
	ComplexObjectIndex() interface{}
	// Experimental.
	SetComplexObjectIndex(val interface{})
	// set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items.
	// Experimental.
	ComplexObjectIsFromSet() *bool
	// Experimental.
	SetComplexObjectIsFromSet(val *bool)
	// The creation stack of this resolvable which will be appended to errors thrown during resolution.
	//
	// If this returns an empty array the stack will not be attached.
	// Experimental.
	CreationStack() *[]*string
	Curve() *string
	SetCurve(val *string)
	CurveInput() *string
	Endpoint() *string
	SetEndpoint(val *string)
	EndpointInput() *string
	// Experimental.
	Fqn() *string
	InternalValue() interface{}
	SetInternalValue(val interface{})
	KeyBits() *string
	SetKeyBits(val *string)
	KeyBitsInput() *string
	KeyType() *string
	SetKeyType(val *string)
	KeyTypeInput() *string
	KmsKey() *string
	SetKmsKey(val *string)
	KmsKeyInput() *string
	Name() *string
	SetName(val *string)
	NameInput() *string
	Region() *string
	SetRegion(val *string)
	RegionInput() *string
	SecretKey() *string
	SetSecretKey(val *string)
	SecretKeyInput() *string
	// Experimental.
	TerraformAttribute() *string
	// Experimental.
	SetTerraformAttribute(val *string)
	// Experimental.
	TerraformResource() cdktf.IInterpolatingParent
	// Experimental.
	SetTerraformResource(val cdktf.IInterpolatingParent)
	Uuid() *string
	// Experimental.
	ComputeFqn() *string
	// Experimental.
	GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
	// Experimental.
	GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
	// Experimental.
	GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
	// Experimental.
	GetListAttribute(terraformAttribute *string) *[]*string
	// Experimental.
	GetNumberAttribute(terraformAttribute *string) *float64
	// Experimental.
	GetNumberListAttribute(terraformAttribute *string) *[]*float64
	// Experimental.
	GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
	// Experimental.
	GetStringAttribute(terraformAttribute *string) *string
	// Experimental.
	GetStringMapAttribute(terraformAttribute *string) *map[string]*string
	// Experimental.
	InterpolationAsList() cdktf.IResolvable
	// Experimental.
	InterpolationForAttribute(property *string) cdktf.IResolvable
	ResetAllowGenerateKey()
	ResetAllowReplaceKey()
	ResetAllowStoreKey()
	ResetAnyMount()
	ResetCurve()
	ResetEndpoint()
	ResetRegion()
	// Produce the Token's value at resolution time.
	// Experimental.
	Resolve(_context cdktf.IResolveContext) interface{}
	// Return a string representation of this resolvable object.
	//
	// Returns a reversible string representation.
	// Experimental.
	ToString() *string
}

func NewManagedKeysAwsOutputReference

func NewManagedKeysAwsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ManagedKeysAwsOutputReference

type ManagedKeysAzure

type ManagedKeysAzure struct {
	// The client id for credentials to query the Azure APIs.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.19.0/docs/resources/managed_keys#client_id ManagedKeys#client_id}
	ClientId *string `field:"required" json:"clientId" yaml:"clientId"`
	// The client secret for credentials to query the Azure APIs.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.19.0/docs/resources/managed_keys#client_secret ManagedKeys#client_secret}
	ClientSecret *string `field:"required" json:"clientSecret" yaml:"clientSecret"`
	// The Key Vault key to use for encryption and decryption.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.19.0/docs/resources/managed_keys#key_name ManagedKeys#key_name}
	KeyName *string `field:"required" json:"keyName" yaml:"keyName"`
	// The type of key to use.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.19.0/docs/resources/managed_keys#key_type ManagedKeys#key_type}
	KeyType *string `field:"required" json:"keyType" yaml:"keyType"`
	// A unique lowercase name that serves as identifying the key.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.19.0/docs/resources/managed_keys#name ManagedKeys#name}
	Name *string `field:"required" json:"name" yaml:"name"`
	// The tenant id for the Azure Active Directory organization.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.19.0/docs/resources/managed_keys#tenant_id ManagedKeys#tenant_id}
	TenantId *string `field:"required" json:"tenantId" yaml:"tenantId"`
	// The Key Vault vault to use the encryption keys for encryption and decryption.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.19.0/docs/resources/managed_keys#vault_name ManagedKeys#vault_name}
	VaultName *string `field:"required" json:"vaultName" yaml:"vaultName"`
	// If no existing key can be found in the referenced backend, instructs Vault to generate a key within the backend.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.19.0/docs/resources/managed_keys#allow_generate_key ManagedKeys#allow_generate_key}
	AllowGenerateKey interface{} `field:"optional" json:"allowGenerateKey" yaml:"allowGenerateKey"`
	// Controls the ability for Vault to replace through generation or importing a key into the configured backend even if a key is present, if set to false those operations are forbidden if a key exists.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.19.0/docs/resources/managed_keys#allow_replace_key ManagedKeys#allow_replace_key}
	AllowReplaceKey interface{} `field:"optional" json:"allowReplaceKey" yaml:"allowReplaceKey"`
	// Controls the ability for Vault to import a key to the configured backend, if 'false', those operations will be forbidden.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.19.0/docs/resources/managed_keys#allow_store_key ManagedKeys#allow_store_key}
	AllowStoreKey interface{} `field:"optional" json:"allowStoreKey" yaml:"allowStoreKey"`
	// Allow usage from any mount point within the namespace if 'true'.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.19.0/docs/resources/managed_keys#any_mount ManagedKeys#any_mount}
	AnyMount interface{} `field:"optional" json:"anyMount" yaml:"anyMount"`
	// The Azure Cloud environment API endpoints to use.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.19.0/docs/resources/managed_keys#environment ManagedKeys#environment}
	Environment *string `field:"optional" json:"environment" yaml:"environment"`
	// The size in bits for an RSA key.
	//
	// This field is required when 'key_type' is 'RSA' or when 'allow_generate_key' is true
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.19.0/docs/resources/managed_keys#key_bits ManagedKeys#key_bits}
	KeyBits *string `field:"optional" json:"keyBits" yaml:"keyBits"`
	// The Azure Key Vault resource's DNS Suffix to connect to.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.19.0/docs/resources/managed_keys#resource ManagedKeys#resource}
	Resource *string `field:"optional" json:"resource" yaml:"resource"`
}

type ManagedKeysAzureList

type ManagedKeysAzureList interface {
	cdktf.ComplexList
	// The creation stack of this resolvable which will be appended to errors thrown during resolution.
	//
	// If this returns an empty array the stack will not be attached.
	// Experimental.
	CreationStack() *[]*string
	// Experimental.
	Fqn() *string
	InternalValue() interface{}
	SetInternalValue(val interface{})
	// The attribute on the parent resource this class is referencing.
	TerraformAttribute() *string
	SetTerraformAttribute(val *string)
	// The parent resource.
	TerraformResource() cdktf.IInterpolatingParent
	SetTerraformResource(val cdktf.IInterpolatingParent)
	// whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
	WrapsSet() *bool
	SetWrapsSet(val *bool)
	// Experimental.
	ComputeFqn() *string
	Get(index *float64) ManagedKeysAzureOutputReference
	// Produce the Token's value at resolution time.
	// Experimental.
	Resolve(_context cdktf.IResolveContext) interface{}
	// Return a string representation of this resolvable object.
	//
	// Returns a reversible string representation.
	// Experimental.
	ToString() *string
}

func NewManagedKeysAzureList

func NewManagedKeysAzureList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ManagedKeysAzureList

type ManagedKeysAzureOutputReference

type ManagedKeysAzureOutputReference interface {
	cdktf.ComplexObject
	AllowGenerateKey() interface{}
	SetAllowGenerateKey(val interface{})
	AllowGenerateKeyInput() interface{}
	AllowReplaceKey() interface{}
	SetAllowReplaceKey(val interface{})
	AllowReplaceKeyInput() interface{}
	AllowStoreKey() interface{}
	SetAllowStoreKey(val interface{})
	AllowStoreKeyInput() interface{}
	AnyMount() interface{}
	SetAnyMount(val interface{})
	AnyMountInput() interface{}
	ClientId() *string
	SetClientId(val *string)
	ClientIdInput() *string
	ClientSecret() *string
	SetClientSecret(val *string)
	ClientSecretInput() *string
	// the index of the complex object in a list.
	// Experimental.
	ComplexObjectIndex() interface{}
	// Experimental.
	SetComplexObjectIndex(val interface{})
	// set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items.
	// Experimental.
	ComplexObjectIsFromSet() *bool
	// Experimental.
	SetComplexObjectIsFromSet(val *bool)
	// The creation stack of this resolvable which will be appended to errors thrown during resolution.
	//
	// If this returns an empty array the stack will not be attached.
	// Experimental.
	CreationStack() *[]*string
	Environment() *string
	SetEnvironment(val *string)
	EnvironmentInput() *string
	// Experimental.
	Fqn() *string
	InternalValue() interface{}
	SetInternalValue(val interface{})
	KeyBits() *string
	SetKeyBits(val *string)
	KeyBitsInput() *string
	KeyName() *string
	SetKeyName(val *string)
	KeyNameInput() *string
	KeyType() *string
	SetKeyType(val *string)
	KeyTypeInput() *string
	Name() *string
	SetName(val *string)
	NameInput() *string
	Resource() *string
	SetResource(val *string)
	ResourceInput() *string
	TenantId() *string
	SetTenantId(val *string)
	TenantIdInput() *string
	// Experimental.
	TerraformAttribute() *string
	// Experimental.
	SetTerraformAttribute(val *string)
	// Experimental.
	TerraformResource() cdktf.IInterpolatingParent
	// Experimental.
	SetTerraformResource(val cdktf.IInterpolatingParent)
	Uuid() *string
	VaultName() *string
	SetVaultName(val *string)
	VaultNameInput() *string
	// Experimental.
	ComputeFqn() *string
	// Experimental.
	GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
	// Experimental.
	GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
	// Experimental.
	GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
	// Experimental.
	GetListAttribute(terraformAttribute *string) *[]*string
	// Experimental.
	GetNumberAttribute(terraformAttribute *string) *float64
	// Experimental.
	GetNumberListAttribute(terraformAttribute *string) *[]*float64
	// Experimental.
	GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
	// Experimental.
	GetStringAttribute(terraformAttribute *string) *string
	// Experimental.
	GetStringMapAttribute(terraformAttribute *string) *map[string]*string
	// Experimental.
	InterpolationAsList() cdktf.IResolvable
	// Experimental.
	InterpolationForAttribute(property *string) cdktf.IResolvable
	ResetAllowGenerateKey()
	ResetAllowReplaceKey()
	ResetAllowStoreKey()
	ResetAnyMount()
	ResetEnvironment()
	ResetKeyBits()
	ResetResource()
	// Produce the Token's value at resolution time.
	// Experimental.
	Resolve(_context cdktf.IResolveContext) interface{}
	// Return a string representation of this resolvable object.
	//
	// Returns a reversible string representation.
	// Experimental.
	ToString() *string
}

func NewManagedKeysAzureOutputReference

func NewManagedKeysAzureOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ManagedKeysAzureOutputReference

type ManagedKeysConfig

type ManagedKeysConfig struct {
	// Experimental.
	Connection interface{} `field:"optional" json:"connection" yaml:"connection"`
	// Experimental.
	Count interface{} `field:"optional" json:"count" yaml:"count"`
	// Experimental.
	DependsOn *[]cdktf.ITerraformDependable `field:"optional" json:"dependsOn" yaml:"dependsOn"`
	// Experimental.
	ForEach cdktf.ITerraformIterator `field:"optional" json:"forEach" yaml:"forEach"`
	// Experimental.
	Lifecycle *cdktf.TerraformResourceLifecycle `field:"optional" json:"lifecycle" yaml:"lifecycle"`
	// Experimental.
	Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"`
	// Experimental.
	Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"`
	// aws block.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.19.0/docs/resources/managed_keys#aws ManagedKeys#aws}
	Aws interface{} `field:"optional" json:"aws" yaml:"aws"`
	// azure block.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.19.0/docs/resources/managed_keys#azure ManagedKeys#azure}
	Azure interface{} `field:"optional" json:"azure" yaml:"azure"`
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.19.0/docs/resources/managed_keys#id ManagedKeys#id}.
	//
	// Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
	// If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
	Id *string `field:"optional" json:"id" yaml:"id"`
	// Target namespace. (requires Enterprise).
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.19.0/docs/resources/managed_keys#namespace ManagedKeys#namespace}
	Namespace *string `field:"optional" json:"namespace" yaml:"namespace"`
	// pkcs block.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.19.0/docs/resources/managed_keys#pkcs ManagedKeys#pkcs}
	Pkcs interface{} `field:"optional" json:"pkcs" yaml:"pkcs"`
}

type ManagedKeysPkcs

type ManagedKeysPkcs struct {
	// The id of a PKCS#11 key to use.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.19.0/docs/resources/managed_keys#key_id ManagedKeys#key_id}
	KeyId *string `field:"required" json:"keyId" yaml:"keyId"`
	// The label of the key to use.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.19.0/docs/resources/managed_keys#key_label ManagedKeys#key_label}
	KeyLabel *string `field:"required" json:"keyLabel" yaml:"keyLabel"`
	// The name of the kms_library stanza to use from Vault's config to lookup the local library path.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.19.0/docs/resources/managed_keys#library ManagedKeys#library}
	Library *string `field:"required" json:"library" yaml:"library"`
	// The encryption/decryption mechanism to use, specified as a hexadecimal (prefixed by 0x) string.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.19.0/docs/resources/managed_keys#mechanism ManagedKeys#mechanism}
	Mechanism *string `field:"required" json:"mechanism" yaml:"mechanism"`
	// A unique lowercase name that serves as identifying the key.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.19.0/docs/resources/managed_keys#name ManagedKeys#name}
	Name *string `field:"required" json:"name" yaml:"name"`
	// The PIN for login.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.19.0/docs/resources/managed_keys#pin ManagedKeys#pin}
	Pin *string `field:"required" json:"pin" yaml:"pin"`
	// If no existing key can be found in the referenced backend, instructs Vault to generate a key within the backend.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.19.0/docs/resources/managed_keys#allow_generate_key ManagedKeys#allow_generate_key}
	AllowGenerateKey interface{} `field:"optional" json:"allowGenerateKey" yaml:"allowGenerateKey"`
	// Controls the ability for Vault to replace through generation or importing a key into the configured backend even if a key is present, if set to false those operations are forbidden if a key exists.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.19.0/docs/resources/managed_keys#allow_replace_key ManagedKeys#allow_replace_key}
	AllowReplaceKey interface{} `field:"optional" json:"allowReplaceKey" yaml:"allowReplaceKey"`
	// Controls the ability for Vault to import a key to the configured backend, if 'false', those operations will be forbidden.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.19.0/docs/resources/managed_keys#allow_store_key ManagedKeys#allow_store_key}
	AllowStoreKey interface{} `field:"optional" json:"allowStoreKey" yaml:"allowStoreKey"`
	// Allow usage from any mount point within the namespace if 'true'.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.19.0/docs/resources/managed_keys#any_mount ManagedKeys#any_mount}
	AnyMount interface{} `field:"optional" json:"anyMount" yaml:"anyMount"`
	// Supplies the curve value when using the 'CKM_ECDSA' mechanism. Required if 'allow_generate_key' is true.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.19.0/docs/resources/managed_keys#curve ManagedKeys#curve}
	Curve *string `field:"optional" json:"curve" yaml:"curve"`
	// Force all operations to open up a read-write session to the HSM.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.19.0/docs/resources/managed_keys#force_rw_session ManagedKeys#force_rw_session}
	ForceRwSession *string `field:"optional" json:"forceRwSession" yaml:"forceRwSession"`
	// Supplies the size in bits of the key when using 'CKM_RSA_PKCS_PSS', 'CKM_RSA_PKCS_OAEP' or 'CKM_RSA_PKCS' as a value for 'mechanism'.
	//
	// Required if 'allow_generate_key' is true
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.19.0/docs/resources/managed_keys#key_bits ManagedKeys#key_bits}
	KeyBits *string `field:"optional" json:"keyBits" yaml:"keyBits"`
	// The slot number to use, specified as a string in a decimal format (e.g. '2305843009213693953').
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.19.0/docs/resources/managed_keys#slot ManagedKeys#slot}
	Slot *string `field:"optional" json:"slot" yaml:"slot"`
	// The slot token label to use.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.19.0/docs/resources/managed_keys#token_label ManagedKeys#token_label}
	TokenLabel *string `field:"optional" json:"tokenLabel" yaml:"tokenLabel"`
}

type ManagedKeysPkcsList

type ManagedKeysPkcsList interface {
	cdktf.ComplexList
	// The creation stack of this resolvable which will be appended to errors thrown during resolution.
	//
	// If this returns an empty array the stack will not be attached.
	// Experimental.
	CreationStack() *[]*string
	// Experimental.
	Fqn() *string
	InternalValue() interface{}
	SetInternalValue(val interface{})
	// The attribute on the parent resource this class is referencing.
	TerraformAttribute() *string
	SetTerraformAttribute(val *string)
	// The parent resource.
	TerraformResource() cdktf.IInterpolatingParent
	SetTerraformResource(val cdktf.IInterpolatingParent)
	// whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
	WrapsSet() *bool
	SetWrapsSet(val *bool)
	// Experimental.
	ComputeFqn() *string
	Get(index *float64) ManagedKeysPkcsOutputReference
	// Produce the Token's value at resolution time.
	// Experimental.
	Resolve(_context cdktf.IResolveContext) interface{}
	// Return a string representation of this resolvable object.
	//
	// Returns a reversible string representation.
	// Experimental.
	ToString() *string
}

func NewManagedKeysPkcsList

func NewManagedKeysPkcsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ManagedKeysPkcsList

type ManagedKeysPkcsOutputReference

type ManagedKeysPkcsOutputReference interface {
	cdktf.ComplexObject
	AllowGenerateKey() interface{}
	SetAllowGenerateKey(val interface{})
	AllowGenerateKeyInput() interface{}
	AllowReplaceKey() interface{}
	SetAllowReplaceKey(val interface{})
	AllowReplaceKeyInput() interface{}
	AllowStoreKey() interface{}
	SetAllowStoreKey(val interface{})
	AllowStoreKeyInput() interface{}
	AnyMount() interface{}
	SetAnyMount(val interface{})
	AnyMountInput() interface{}
	// the index of the complex object in a list.
	// Experimental.
	ComplexObjectIndex() interface{}
	// Experimental.
	SetComplexObjectIndex(val interface{})
	// set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items.
	// Experimental.
	ComplexObjectIsFromSet() *bool
	// Experimental.
	SetComplexObjectIsFromSet(val *bool)
	// The creation stack of this resolvable which will be appended to errors thrown during resolution.
	//
	// If this returns an empty array the stack will not be attached.
	// Experimental.
	CreationStack() *[]*string
	Curve() *string
	SetCurve(val *string)
	CurveInput() *string
	ForceRwSession() *string
	SetForceRwSession(val *string)
	ForceRwSessionInput() *string
	// Experimental.
	Fqn() *string
	InternalValue() interface{}
	SetInternalValue(val interface{})
	KeyBits() *string
	SetKeyBits(val *string)
	KeyBitsInput() *string
	KeyId() *string
	SetKeyId(val *string)
	KeyIdInput() *string
	KeyLabel() *string
	SetKeyLabel(val *string)
	KeyLabelInput() *string
	Library() *string
	SetLibrary(val *string)
	LibraryInput() *string
	Mechanism() *string
	SetMechanism(val *string)
	MechanismInput() *string
	Name() *string
	SetName(val *string)
	NameInput() *string
	Pin() *string
	SetPin(val *string)
	PinInput() *string
	Slot() *string
	SetSlot(val *string)
	SlotInput() *string
	// Experimental.
	TerraformAttribute() *string
	// Experimental.
	SetTerraformAttribute(val *string)
	// Experimental.
	TerraformResource() cdktf.IInterpolatingParent
	// Experimental.
	SetTerraformResource(val cdktf.IInterpolatingParent)
	TokenLabel() *string
	SetTokenLabel(val *string)
	TokenLabelInput() *string
	Uuid() *string
	// Experimental.
	ComputeFqn() *string
	// Experimental.
	GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
	// Experimental.
	GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
	// Experimental.
	GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
	// Experimental.
	GetListAttribute(terraformAttribute *string) *[]*string
	// Experimental.
	GetNumberAttribute(terraformAttribute *string) *float64
	// Experimental.
	GetNumberListAttribute(terraformAttribute *string) *[]*float64
	// Experimental.
	GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
	// Experimental.
	GetStringAttribute(terraformAttribute *string) *string
	// Experimental.
	GetStringMapAttribute(terraformAttribute *string) *map[string]*string
	// Experimental.
	InterpolationAsList() cdktf.IResolvable
	// Experimental.
	InterpolationForAttribute(property *string) cdktf.IResolvable
	ResetAllowGenerateKey()
	ResetAllowReplaceKey()
	ResetAllowStoreKey()
	ResetAnyMount()
	ResetCurve()
	ResetForceRwSession()
	ResetKeyBits()
	ResetSlot()
	ResetTokenLabel()
	// Produce the Token's value at resolution time.
	// Experimental.
	Resolve(_context cdktf.IResolveContext) interface{}
	// Return a string representation of this resolvable object.
	//
	// Returns a reversible string representation.
	// Experimental.
	ToString() *string
}

func NewManagedKeysPkcsOutputReference

func NewManagedKeysPkcsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ManagedKeysPkcsOutputReference

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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