token

package
v0.52.0 Latest Latest
Warning

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

Go to latest
Published: May 7, 2025 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServiceAccountTokenResource

func NewServiceAccountTokenResource() resource.Resource

NewServiceAccountTokenResource is a helper function to create a new service account access token resource instance.

Types

type Model

type Model struct {
	Id                  types.String `tfsdk:"id"`
	AccessTokenId       types.String `tfsdk:"access_token_id"`
	ServiceAccountEmail types.String `tfsdk:"service_account_email"`
	ProjectId           types.String `tfsdk:"project_id"`
	TtlDays             types.Int64  `tfsdk:"ttl_days"`
	RotateWhenChanged   types.Map    `tfsdk:"rotate_when_changed"`
	Token               types.String `tfsdk:"token"`
	Active              types.Bool   `tfsdk:"active"`
	CreatedAt           types.String `tfsdk:"created_at"`
	ValidUntil          types.String `tfsdk:"valid_until"`
}

Model represents the schema for the service account token resource in Terraform.

Jump to

Keyboard shortcuts

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