credentiallibraries

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2021 License: MPL-2.0 Imports: 9 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"`
	// 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"`
	// 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"`
	// Optional user-set description for identification purposes.
	Description *wrapperspb.StringValue `protobuf:"bytes,50,opt,name=description,proto3" json:"description,omitempty"`
	// Output only. The time this resource was created.
	CreatedTime *timestamppb.Timestamp `protobuf:"bytes,60,opt,name=created_time,proto3" json:"created_time,omitempty"`
	// Output only. The time this resource was last updated.
	UpdatedTime *timestamppb.Timestamp `protobuf:"bytes,70,opt,name=updated_time,proto3" json:"updated_time,omitempty"`
	// 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"`
	// The Credential Library type.
	Type string `protobuf:"bytes,90,opt,name=type,proto3" json:"type,omitempty"`
	// The attributes that are applicable for the specific Credential Library type.
	Attributes *structpb.Struct `protobuf:"bytes,100,opt,name=attributes,proto3" json:"attributes,omitempty"`
	// 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"`
	// 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) GetAuthorizedActions

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

func (*CredentialLibrary) GetCreatedTime

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

func (*CredentialLibrary) GetCredentialStoreId

func (x *CredentialLibrary) GetCredentialStoreId() 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) 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 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"`
	// 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"`
	// 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"`
	// 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