credentialmodels

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2023 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VmwareTanzuManageV1alpha1AccountCredentialCreateCredentialRequest

type VmwareTanzuManageV1alpha1AccountCredentialCreateCredentialRequest struct {

	// Credential to create.
	Credential *VmwareTanzuManageV1alpha1AccountCredentialCredential `json:"credential,omitempty"`
}

VmwareTanzuManageV1alpha1AccountCredentialCreateCredentialRequest Request to create a Credential.

swagger:model vmware.tanzu.manage.v1alpha1.account.credential.CreateCredentialRequest

func (*VmwareTanzuManageV1alpha1AccountCredentialCreateCredentialRequest) MarshalBinary

MarshalBinary interface implementation

func (*VmwareTanzuManageV1alpha1AccountCredentialCreateCredentialRequest) UnmarshalBinary

UnmarshalBinary interface implementation

type VmwareTanzuManageV1alpha1AccountCredentialCreateCredentialResponse

type VmwareTanzuManageV1alpha1AccountCredentialCreateCredentialResponse struct {

	// Credential created.
	Credential *VmwareTanzuManageV1alpha1AccountCredentialCredential `json:"credential,omitempty"`
}

VmwareTanzuManageV1alpha1AccountCredentialCreateCredentialResponse Response from creating a Credential.

swagger:model vmware.tanzu.manage.v1alpha1.account.credential.CreateCredentialResponse

func (*VmwareTanzuManageV1alpha1AccountCredentialCreateCredentialResponse) MarshalBinary

MarshalBinary interface implementation

func (*VmwareTanzuManageV1alpha1AccountCredentialCreateCredentialResponse) UnmarshalBinary

UnmarshalBinary interface implementation

type VmwareTanzuManageV1alpha1AccountCredentialCredential

type VmwareTanzuManageV1alpha1AccountCredentialCredential struct {

	// Full name for the credential.
	FullName *VmwareTanzuManageV1alpha1AccountCredentialFullName `json:"fullName,omitempty"`

	// Metadata for the credential object.
	Meta *objectmetamodel.VmwareTanzuCoreV1alpha1ObjectMeta `json:"meta,omitempty"`

	// Spec for the credential.
	Spec *VmwareTanzuManageV1alpha1AccountCredentialSpec `json:"spec,omitempty"`

	// Status for the credential.
	Status *VmwareTanzuManageV1alpha1AccountCredentialStatus `json:"status,omitempty"`
}

VmwareTanzuManageV1alpha1AccountCredentialCredential A credential for an infrastructure provider account connection.

Credentials are scoped to and used by Tanzu Mission Control services to operate on resources in an infrastructure provider. The credential data is always encrypted and securely stored.

swagger:model vmware.tanzu.manage.v1alpha1.account.credential.Credential

func (*VmwareTanzuManageV1alpha1AccountCredentialCredential) MarshalBinary

MarshalBinary interface implementation

func (*VmwareTanzuManageV1alpha1AccountCredentialCredential) UnmarshalBinary

UnmarshalBinary interface implementation

type VmwareTanzuManageV1alpha1AccountCredentialData

type VmwareTanzuManageV1alpha1AccountCredentialData struct {

	// AWS credential.
	AwsCredential *VmwareTanzuManageV1alpha1AccountCredentialTypeAwsSpec `json:"awsCredential,omitempty"`

	// Generic credential.
	GenericCredential string `json:"genericCredential,omitempty"`

	// Key Value credential.
	KeyValue *VmwareTanzuManageV1alpha1AccountCredentialTypeKeyvalueSpec `json:"keyValue,omitempty"`
}

VmwareTanzuManageV1alpha1AccountCredentialData Credential data.

swagger:model vmware.tanzu.manage.v1alpha1.account.credential.Data

func (*VmwareTanzuManageV1alpha1AccountCredentialData) MarshalBinary

MarshalBinary interface implementation

func (*VmwareTanzuManageV1alpha1AccountCredentialData) UnmarshalBinary

UnmarshalBinary interface implementation

type VmwareTanzuManageV1alpha1AccountCredentialFullName

type VmwareTanzuManageV1alpha1AccountCredentialFullName struct {

	// Name of this credential.
	Name string `json:"name,omitempty"`

	// ID of Organization.
	OrgID string `json:"orgId,omitempty"`
}

