keymanager

package
v2.65.1 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2025 License: MPL-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AlgorithmFromKeyUsage added in v2.60.5

func AlgorithmFromKeyUsage(u *key_manager.KeyUsage) string

func DataSourceKey added in v2.65.0

func DataSourceKey() *schema.Resource

func ExpandKeyRotationPolicy

func ExpandKeyRotationPolicy(v any) (*key_manager.KeyRotationPolicy, error)

func ExpandKeyUsageFromFields added in v2.60.5

func ExpandKeyUsageFromFields(d *schema.ResourceData) *key_manager.KeyUsage

func ExpandKeyUsageLegacy added in v2.60.5

func ExpandKeyUsageLegacy(usage string) *key_manager.KeyUsage

func FlattenKeyRotationPolicy

func FlattenKeyRotationPolicy(rp *key_manager.KeyRotationPolicy) []map[string]any

func NewKeyManagerAPIWithRegionAndID

func NewKeyManagerAPIWithRegionAndID(m any, id string) (*key_manager.API, scw.Region, string, error)

func NewRotateKeyAction added in v2.65.0

func NewRotateKeyAction() action.Action

func ResourceKeyManagerKey

func ResourceKeyManagerKey() *schema.Resource

func UsageToString

func UsageToString(u *key_manager.KeyUsage) string

Types

type RotateKeyAction added in v2.65.0

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

func (*RotateKeyAction) Configure added in v2.65.0

func (*RotateKeyAction) Invoke added in v2.65.0

func (*RotateKeyAction) Metadata added in v2.65.0

func (*RotateKeyAction) Schema added in v2.65.0

type RotateKeyActionModel added in v2.65.0

type RotateKeyActionModel struct {
	Region types.String `tfsdk:"region"`
	KeyID  types.String `tfsdk:"key_id"`
}

Jump to

Keyboard shortcuts

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