credentiallibraries

package
v0.0.20 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2022 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_controller_api_resources_credentiallibraries_v1_credential_library_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CredentialLibrary

type CredentialLibrary struct {

	// Output only. The ID of the Credential Library.
	Id string `protobuf:"bytes,10,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"`
	// The ID of the Credential Store of which this Credential Library is a part.
	CredentialStoreId string `protobuf:"bytes,20,opt,name=credential_store_id,proto3" json:"credential_store_id,omitempty" class:"public"` // @gotags: `class:"public"`
	// Output only. Scope information for this Credential Library.
	Scope *scopes.ScopeInfo `protobuf:"bytes,30,opt,name=scope,proto3" json:"scope,omitempty"`
	// Optional name for identification purposes.
	Name *wrapperspb.StringValue `protobuf:"bytes,40,opt,name=name,proto3" json:"name,omitempty" class:"public"` // @gotags: `class:"public"`
	// Optional user-set description for identification purposes.
	Description *wrapperspb.StringValue `protobuf:"bytes,50,opt,name=description,proto3" json:"description,omitempty" class:"public"` // @gotags: `class:"public"`
	// Output only. The time this resource was created.
	CreatedTime *timestamppb.Timestamp `protobuf:"bytes,60,opt,name=created_time,proto3" json:"created_time,omitempty" class:"public"` // @gotags: `class:"public"`
	// Output only. The time this resource was last updated.
	UpdatedTime *timestamppb.Timestamp `protobuf:"bytes,70,opt,name=updated_time,proto3" json:"updated_time,omitempty" class:"public"` // @gotags: `class:"public"`
	// Version is used in mutation requests, after the initial creation, to ensure this resource has not changed.
	// The mutation will fail if the version does not match the latest known good version.
	Version uint32 `protobuf:"varint,80,opt,name=version,proto3" json:"version,omitempty" class:"public"` // @gotags: `class:"public"`
	// The Credential Library type.
	Type string `protobuf:"bytes,90,opt,name=type,proto3" json:"type,omitempty" class:"public"` // @gotags: `class:"public"`
	// Types that are assignable to Attrs:
	//	*CredentialLibrary_Attributes
	//	*CredentialLibrary_VaultCredentialLibraryAttributes
	Attrs isCredentialLibrary_Attrs `protobuf_oneof:"attrs"`
	// Output only. The available actions on this resource for this user.
	AuthorizedActions []string `protobuf:"bytes,300,rep,name=authorized_actions,proto3" json:"authorized_actions,omitempty" class:"public"` // @gotags: `class:"public"`
	// The type of credential this library will issue, defaults to Unspecified
	CredentialType string `protobuf:"bytes,310,opt,name=credential_type,proto3" json:"credential_type,omitempty" class:"public"` // @gotags: `class:"public"`
	// The credential mapping overrides
	CredentialMappingOverrides *structpb.Struct `protobuf:"bytes,320,opt,name=credential_mapping_overrides,proto3" json:"credential_mapping_overrides,omitempty"`
	// contains filtered or unexported fields
}

CredentialLibrary contains all fields related to an Credential Library resource

func (*CredentialLibrary) Descriptor deprecated

func (*CredentialLibrary) Descriptor() ([]byte, []int)

Deprecated: Use CredentialLibrary.ProtoReflect.Descriptor instead.

func (*CredentialLibrary) GetAttributes

func (x *CredentialLibrary) GetAttributes() *structpb.Struct

func (*CredentialLibrary) GetAttrs added in v0.0.15

func (m *CredentialLibrary) GetAttrs() isCredentialLibrary_Attrs

func (*CredentialLibrary) GetAuthorizedActions

func (x *CredentialLibrary) GetAuthorizedActions() []string

func (*CredentialLibrary) GetCreatedTime

func (x *CredentialLibrary) GetCreatedTime() *timestamppb.Timestamp

func (*CredentialLibrary) GetCredentialMappingOverrides added in v0.0.13

func (x *CredentialLibrary) GetCredentialMappingOverrides() *structpb.Struct

func (*CredentialLibrary) GetCredentialStoreId