VmwareTanzuManageV1alpha1AccountCredentialFullName Full name of the credential. This includes the object name along with any parents or further identifiers.

swagger:model vmware.tanzu.manage.v1alpha1.account.credential.FullName

func (*VmwareTanzuManageV1alpha1AccountCredentialFullName) MarshalBinary

MarshalBinary interface implementation

func (*VmwareTanzuManageV1alpha1AccountCredentialFullName) UnmarshalBinary

UnmarshalBinary interface implementation

type VmwareTanzuManageV1alpha1AccountCredentialGetCredentialResponse

type VmwareTanzuManageV1alpha1AccountCredentialGetCredentialResponse struct {

	// Credential returned.
	Credential *VmwareTanzuManageV1alpha1AccountCredentialCredential `json:"credential,omitempty"`
}

VmwareTanzuManageV1alpha1AccountCredentialGetCredentialResponse Response from getting a Credential.

swagger:model vmware.tanzu.manage.v1alpha1.account.credential.GetCredentialResponse

func (*VmwareTanzuManageV1alpha1AccountCredentialGetCredentialResponse) MarshalBinary

MarshalBinary interface implementation

func (*VmwareTanzuManageV1alpha1AccountCredentialGetCredentialResponse) UnmarshalBinary

UnmarshalBinary interface implementation

type VmwareTanzuManageV1alpha1AccountCredentialMeta

type VmwareTanzuManageV1alpha1AccountCredentialMeta struct {

	// Provider of the credential.
	Provider *VmwareTanzuManageV1alpha1AccountCredentialProvider `json:"provider,omitempty"`

	// Temporary credential support flag indicates if this credential should be kept private
	// and instead be used to generate temporary, short-lived, and scoped credentials.
	TemporaryCredentialSupport bool `json:"temporaryCredentialSupport,omitempty"`
}

VmwareTanzuManageV1alpha1AccountCredentialMeta Credential metadata identifying additional details and the purpose of the credential.

swagger:model vmware.tanzu.manage.v1alpha1.account.credential.Meta

func (*VmwareTanzuManageV1alpha1AccountCredentialMeta) MarshalBinary

MarshalBinary interface implementation

func (*VmwareTanzuManageV1alpha1AccountCredentialMeta) UnmarshalBinary

UnmarshalBinary interface implementation

type VmwareTanzuManageV1alpha1AccountCredentialProvider

type VmwareTanzuManageV1alpha1AccountCredentialProvider string

VmwareTanzuManageV1alpha1AccountCredentialProvider Provider definition - indicates the credential provider.

  • PROVIDER_UNSPECIFIED: Unspecified credential provider (default).
  • AWS_EC2: AmazonWeb Services EC2.
  • GENERIC_S3: Generic S3 provider.
  • AZURE_AD: Azure Active Directory.
  • AWS_EKS: AWS EKS.
  • AZURE_AKS: Azure AKS.
  • GENERIC_KEY_VALUE: Generic key value pair.

swagger:model vmware.tanzu.manage.v1alpha1.account.credential.Provider

const (

	// VmwareTanzuManageV1alpha1AccountCredentialProviderPROVIDERUNSPECIFIED captures enum value "PROVIDER_UNSPECIFIED"
	VmwareTanzuManageV1alpha1AccountCredentialProviderPROVIDERUNSPECIFIED VmwareTanzuManageV1alpha1AccountCredentialProvider = "PROVIDER_UNSPECIFIED"

	// VmwareTanzuManageV1alpha1AccountCredentialProviderAWSEC2 captures enum value "AWS_EC2"
	VmwareTanzuManageV1alpha1AccountCredentialProviderAWSEC2 VmwareTanzuManageV1alpha1AccountCredentialProvider = "AWS_EC2"

	// VmwareTanzuManageV1alpha1AccountCredentialProviderGENERICS3 captures enum value "GENERIC_S3"
	VmwareTanzuManageV1alpha1AccountCredentialProviderGENERICS3 VmwareTanzuManageV1alpha1AccountCredentialProvider = "GENERIC_S3"

	// VmwareTanzuManageV1alpha1AccountCredentialProviderAZUREAD captures enum value "AZURE_AD"
	VmwareTanzuManageV1alpha1AccountCredentialProviderAZUREAD VmwareTanzuManageV1alpha1AccountCredentialProvider = "AZURE_AD"

	// VmwareTanzuManageV1alpha1AccountCredentialProviderAWSEKS captures enum value "AWS_EKS"
	VmwareTanzuManageV1alpha1AccountCredentialProviderAWSEKS VmwareTanzuManageV1alpha1AccountCredentialProvider = "AWS_EKS"

	// VmwareTanzuManageV1alpha1AccountCredentialProviderAZUREAKS captures enum value "AZURE_AKS"
	VmwareTanzuManageV1alpha1AccountCredentialProviderAZUREAKS VmwareTanzuManageV1alpha1AccountCredentialProvider = "AZURE_AKS"

	// VmwareTanzuManageV1alpha1AccountCredentialProviderGENERICKEYVALUE captures enum value "GENERIC_KEY_VALUE"
	VmwareTanzuManageV1alpha1AccountCredentialProviderGENERICKEYVALUE VmwareTanzuManageV1alpha1AccountCredentialProvider = "GENERIC_KEY_VALUE"
)

