Documentation ¶
Index ¶
- Variables
- type Credential
- func (*Credential) Descriptor() ([]byte, []int)deprecated
- func (x *Credential) GetAttributes() *structpb.Struct
- func (m *Credential) GetAttrs() isCredential_Attrs
- func (x *Credential) GetAuthorizedActions() []string
- func (x *Credential) GetCreatedTime() *timestamppb.Timestamp
- func (x *Credential) GetCredentialStoreId() string
- func (x *Credential) GetDescription() *wrapperspb.StringValue
- func (x *Credential) GetId() string
- func (x *Credential) GetJsonAttributes() *JsonAttributes
- func (x *Credential) GetName() *wrapperspb.StringValue
- func (x *Credential) GetScope() *scopes.ScopeInfo
- func (x *Credential) GetSshPrivateKeyAttributes() *SshPrivateKeyAttributes
- func (x *Credential) GetType() string
- func (x *Credential) GetUpdatedTime() *timestamppb.Timestamp
- func (x *Credential) GetUsernamePasswordAttributes() *UsernamePasswordAttributes
- func (x *Credential) GetVersion() uint32
- func (*Credential) ProtoMessage()
- func (x *Credential) ProtoReflect() protoreflect.Message
- func (x *Credential) Reset()
- func (x *Credential) String() string
- type Credential_Attributes
- type Credential_JsonAttributes
- type Credential_SshPrivateKeyAttributes
- type Credential_UsernamePasswordAttributes
- type JsonAttributes
- func (*JsonAttributes) Descriptor() ([]byte, []int)deprecated
- func (x *JsonAttributes) GetObject() *structpb.Struct
- func (x *JsonAttributes) GetObjectHmac() string
- func (*JsonAttributes) ProtoMessage()
- func (x *JsonAttributes) ProtoReflect() protoreflect.Message
- func (x *JsonAttributes) Reset()
- func (x *JsonAttributes) String() string
- type SshPrivateKeyAttributes
- func (*SshPrivateKeyAttributes) Descriptor() ([]byte, []int)deprecated
- func (x *SshPrivateKeyAttributes) GetPrivateKey() *wrapperspb.StringValue
- func (x *SshPrivateKeyAttributes) GetPrivateKeyHmac() string
- func (x *SshPrivateKeyAttributes) GetPrivateKeyPassphrase() *wrapperspb.StringValue
- func (x *SshPrivateKeyAttributes) GetPrivateKeyPassphraseHmac() string
- func (x *SshPrivateKeyAttributes) GetUsername() *wrapperspb.StringValue
- func (*SshPrivateKeyAttributes) ProtoMessage()
- func (x *SshPrivateKeyAttributes) ProtoReflect() protoreflect.Message
- func (x *SshPrivateKeyAttributes) Reset()
- func (x *SshPrivateKeyAttributes) String() string
- type UsernamePasswordAttributes
- func (*UsernamePasswordAttributes) Descriptor() ([]byte, []int)deprecated
- func (x *UsernamePasswordAttributes) GetPassword() *wrapperspb.StringValue
- func (x *UsernamePasswordAttributes) GetPasswordHmac() string
- func (x *UsernamePasswordAttributes) GetUsername() *wrapperspb.StringValue
- func (*UsernamePasswordAttributes) ProtoMessage()
- func (x *UsernamePasswordAttributes) ProtoReflect() protoreflect.Message
- func (x *UsernamePasswordAttributes) Reset()
- func (x *UsernamePasswordAttributes) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_controller_api_resources_credentials_v1_credential_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Credential ¶
type Credential struct { // Output only. The ID of the Credential. 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 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. 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 type. Type string `protobuf:"bytes,90,opt,name=type,proto3" json:"type,omitempty" class:"public"` // @gotags: `class:"public"` // Types that are assignable to Attrs: // // *Credential_Attributes // *Credential_UsernamePasswordAttributes // *Credential_SshPrivateKeyAttributes // *Credential_JsonAttributes Attrs isCredential_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"` // contains filtered or unexported fields }
Credential contains all fields related to an Credential resource
func (*Credential) Descriptor
deprecated
func (*Credential) Descriptor() ([]byte, []int)
Deprecated: Use Credential.ProtoReflect.Descriptor instead.
func (*Credential) GetAttributes ¶
func (x *Credential) GetAttributes() *structpb.Struct
func (*Credential) GetAttrs ¶
func (m *Credential) GetAttrs() isCredential_Attrs
func (*Credential) GetAuthorizedActions ¶
func (x *Credential) GetAuthorizedActions() []string
func (*Credential) GetCreatedTime ¶
func (x *Credential) GetCreatedTime() *timestamppb.Timestamp
func (*Credential) GetCredentialStoreId ¶
func (x *Credential) GetCredentialStoreId() string
func (*Credential) GetDescription ¶
func (x *Credential) GetDescription() *wrapperspb.StringValue
func (*Credential) GetId ¶
func (x *Credential) GetId() string
func (*Credential) GetJsonAttributes ¶ added in v0.0.23
func (x *Credential) GetJsonAttributes() *JsonAttributes
func (*Credential) GetName ¶
func (x *Credential) GetName() *wrapperspb.StringValue
func (*Credential) GetScope ¶
func (x *Credential) GetScope() *scopes.ScopeInfo
func (*Credential) GetSshPrivateKeyAttributes ¶ added in v0.0.18
func (x *Credential) GetSshPrivateKeyAttributes() *SshPrivateKeyAttributes
func (*Credential) GetType ¶
func (x *Credential) GetType() string
func (*Credential) GetUpdatedTime ¶
func (x *Credential) GetUpdatedTime() *timestamppb.Timestamp
func (*Credential) GetUsernamePasswordAttributes ¶
func (x *Credential) GetUsernamePasswordAttributes() *UsernamePasswordAttributes
func (*Credential) GetVersion ¶
func (x *Credential) GetVersion() uint32
func (*Credential) ProtoMessage ¶
func (*Credential) ProtoMessage()
func (*Credential) ProtoReflect ¶
func (x *Credential) ProtoReflect() protoreflect.Message
func (*Credential) Reset ¶
func (x *Credential) Reset()
func (*Credential) String ¶
func (x *Credential) String() string
type Credential_Attributes ¶
type Credential_JsonAttributes ¶ added in v0.0.23
type Credential_JsonAttributes struct {
JsonAttributes *JsonAttributes `protobuf:"bytes,103,opt,name=json_attributes,json=jsonAttributes,proto3,oneof"`
}
type Credential_SshPrivateKeyAttributes ¶ added in v0.0.18
type Credential_SshPrivateKeyAttributes struct {
SshPrivateKeyAttributes *SshPrivateKeyAttributes `protobuf:"bytes,102,opt,name=ssh_private_key_attributes,json=sshPrivateKeyAttributes,proto3,oneof"`
}
type Credential_UsernamePasswordAttributes ¶
type Credential_UsernamePasswordAttributes struct {
UsernamePasswordAttributes *UsernamePasswordAttributes `protobuf:"bytes,101,opt,name=username_password_attributes,json=usernamePasswordAttributes,proto3,oneof"`
}
type JsonAttributes ¶ added in v0.0.23
type JsonAttributes struct { // Input only. The secret associated with the credential. Object *structpb.Struct `protobuf:"bytes,10,opt,name=object,proto3" json:"object,omitempty" class:"secret"` // @gotags: `class:"secret"` // Output only. The hmac value of the object. ObjectHmac string `protobuf:"bytes,20,opt,name=object_hmac,proto3" json:"object_hmac,omitempty" class:"public"` // @gotags: `class:"public"` // contains filtered or unexported fields }
The attributes of a JSON Credential.
func (*JsonAttributes) Descriptor
deprecated
added in
v0.0.23
func (*JsonAttributes) Descriptor() ([]byte, []int)
Deprecated: Use JsonAttributes.ProtoReflect.Descriptor instead.
func (*JsonAttributes) GetObject ¶ added in v0.0.23
func (x *JsonAttributes) GetObject() *structpb.Struct
func (*JsonAttributes) GetObjectHmac ¶ added in v0.0.23
func (x *JsonAttributes) GetObjectHmac() string
func (*JsonAttributes) ProtoMessage ¶ added in v0.0.23
func (*JsonAttributes) ProtoMessage()
func (*JsonAttributes) ProtoReflect ¶ added in v0.0.23
func (x *JsonAttributes) ProtoReflect() protoreflect.Message
func (*JsonAttributes) Reset ¶ added in v0.0.23
func (x *JsonAttributes) Reset()
func (*JsonAttributes) String ¶ added in v0.0.23
func (x *JsonAttributes) String() string
type SshPrivateKeyAttributes ¶ added in v0.0.18
type SshPrivateKeyAttributes struct { // The username associated with the credential. Username *wrapperspb.StringValue `protobuf:"bytes,10,opt,name=username,proto3" json:"username,omitempty" class:"public"` // @gotags: `class:"public"` // Input only. The SSH private key associated with the credential. PrivateKey *wrapperspb.StringValue `protobuf:"bytes,20,opt,name=private_key,proto3" json:"private_key,omitempty" class:"secret"` // @gotags: `class:"secret"` // Output only. The hmac value of the SSH private key. PrivateKeyHmac string `protobuf:"bytes,30,opt,name=private_key_hmac,proto3" json:"private_key_hmac,omitempty" class:"public"` // @gotags: `class:"public"` // Input only. The passphrase for the SSH private key associated with the credential. PrivateKeyPassphrase *wrapperspb.StringValue `protobuf:"bytes,40,opt,name=private_key_passphrase,proto3" json:"private_key_passphrase,omitempty" class:"secret"` // @gotags: `class:"secret"` // Output only. The hmac value of the SSH private key passphrase. PrivateKeyPassphraseHmac string `protobuf:"bytes,50,opt,name=private_key_passphrase_hmac,proto3" json:"private_key_passphrase_hmac,omitempty" class:"public"` // @gotags: `class:"public"` // contains filtered or unexported fields }
The attributes of a SshPrivateKey Credential.
func (*SshPrivateKeyAttributes) Descriptor
deprecated
added in
v0.0.18
func (*SshPrivateKeyAttributes) Descriptor() ([]byte, []int)
Deprecated: Use SshPrivateKeyAttributes.ProtoReflect.Descriptor instead.
func (*SshPrivateKeyAttributes) GetPrivateKey ¶ added in v0.0.18
func (x *SshPrivateKeyAttributes) GetPrivateKey() *wrapperspb.StringValue
func (*SshPrivateKeyAttributes) GetPrivateKeyHmac ¶ added in v0.0.18
func (x *SshPrivateKeyAttributes) GetPrivateKeyHmac() string
func (*SshPrivateKeyAttributes) GetPrivateKeyPassphrase ¶ added in v0.0.19
func (x *SshPrivateKeyAttributes) GetPrivateKeyPassphrase() *wrapperspb.StringValue
func (*SshPrivateKeyAttributes) GetPrivateKeyPassphraseHmac ¶ added in v0.0.19
func (x *SshPrivateKeyAttributes) GetPrivateKeyPassphraseHmac() string
func (*SshPrivateKeyAttributes) GetUsername ¶ added in v0.0.18
func (x *SshPrivateKeyAttributes) GetUsername() *wrapperspb.StringValue
func (*SshPrivateKeyAttributes) ProtoMessage ¶ added in v0.0.18
func (*SshPrivateKeyAttributes) ProtoMessage()
func (*SshPrivateKeyAttributes) ProtoReflect ¶ added in v0.0.18
func (x *SshPrivateKeyAttributes) ProtoReflect() protoreflect.Message
func (*SshPrivateKeyAttributes) Reset ¶ added in v0.0.18
func (x *SshPrivateKeyAttributes) Reset()
func (*SshPrivateKeyAttributes) String ¶ added in v0.0.18
func (x *SshPrivateKeyAttributes) String() string
type UsernamePasswordAttributes ¶
type UsernamePasswordAttributes struct { // The username associated with the credential. Username *wrapperspb.StringValue `protobuf:"bytes,10,opt,name=username,proto3" json:"username,omitempty" class:"public"` // @gotags: `class:"public"` // Input only. The password associated with the credential. Password *wrapperspb.StringValue `protobuf:"bytes,20,opt,name=password,proto3" json:"password,omitempty" class:"secret"` // @gotags: `class:"secret"` // Output only. The hmac value of the password. PasswordHmac string `protobuf:"bytes,30,opt,name=password_hmac,proto3" json:"password_hmac,omitempty" class:"public"` // @gotags: `class:"public"` // contains filtered or unexported fields }
The attributes of a UsernamePassword Credential.
func (*UsernamePasswordAttributes) Descriptor
deprecated
func (*UsernamePasswordAttributes) Descriptor() ([]byte, []int)
Deprecated: Use UsernamePasswordAttributes.ProtoReflect.Descriptor instead.
func (*UsernamePasswordAttributes) GetPassword ¶
func (x *UsernamePasswordAttributes) GetPassword() *wrapperspb.StringValue
func (*UsernamePasswordAttributes) GetPasswordHmac ¶
func (x *UsernamePasswordAttributes) GetPasswordHmac() string
func (*UsernamePasswordAttributes) GetUsername ¶
func (x *UsernamePasswordAttributes) GetUsername() *wrapperspb.StringValue
func (*UsernamePasswordAttributes) ProtoMessage ¶
func (*UsernamePasswordAttributes) ProtoMessage()
func (*UsernamePasswordAttributes) ProtoReflect ¶
func (x *UsernamePasswordAttributes) ProtoReflect() protoreflect.Message
func (*UsernamePasswordAttributes) Reset ¶
func (x *UsernamePasswordAttributes) Reset()
func (*UsernamePasswordAttributes) String ¶
func (x *UsernamePasswordAttributes) String() string
Click to show internal directories.
Click to hide internal directories.