datakmssecrets

package
v0.0.0-...-c2cc54e Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Secret

type Secret struct {
	// Context: map of string, optional
	Context terra.MapValue[terra.StringValue] `hcl:"context,attr"`
	// EncryptionAlgorithm: string, optional
	EncryptionAlgorithm terra.StringValue `hcl:"encryption_algorithm,attr"`
	// GrantTokens: list of string, optional
	GrantTokens terra.ListValue[terra.StringValue] `hcl:"grant_tokens,attr"`
	// KeyId: string, optional
	KeyId terra.StringValue `hcl:"key_id,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Payload: string, required
	Payload terra.StringValue `hcl:"payload,attr" validate:"required"`
}

type SecretAttributes

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

func (SecretAttributes) Context

func (SecretAttributes) EncryptionAlgorithm

func (s SecretAttributes) EncryptionAlgorithm() terra.StringValue

func (SecretAttributes) GrantTokens

func (SecretAttributes) InternalRef

func (s SecretAttributes) InternalRef() (terra.Reference, error)

func (SecretAttributes) InternalTokens

func (s SecretAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SecretAttributes) InternalWithRef

func (s SecretAttributes) InternalWithRef(ref terra.Reference) SecretAttributes

func (SecretAttributes) KeyId

func (SecretAttributes) Name

func (SecretAttributes) Payload

func (s SecretAttributes) Payload() terra.StringValue

type SecretState

type SecretState struct {
	Context             map[string]string `json:"context"`
	EncryptionAlgorithm string            `json:"encryption_algorithm"`
	GrantTokens         []string          `json:"grant_tokens"`
	KeyId               string            `json:"key_id"`
	Name                string            `json:"name"`
	Payload             string            `json:"payload"`
}

Jump to

Keyboard shortcuts

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