func (VmwareTanzuManageV1alpha1AccountCredentialProvider) Pointer

Pointer returns a pointer to a freshly-allocated VmwareTanzuManageV1alpha1AccountCredentialProvider.

type VmwareTanzuManageV1alpha1AccountCredentialSpec

type VmwareTanzuManageV1alpha1AccountCredentialSpec struct {

	// The Tanzu capability for which the credential shall be used.
	Capability string `json:"capability,omitempty"`

	// Credential data.
	Data *VmwareTanzuManageV1alpha1AccountCredentialData `json:"data,omitempty"`

	// Metadata and properties of the credential.
	Meta *VmwareTanzuManageV1alpha1AccountCredentialMeta `json:"meta,omitempty"`
}

VmwareTanzuManageV1alpha1AccountCredentialSpec The credential object spec.

swagger:model vmware.tanzu.manage.v1alpha1.account.credential.Spec

func (*VmwareTanzuManageV1alpha1AccountCredentialSpec) MarshalBinary

MarshalBinary interface implementation

func (*VmwareTanzuManageV1alpha1AccountCredentialSpec) UnmarshalBinary

UnmarshalBinary interface implementation

type VmwareTanzuManageV1alpha1AccountCredentialStatus

type VmwareTanzuManageV1alpha1AccountCredentialStatus struct {
	// Phase of the credential.
	Phase *VmwareTanzuManageV1alpha1AccountCredentialStatusPhase `json:"phase,omitempty"`

	// Additional information about the phase.
	PhaseInfo string `json:"phaseInfo,omitempty"`
}

VmwareTanzuManageV1alpha1AccountCredentialStatus Status of the credential.

swagger:model vmware.tanzu.manage.v1alpha1.account.credential.Status

type VmwareTanzuManageV1alpha1AccountCredentialStatusPhase

type VmwareTanzuManageV1alpha1AccountCredentialStatusPhase string

VmwareTanzuManageV1alpha1AccountCredentialStatusPhase The overall phase of a credential.

  • PHASE_UNSPECIFIED: Unspecified phase.
  • CREATED: The credential is created and can be used.
  • VALIDATING: The credential's capabilities are being validated by the intended service.

Credentials can be used even if they have not been validated- this phase is set by the intended service if it validates credentials.

  • VALID: The credential satisfies the intended service's requirements.
  • INVALID: The credential does not satisfy the intended service's requirements.

Invalid credentials might require user action to fix their permissions- this information is provided by the intended service.

  • ERROR: An error occurred while the credential was being created or validated.
  • DELETING: The credential clean up has begun.
  • DELETED: The credential clean up has completed and will be removed from TMC.

swagger:model vmware.tanzu.manage.v1alpha1.account.credential.Status.Phase

