credential

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2023 License: MPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NameKey = "name"

	ResourceName = "tanzu-mission-control_credential"
)

Variables

This section is empty.

Functions

func DataSourceCredential

func DataSourceCredential() *schema.Resource

func ResourceCredential

func ResourceCredential() *schema.Resource

Types

type CredMapping

type CredMapping struct {
	Capability string `json:"capability,omitempty"`
	Data       []struct {
		AwsCredential []struct {
			AccountID         string `json:"account_id,omitempty"`
			GenericCredential string `json:"generic_credential,omitempty"`
			IamRole           []struct {
				Arn   string `json:"arn,omitempty"`
				ExtID string `json:"ext_id,omitempty"`
			} `json:"iam_role,omitempty"`
		} `json:"aws_credential,omitempty"`
		GenericCredential string `json:"generic_credential,omitempty"`
		KeyValue          []struct {
			Data map[string]string `json:"data,omitempty"`
			Type string            `json:"type,omitempty"`
		} `json:"key_value,omitempty"`
	} `json:"data,omitempty"`
	Provider string `json:"provider,omitempty"`
}

Jump to

Keyboard shortcuts

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