datakmssecret

package
v0.0.0-...-964ba77 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 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"`
	// GrantTokens: list of string, optional
	GrantTokens terra.ListValue[terra.StringValue] `hcl:"grant_tokens,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) 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) Name

func (SecretAttributes) Payload

func (s SecretAttributes) Payload() terra.StringValue

type SecretState

type SecretState struct {
	Context     map[string]string `json:"context"`
	GrantTokens []string          `json:"grant_tokens"`
	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