const (

	// VmwareTanzuManageV1alpha1AccountCredentialStatusPhasePHASEUNSPECIFIED captures enum value "PHASE_UNSPECIFIED"
	VmwareTanzuManageV1alpha1AccountCredentialStatusPhasePHASEUNSPECIFIED VmwareTanzuManageV1alpha1AccountCredentialStatusPhase = "PHASE_UNSPECIFIED"

	// VmwareTanzuManageV1alpha1AccountCredentialStatusPhaseCREATED captures enum value "CREATED"
	VmwareTanzuManageV1alpha1AccountCredentialStatusPhaseCREATED VmwareTanzuManageV1alpha1AccountCredentialStatusPhase = "CREATED"

	// VmwareTanzuManageV1alpha1AccountCredentialStatusPhaseVALIDATING captures enum value "VALIDATING"
	VmwareTanzuManageV1alpha1AccountCredentialStatusPhaseVALIDATING VmwareTanzuManageV1alpha1AccountCredentialStatusPhase = "VALIDATING"

	// VmwareTanzuManageV1alpha1AccountCredentialStatusPhaseVALID captures enum value "VALID"
	VmwareTanzuManageV1alpha1AccountCredentialStatusPhaseVALID VmwareTanzuManageV1alpha1AccountCredentialStatusPhase = "VALID"

	// VmwareTanzuManageV1alpha1AccountCredentialStatusPhaseINVALID captures enum value "INVALID"
	VmwareTanzuManageV1alpha1AccountCredentialStatusPhaseINVALID VmwareTanzuManageV1alpha1AccountCredentialStatusPhase = "INVALID"

	// VmwareTanzuManageV1alpha1AccountCredentialStatusPhaseERROR captures enum value "ERROR"
	VmwareTanzuManageV1alpha1AccountCredentialStatusPhaseERROR VmwareTanzuManageV1alpha1AccountCredentialStatusPhase = "ERROR"

	// VmwareTanzuManageV1alpha1AccountCredentialStatusPhaseDELETING captures enum value "DELETING"
	VmwareTanzuManageV1alpha1AccountCredentialStatusPhaseDELETING VmwareTanzuManageV1alpha1AccountCredentialStatusPhase = "DELETING"

	// VmwareTanzuManageV1alpha1AccountCredentialStatusPhaseDELETED captures enum value "DELETED"
	VmwareTanzuManageV1alpha1AccountCredentialStatusPhaseDELETED VmwareTanzuManageV1alpha1AccountCredentialStatusPhase = "DELETED"
)

func (VmwareTanzuManageV1alpha1AccountCredentialStatusPhase) Pointer

Pointer returns a pointer to a freshly-allocated VmwareTanzuManageV1alpha1AccountCredentialStatusPhase.

type VmwareTanzuManageV1alpha1AccountCredentialTypeAwsAccessKey

type VmwareTanzuManageV1alpha1AccountCredentialTypeAwsAccessKey struct {

	// AWS access key ID.
	AccessKeyID string `json:"accessKeyId,omitempty"`

	// Secret access key for the access key ID.
	SecretAccessKey string `json:"secretAccessKey,omitempty"`
}

VmwareTanzuManageV1alpha1AccountCredentialTypeAwsAccessKey AWS access key ID and secret access key pair.

swagger:model vmware.tanzu.manage.v1alpha1.account.credential.type.aws.AccessKey

type VmwareTanzuManageV1alpha1AccountCredentialTypeAwsIAMRole

type VmwareTanzuManageV1alpha1AccountCredentialTypeAwsIAMRole struct {

	// AWS IAM role ARN.
	Arn string `json:"arn,omitempty"`

	// An external ID used to assume an AWS IAM role.
	ExtID string `json:"extId,omitempty"`
}

VmwareTanzuManageV1alpha1AccountCredentialTypeAwsIAMRole AWS IAM role ARN and external ID.

swagger:model vmware.tanzu.manage.v1alpha1.account.credential.type.aws.IAMRole

type VmwareTanzuManageV1alpha1AccountCredentialTypeAwsSpec

type VmwareTanzuManageV1alpha1AccountCredentialTypeAwsSpec struct {

	// AWS access key ID and secret access key.
	AccessKey *VmwareTanzuManageV1alpha1AccountCredentialTypeAwsAccessKey `json:"accessKey,omitempty"`

	// Account ID of the AWS credential.
	AccountID string `json:"accountId,omitempty"`

	// Generic credential.
	GenericCredential string `json:"genericCredential,omitempty"`

	// AWS IAM role ARN and external ID.
	IamRole *VmwareTanzuManageV1alpha1AccountCredentialTypeAwsIAMRole `json:"iamRole,omitempty"`
}

