Documentation ¶
Index ¶
- type Secret
- type SecretAttributes
- func (s SecretAttributes) Context() terra.MapValue[terra.StringValue]
- func (s SecretAttributes) EncryptionAlgorithm() terra.StringValue
- func (s SecretAttributes) GrantTokens() terra.ListValue[terra.StringValue]
- func (s SecretAttributes) InternalRef() (terra.Reference, error)
- func (s SecretAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s SecretAttributes) InternalWithRef(ref terra.Reference) SecretAttributes
- func (s SecretAttributes) KeyId() terra.StringValue
- func (s SecretAttributes) Name() terra.StringValue
- func (s SecretAttributes) Payload() terra.StringValue
- type SecretState
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 (s SecretAttributes) Context() terra.MapValue[terra.StringValue]
func (SecretAttributes) EncryptionAlgorithm ¶
func (s SecretAttributes) EncryptionAlgorithm() terra.StringValue
func (SecretAttributes) GrantTokens ¶
func (s SecretAttributes) GrantTokens() terra.ListValue[terra.StringValue]
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 (s SecretAttributes) KeyId() terra.StringValue
func (SecretAttributes) Name ¶
func (s SecretAttributes) Name() terra.StringValue
func (SecretAttributes) Payload ¶
func (s SecretAttributes) Payload() terra.StringValue
Click to show internal directories.
Click to hide internal directories.