func (x *CredentialLibrary) GetCredentialStoreId() string

func (*CredentialLibrary) GetCredentialType added in v0.0.13

func (x *CredentialLibrary) GetCredentialType() string

func (*CredentialLibrary) GetDescription

func (x *CredentialLibrary) GetDescription() *wrapperspb.StringValue

func (*CredentialLibrary) GetId

func (x *CredentialLibrary) GetId() string

func (*CredentialLibrary) GetName

func (*CredentialLibrary) GetScope

func (x *CredentialLibrary) GetScope() *scopes.ScopeInfo

func (*CredentialLibrary) GetType

func (x *CredentialLibrary) GetType() string

func (*CredentialLibrary) GetUpdatedTime

func (x *CredentialLibrary) GetUpdatedTime() *timestamppb.Timestamp

func (*CredentialLibrary) GetVaultCredentialLibraryAttributes added in v0.0.15

func (x *CredentialLibrary) GetVaultCredentialLibraryAttributes() *VaultCredentialLibraryAttributes

func (*CredentialLibrary) GetVersion

func (x *CredentialLibrary) GetVersion() uint32

func (*CredentialLibrary) ProtoMessage

func (*CredentialLibrary) ProtoMessage()

func (*CredentialLibrary) ProtoReflect

func (x *CredentialLibrary) ProtoReflect() protoreflect.Message

func (*CredentialLibrary) Reset

func (x *CredentialLibrary) Reset()

func (*CredentialLibrary) String

func (x *CredentialLibrary) String() string

type CredentialLibrary_Attributes added in v0.0.15

type CredentialLibrary_Attributes struct {
	// The attributes that are applicable for the specific Credential Library type.
	Attributes *structpb.Struct `protobuf:"bytes,100,opt,name=attributes,proto3,oneof"`
}

type CredentialLibrary_VaultCredentialLibraryAttributes added in v0.0.15

type CredentialLibrary_VaultCredentialLibraryAttributes struct {
	VaultCredentialLibraryAttributes *VaultCredentialLibraryAttributes `protobuf:"bytes,101,opt,name=vault_credential_library_attributes,json=vaultCredentialLibraryAttributes,proto3,oneof"`
}

type VaultCredentialLibraryAttributes

type VaultCredentialLibraryAttributes struct {

	// The path in Vault to request credentials from.
	Path *wrapperspb.StringValue `protobuf:"bytes,10,opt,name=path,proto3" json:"path,omitempty" class:"public"` // @gotags: `class:"public"`
	// The HTTP method the library uses to communicate with Vault.
	HttpMethod *wrapperspb.StringValue `protobuf:"bytes,20,opt,name=http_method,proto3" json:"http_method,omitempty" class:"public"` // @gotags: `class:"public"`
	// The body of the HTTP request the library sends to vault. When set http_method must be "POST"
	HttpRequestBody *wrapperspb.StringValue `protobuf:"bytes,30,opt,name=http_request_body,proto3" json:"http_request_body,omitempty" class:"secret"` // @gotags: `class:"secret"`
	// contains filtered or unexported fields
}

The attributes of a vault typed Credential Library.

func (*VaultCredentialLibraryAttributes) Descriptor deprecated

func (*VaultCredentialLibraryAttributes) Descriptor() ([]byte, []int)

Deprecated: Use VaultCredentialLibraryAttributes.ProtoReflect.Descriptor instead.

func (*VaultCredentialLibraryAttributes) GetHttpMethod

func (*VaultCredentialLibraryAttributes) GetHttpRequestBody

func (x *VaultCredentialLibraryAttributes) GetHttpRequestBody() *wrapperspb.StringValue

func (*VaultCredentialLibraryAttributes) GetPath

func (*VaultCredentialLibraryAttributes) ProtoMessage

func (*VaultCredentialLibraryAttributes) ProtoMessage()

func (*VaultCredentialLibraryAttributes) ProtoReflect

func (*VaultCredentialLibraryAttributes) Reset

func (*VaultCredentialLibraryAttributes) String

Jump to

Keyboard shortcuts

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