VmwareTanzuManageV1alpha1AccountCredentialTypeAwsSpec AWS credential spec.

swagger:model vmware.tanzu.manage.v1alpha1.account.credential.type.aws.Spec

func (*VmwareTanzuManageV1alpha1AccountCredentialTypeAwsSpec) MarshalBinary

MarshalBinary interface implementation

func (*VmwareTanzuManageV1alpha1AccountCredentialTypeAwsSpec) UnmarshalBinary

UnmarshalBinary interface implementation

type VmwareTanzuManageV1alpha1AccountCredentialTypeKeyvalueSpec

type VmwareTanzuManageV1alpha1AccountCredentialTypeKeyvalueSpec struct {

	// Data contains the secret data. Each key must consist of alphanumeric
	// characters, '-', '_' or '.'.
	Data map[string]strfmt.Base64 `json:"data,omitempty"`

	// Type of Secret.
	// The default value is SECRET_TYPE_OPAQUE.
	Type *VmwareTanzuManageV1alpha1AccountCredentialTypeKeyvalueSpecSecretType `json:"type,omitempty"`
}

VmwareTanzuManageV1alpha1AccountCredentialTypeKeyvalueSpec KeyValue Type credential stored in Account Manager.

swagger:model vmware.tanzu.manage.v1alpha1.account.credential.type.keyvalue.Spec

type VmwareTanzuManageV1alpha1AccountCredentialTypeKeyvalueSpecSecretType

type VmwareTanzuManageV1alpha1AccountCredentialTypeKeyvalueSpecSecretType string

VmwareTanzuManageV1alpha1AccountCredentialTypeKeyvalueSpecSecretType Type of Secret.

  • SECRET_TYPE_UNSPECIFIED: SECRET_TYPE_UNSPECIFIED is default.
  • OPAQUE_SECRET_TYPE: SECRET_TYPE_OPAQUE maps to the k8s secret type OPAQUE.

It is arbitrary user-defined data.

  • DOCKERCONFIGJSON_SECRET_TYPE: DOCKERCONFIGJSON_SECRET_TYPE maps to Kubernetes secrets type kubernetes.io/dockerconfigjson.

swagger:model vmware.tanzu.manage.v1alpha1.account.credential.type.keyvalue.Spec.SecretType

const (

	// VmwareTanzuManageV1alpha1AccountCredentialTypeKeyvalueSpecSecretTypeSECRETTYPEUNSPECIFIED captures enum value "SECRET_TYPE_UNSPECIFIED"
	VmwareTanzuManageV1alpha1AccountCredentialTypeKeyvalueSpecSecretTypeSECRETTYPEUNSPECIFIED VmwareTanzuManageV1alpha1AccountCredentialTypeKeyvalueSpecSecretType = "SECRET_TYPE_UNSPECIFIED"

	// VmwareTanzuManageV1alpha1AccountCredentialTypeKeyvalueSpecSecretTypeOPAQUESECRETTYPE captures enum value "OPAQUE_SECRET_TYPE"
	VmwareTanzuManageV1alpha1AccountCredentialTypeKeyvalueSpecSecretTypeOPAQUESECRETTYPE VmwareTanzuManageV1alpha1AccountCredentialTypeKeyvalueSpecSecretType = "OPAQUE_SECRET_TYPE"

	// VmwareTanzuManageV1alpha1AccountCredentialTypeKeyvalueSpecSecretTypeDOCKERCONFIGJSONSECRETTYPE captures enum value "DOCKERCONFIGJSON_SECRET_TYPE"
	VmwareTanzuManageV1alpha1AccountCredentialTypeKeyvalueSpecSecretTypeDOCKERCONFIGJSONSECRETTYPE VmwareTanzuManageV1alpha1AccountCredentialTypeKeyvalueSpecSecretType = "DOCKERCONFIGJSON_SECRET_TYPE"
)

func (VmwareTanzuManageV1alpha1AccountCredentialTypeKeyvalueSpecSecretType) Pointer

Pointer returns a pointer to a freshly-allocated VmwareTanzuManageV1alpha1AccountCredentialTypeKeyvalueSpecSecretType.

Jump to

Keyboard shortcuts

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