Documentation ¶
Index ¶
- Variables
- type CredentialStore
- func (*CredentialStore) Descriptor() ([]byte, []int)deprecated
- func (x *CredentialStore) GetAttributes() *structpb.Struct
- func (m *CredentialStore) GetAttrs() isCredentialStore_Attrs
- func (x *CredentialStore) GetAuthorizedActions() []string
- func (x *CredentialStore) GetAuthorizedCollectionActions() map[string]*structpb.ListValue
- func (x *CredentialStore) GetCreatedTime() *timestamppb.Timestamp
- func (x *CredentialStore) GetDescription() *wrapperspb.StringValue
- func (x *CredentialStore) GetId() string
- func (x *CredentialStore) GetName() *wrapperspb.StringValue
- func (x *CredentialStore) GetScope() *scopes.ScopeInfo
- func (x *CredentialStore) GetScopeId() string
- func (x *CredentialStore) GetType() string
- func (x *CredentialStore) GetUpdatedTime() *timestamppb.Timestamp
- func (x *CredentialStore) GetVaultCredentialStoreAttributes() *VaultCredentialStoreAttributes
- func (x *CredentialStore) GetVersion() uint32
- func (*CredentialStore) ProtoMessage()
- func (x *CredentialStore) ProtoReflect() protoreflect.Message
- func (x *CredentialStore) Reset()
- func (x *CredentialStore) String() string
- func (req *CredentialStore) Tags() ([]encrypt.PointerTag, error)
- type CredentialStore_Attributes
- type CredentialStore_VaultCredentialStoreAttributes
- type VaultCredentialStoreAttributes
- func (*VaultCredentialStoreAttributes) Descriptor() ([]byte, []int)deprecated
- func (x *VaultCredentialStoreAttributes) GetAddress() *wrapperspb.StringValue
- func (x *VaultCredentialStoreAttributes) GetCaCert() *wrapperspb.StringValue
- func (x *VaultCredentialStoreAttributes) GetClientCertificate() *wrapperspb.StringValue
- func (x *VaultCredentialStoreAttributes) GetClientCertificateKey() *wrapperspb.StringValue
- func (x *VaultCredentialStoreAttributes) GetClientCertificateKeyHmac() string
- func (x *VaultCredentialStoreAttributes) GetNamespace() *wrapperspb.StringValue
- func (x *VaultCredentialStoreAttributes) GetTlsServerName() *wrapperspb.StringValue
- func (x *VaultCredentialStoreAttributes) GetTlsSkipVerify() *wrapperspb.BoolValue
- func (x *VaultCredentialStoreAttributes) GetToken() *wrapperspb.StringValue
- func (x *VaultCredentialStoreAttributes) GetTokenHmac() string
- func (x *VaultCredentialStoreAttributes) GetTokenStatus() string
- func (x *VaultCredentialStoreAttributes) GetWorkerFilter() *wrapperspb.StringValue
- func (*VaultCredentialStoreAttributes) ProtoMessage()
- func (x *VaultCredentialStoreAttributes) ProtoReflect() protoreflect.Message
- func (x *VaultCredentialStoreAttributes) Reset()
- func (x *VaultCredentialStoreAttributes) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_controller_api_resources_credentialstores_v1_credential_store_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CredentialStore ¶
type CredentialStore struct { // Output only. The ID of the Credential Store. Id string `protobuf:"bytes,10,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"` // The ID of the Scope of which this Credential Store is a part. ScopeId string `protobuf:"bytes,20,opt,name=scope_id,proto3" json:"scope_id,omitempty" class:"public"` // @gotags: `class:"public"` // Output only. Scope information for this Credential Store. 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 Store type. Type string `protobuf:"bytes,90,opt,name=type,proto3" json:"type,omitempty" class:"public"` // @gotags: `class:"public"` // Types that are assignable to Attrs: // // *CredentialStore_Attributes // *CredentialStore_VaultCredentialStoreAttributes Attrs isCredentialStore_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"` // Output only. The authorized actions for the scope's collections. AuthorizedCollectionActions map[string]*structpb.ListValue `` // classified as public via taggable implementation /* 201-byte string literal not displayed */ // contains filtered or unexported fields }
CredentialStore contains all fields related to an Credential Store resource
func (*CredentialStore) Descriptor
deprecated
func (*CredentialStore) Descriptor() ([]byte, []int)
Deprecated: Use CredentialStore.ProtoReflect.Descriptor instead.
func (*CredentialStore) GetAttributes ¶
func (x *CredentialStore) GetAttributes() *structpb.Struct
func (*CredentialStore) GetAttrs ¶ added in v0.0.15
func (m *CredentialStore) GetAttrs() isCredentialStore_Attrs
func (*CredentialStore) GetAuthorizedActions ¶
func (x *CredentialStore) GetAuthorizedActions() []string
func (*CredentialStore) GetAuthorizedCollectionActions ¶
func (x *CredentialStore) GetAuthorizedCollectionActions() map[string]*structpb.ListValue
func (*CredentialStore) GetCreatedTime ¶
func (x *CredentialStore) GetCreatedTime() *timestamppb.Timestamp
func (*CredentialStore) GetDescription ¶
func (x *CredentialStore) GetDescription() *wrapperspb.StringValue
func (*CredentialStore) GetId ¶
func (x *CredentialStore) GetId() string
func (*CredentialStore) GetName ¶
func (x *CredentialStore) GetName() *wrapperspb.StringValue
func (*CredentialStore) GetScope ¶
func (x *CredentialStore) GetScope() *scopes.ScopeInfo
func (*CredentialStore) GetScopeId ¶
func (x *CredentialStore) GetScopeId() string
func (*CredentialStore) GetType ¶
func (x *CredentialStore) GetType() string
func (*CredentialStore) GetUpdatedTime ¶
func (x *CredentialStore) GetUpdatedTime() *timestamppb.Timestamp
func (*CredentialStore) GetVaultCredentialStoreAttributes ¶ added in v0.0.15
func (x *CredentialStore) GetVaultCredentialStoreAttributes() *VaultCredentialStoreAttributes
func (*CredentialStore) GetVersion ¶
func (x *CredentialStore) GetVersion() uint32
func (*CredentialStore) ProtoMessage ¶
func (*CredentialStore) ProtoMessage()
func (*CredentialStore) ProtoReflect ¶
func (x *CredentialStore) ProtoReflect() protoreflect.Message
func (*CredentialStore) Reset ¶
func (x *CredentialStore) Reset()
func (*CredentialStore) String ¶
func (x *CredentialStore) String() string
func (*CredentialStore) Tags ¶ added in v0.0.15
func (req *CredentialStore) Tags() ([]encrypt.PointerTag, error)
Tags implements the encrypt.Taggable interface which allows CredentialStore map fields to be classified for the encrypt filter.
type CredentialStore_Attributes ¶ added in v0.0.15
type CredentialStore_VaultCredentialStoreAttributes ¶ added in v0.0.15
type CredentialStore_VaultCredentialStoreAttributes struct {
VaultCredentialStoreAttributes *VaultCredentialStoreAttributes `protobuf:"bytes,101,opt,name=vault_credential_store_attributes,json=vaultCredentialStoreAttributes,proto3,oneof"`
}
type VaultCredentialStoreAttributes ¶
type VaultCredentialStoreAttributes struct { // The complete url address of vault. Address *wrapperspb.StringValue `protobuf:"bytes,10,opt,name=address,proto3" json:"address,omitempty" class:"public"` // @gotags: `class:"public"` // The namespace of vault used by this store Namespace *wrapperspb.StringValue `protobuf:"bytes,20,opt,name=namespace,proto3" json:"namespace,omitempty" class:"public"` // @gotags: `class:"public"` // The PEM encoded CA cert to verify the vault server's ssl certificate CaCert *wrapperspb.StringValue `protobuf:"bytes,30,opt,name=ca_cert,proto3" json:"ca_cert,omitempty" class:"public"` // @gotags: `class:"public"` // The value to use as the SNI host when connecting to vault via TLS. TlsServerName *wrapperspb.StringValue `protobuf:"bytes,40,opt,name=tls_server_name,proto3" json:"tls_server_name,omitempty" class:"public"` // @gotags: `class:"public"` // When set to true verification of the TLS certificate is disabled. TlsSkipVerify *wrapperspb.BoolValue `protobuf:"bytes,50,opt,name=tls_skip_verify,proto3" json:"tls_skip_verify,omitempty" class:"public"` // @gotags: `class:"public"` // Input only. The current vault token used by this credential store for creating new credentials. Token *wrapperspb.StringValue `protobuf:"bytes,60,opt,name=token,proto3" json:"token,omitempty" class:"secret"` // @gotags: `class:"secret"` // Output only. The hmac value of the vault token used by this credential store. TokenHmac string `protobuf:"bytes,70,opt,name=token_hmac,proto3" json:"token_hmac,omitempty" class:"public"` // @gotags: `class:"public"` // Input only. A PEM encoded client certificate for vault with an // optional private key included in the bundle. It is an error to include // the private key in this bundle as well as setting the certificate_key // field. ClientCertificate *wrapperspb.StringValue `protobuf:"bytes,80,opt,name=client_certificate,proto3" json:"client_certificate,omitempty" class:"secret"` // @gotags: `class:"secret"` // Input only. A client certificate private key. ClientCertificateKey *wrapperspb.StringValue `protobuf:"bytes,90,opt,name=client_certificate_key,proto3" json:"client_certificate_key,omitempty" class:"secret"` // @gotags: `class:"secret"` // Output only. The hmac value of the private key used by the credential store. ClientCertificateKeyHmac string `protobuf:"bytes,100,opt,name=client_certificate_key_hmac,proto3" json:"client_certificate_key_hmac,omitempty" class:"public"` // @gotags: `class:"public"` // worker_filter is optional. Filters to the worker(s) who can handle Vault requests for this cred store WorkerFilter *wrapperspb.StringValue `protobuf:"bytes,110,opt,name=worker_filter,proto3" json:"worker_filter,omitempty" class:"public"` // @gotags: `class:"public"` // Output only. The status of the vault token used by this credential store (current or expired). TokenStatus string `protobuf:"bytes,120,opt,name=token_status,proto3" json:"token_status,omitempty" class:"public"` // @gotags: `class:"public"` // contains filtered or unexported fields }
The attributes of a vault typed Credential Store.
func (*VaultCredentialStoreAttributes) Descriptor
deprecated
func (*VaultCredentialStoreAttributes) Descriptor() ([]byte, []int)
Deprecated: Use VaultCredentialStoreAttributes.ProtoReflect.Descriptor instead.
func (*VaultCredentialStoreAttributes) GetAddress ¶
func (x *VaultCredentialStoreAttributes) GetAddress() *wrapperspb.StringValue
func (*VaultCredentialStoreAttributes) GetCaCert ¶
func (x *VaultCredentialStoreAttributes) GetCaCert() *wrapperspb.StringValue
func (*VaultCredentialStoreAttributes) GetClientCertificate ¶
func (x *VaultCredentialStoreAttributes) GetClientCertificate() *wrapperspb.StringValue
func (*VaultCredentialStoreAttributes) GetClientCertificateKey ¶
func (x *VaultCredentialStoreAttributes) GetClientCertificateKey() *wrapperspb.StringValue
func (*VaultCredentialStoreAttributes) GetClientCertificateKeyHmac ¶
func (x *VaultCredentialStoreAttributes) GetClientCertificateKeyHmac() string
func (*VaultCredentialStoreAttributes) GetNamespace ¶
func (x *VaultCredentialStoreAttributes) GetNamespace() *wrapperspb.StringValue
func (*VaultCredentialStoreAttributes) GetTlsServerName ¶
func (x *VaultCredentialStoreAttributes) GetTlsServerName() *wrapperspb.StringValue
func (*VaultCredentialStoreAttributes) GetTlsSkipVerify ¶
func (x *VaultCredentialStoreAttributes) GetTlsSkipVerify() *wrapperspb.BoolValue
func (*VaultCredentialStoreAttributes) GetToken ¶
func (x *VaultCredentialStoreAttributes) GetToken() *wrapperspb.StringValue
func (*VaultCredentialStoreAttributes) GetTokenHmac ¶
func (x *VaultCredentialStoreAttributes) GetTokenHmac() string
func (*VaultCredentialStoreAttributes) GetTokenStatus ¶ added in v0.0.22
func (x *VaultCredentialStoreAttributes) GetTokenStatus() string
func (*VaultCredentialStoreAttributes) GetWorkerFilter ¶ added in v0.0.18
func (x *VaultCredentialStoreAttributes) GetWorkerFilter() *wrapperspb.StringValue
func (*VaultCredentialStoreAttributes) ProtoMessage ¶
func (*VaultCredentialStoreAttributes) ProtoMessage()
func (*VaultCredentialStoreAttributes) ProtoReflect ¶
func (x *VaultCredentialStoreAttributes) ProtoReflect() protoreflect.Message
func (*VaultCredentialStoreAttributes) Reset ¶
func (x *VaultCredentialStoreAttributes) Reset()
func (*VaultCredentialStoreAttributes) String ¶
func (x *VaultCredentialStoreAttributes) String() string
Click to show internal directories.
Click to hide internal directories.