credentiallibraries

package
v0.0.46 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 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
	//	*CredentialLibrary_VaultSshCertificateCredentialLibraryAttributes
	//	*CredentialLibrary_VaultGenericCredentialLibraryAttributes
	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) GetVaultGenericCredentialLibraryAttributes added in v0.0.30

func (x *CredentialLibrary) GetVaultGenericCredentialLibraryAttributes() *VaultCredentialLibraryAttributes

func (*CredentialLibrary) GetVaultSshCertificateCredentialLibraryAttributes added in v0.0.30

func (x *CredentialLibrary) GetVaultSshCertificateCredentialLibraryAttributes() *VaultSSHCertificateCredentialLibraryAttributes

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 CredentialLibrary_VaultGenericCredentialLibraryAttributes added in v0.0.30

type CredentialLibrary_VaultGenericCredentialLibraryAttributes struct {
	VaultGenericCredentialLibraryAttributes *VaultCredentialLibraryAttributes `` /* 131-byte string literal not displayed */
}

type CredentialLibrary_VaultSshCertificateCredentialLibraryAttributes added in v0.0.30

type CredentialLibrary_VaultSshCertificateCredentialLibraryAttributes struct {
	VaultSshCertificateCredentialLibraryAttributes *VaultSSHCertificateCredentialLibraryAttributes `` /* 146-byte string literal not displayed */
}

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

type VaultSSHCertificateCredentialLibraryAttributes added in v0.0.30

type VaultSSHCertificateCredentialLibraryAttributes 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 username to use when making an SSH connection.
	Username *wrapperspb.StringValue `protobuf:"bytes,20,opt,name=username,proto3" json:"username,omitempty" class:"sensitive"` // @gotags: `class:"sensitive"`
	// The key type to use when generating an SSH private key.
	KeyType *wrapperspb.StringValue `protobuf:"bytes,30,opt,name=key_type,json=keyType,proto3" json:"key_type,omitempty" class:"public"` // @gotags: `class:"public"`
	// The number of bits to use to generate an SSH private key.
	KeyBits *wrapperspb.UInt32Value `protobuf:"bytes,40,opt,name=key_bits,json=keyBits,proto3" json:"key_bits,omitempty" class:"public"` // @gotags: `class:"public"`
	// The requested time to live for the certificate.
	Ttl *wrapperspb.StringValue `protobuf:"bytes,50,opt,name=ttl,proto3" json:"ttl,omitempty" class:"public"` // @gotags: `class:"public"`
	// The key id that the created certificate should have.
	KeyId *wrapperspb.StringValue `protobuf:"bytes,60,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty" class:"public"` // @gotags: `class:"public"`
	// The critical options that the certificate should be signed for.
	CriticalOptions map[string]string `` // @gotags: `class:"public"`
	/* 210-byte string literal not displayed */
	// The extensions that the certificate should be signed for.
	Extensions map[string]string `` // @gotags: `class:"public"`
	/* 177-byte string literal not displayed */
	// Principals to be signed as "valid_principles" in addition to username.
	AdditionalValidPrincipals []*wrapperspb.StringValue `` // @gotags: `class:"public"`
	/* 154-byte string literal not displayed */
	// contains filtered or unexported fields
}

The attributes of a vault SSH Certificate Credential Library.

func (*VaultSSHCertificateCredentialLibraryAttributes) Descriptor deprecated added in v0.0.30

Deprecated: Use VaultSSHCertificateCredentialLibraryAttributes.ProtoReflect.Descriptor instead.

func (*VaultSSHCertificateCredentialLibraryAttributes) GetAdditionalValidPrincipals added in v0.0.38

func (x *VaultSSHCertificateCredentialLibraryAttributes) GetAdditionalValidPrincipals() []*wrapperspb.StringValue

func (*VaultSSHCertificateCredentialLibraryAttributes) GetCriticalOptions added in v0.0.30

func (x *VaultSSHCertificateCredentialLibraryAttributes) GetCriticalOptions() map[string]string

func (*VaultSSHCertificateCredentialLibraryAttributes) GetExtensions added in v0.0.30

func (*VaultSSHCertificateCredentialLibraryAttributes) GetKeyBits added in v0.0.30

func (*VaultSSHCertificateCredentialLibraryAttributes) GetKeyId added in v0.0.30

func (*VaultSSHCertificateCredentialLibraryAttributes) GetKeyType added in v0.0.30

func (*VaultSSHCertificateCredentialLibraryAttributes) GetPath added in v0.0.30

func (*VaultSSHCertificateCredentialLibraryAttributes) GetTtl added in v0.0.30

func (*VaultSSHCertificateCredentialLibraryAttributes) GetUsername added in v0.0.30

func (*VaultSSHCertificateCredentialLibraryAttributes) ProtoMessage added in v0.0.30

func (*VaultSSHCertificateCredentialLibraryAttributes) ProtoReflect added in v0.0.30

func (*VaultSSHCertificateCredentialLibraryAttributes) Reset added in v0.0.30

func (*VaultSSHCertificateCredentialLibraryAttributes) String added in v0.0.30

Jump to

Keyboard shortcuts

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