Help us shape the future of Go! Take the 2026 Go Developer Survey

secretsmanager

package
v0.105.0 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2026 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewUserDataSource

func NewUserDataSource() datasource.DataSource

NewUserDataSource is a helper function to simplify the provider implementation.

func NewUserResource

func NewUserResource() resource.Resource

NewUserResource is a helper function to simplify the provider implementation.

Types

type DataSourceModel

type DataSourceModel struct {
	Id           types.String `tfsdk:"id"` // needed by TF
	UserId       types.String `tfsdk:"user_id"`
	InstanceId   types.String `tfsdk:"instance_id"`
	ProjectId    types.String `tfsdk:"project_id"`
	Description  types.String `tfsdk:"description"`
	WriteEnabled types.Bool   `tfsdk:"write_enabled"`
	Username     types.String `tfsdk:"username"`
}

type Model

type Model struct {
	Id           types.String `tfsdk:"id"` // needed by TF
	UserId       types.String `tfsdk:"user_id"`
	InstanceId   types.String `tfsdk:"instance_id"`
	ProjectId    types.String `tfsdk:"project_id"`
	Description  types.String `tfsdk:"description"`
	WriteEnabled types.Bool   `tfsdk:"write_enabled"`
	Username     types.String `tfsdk:"username"`
	Password     types.String `tfsdk:"password"`
	// RotateWhenChanged is a map of arbitrary key/value pairs that will force
	// recreation of the resource when they change, enabling resource rotation based on
	// external conditions such as a rotating timestamp. Changing this forces a new
	// resource to be created.
	RotateWhenChanged types.Map `tfsdk:"rotate_when_changed"`
}

Jump to

Keyboard shortcuts

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