Documentation
¶
Index ¶
- Variables
- type CredentialStore
- func (*CredentialStore) Descriptor() ([]byte, []int)deprecated
- func (x *CredentialStore) GetAttributes() *structpb.Struct
- 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) GetVersion() uint32
- func (*CredentialStore) ProtoMessage()
- func (x *CredentialStore) ProtoReflect() protoreflect.Message
- func (x *CredentialStore) Reset()
- func (x *CredentialStore) String() string
- 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 (*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"` // 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"` // 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"` // 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 Store type. Type string `protobuf:"bytes,90,opt,name=type,proto3" json:"type,omitempty"` // The attributes that are applicable for the specific Credential Store 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"` // Output only. The authorized actions for the scope's collections. AuthorizedCollectionActions map[string]*structpb.ListValue `` /* 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) 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) 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
type VaultCredentialStoreAttributes ¶
type VaultCredentialStoreAttributes struct { // The complete url address of vault. Address *wrapperspb.StringValue `protobuf:"bytes,10,opt,name=address,proto3" json:"address,omitempty"` // The namespace of vault used by this store Namespace *wrapperspb.StringValue `protobuf:"bytes,20,opt,name=namespace,proto3" json:"namespace,omitempty"` // 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"` // 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"` // 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"` // 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"` // 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"` // 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"` // Input only. A client certificate private key. ClientCertificateKey *wrapperspb.StringValue `protobuf:"bytes,90,opt,name=client_certificate_key,proto3" json:"client_certificate_key,omitempty"` // 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"` // 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) 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.