Documentation ¶
Index ¶
- Variables
- type AuditKey
- func (*AuditKey) Descriptor() ([]byte, []int)deprecated
- func (x *AuditKey) GetCreateTime() *timestamp.Timestamp
- func (x *AuditKey) GetPrivateId() string
- func (x *AuditKey) GetRootKeyId() string
- func (*AuditKey) ProtoMessage()
- func (x *AuditKey) ProtoReflect() protoreflect.Message
- func (x *AuditKey) Reset()
- func (x *AuditKey) String() string
- type AuditKeyVersion
- func (*AuditKeyVersion) Descriptor() ([]byte, []int)deprecated
- func (x *AuditKeyVersion) GetAuditKeyId() string
- func (x *AuditKeyVersion) GetCreateTime() *timestamp.Timestamp
- func (x *AuditKeyVersion) GetCtKey() []byte
- func (x *AuditKeyVersion) GetKey() []byte
- func (x *AuditKeyVersion) GetPrivateId() string
- func (x *AuditKeyVersion) GetRootKeyVersionId() string
- func (x *AuditKeyVersion) GetVersion() uint32
- func (*AuditKeyVersion) ProtoMessage()
- func (x *AuditKeyVersion) ProtoReflect() protoreflect.Message
- func (x *AuditKeyVersion) Reset()
- func (x *AuditKeyVersion) String() string
- type DataKeyVersionDestructionJob
- func (*DataKeyVersionDestructionJob) Descriptor() ([]byte, []int)deprecated
- func (x *DataKeyVersionDestructionJob) GetCreateTime() *timestamp.Timestamp
- func (x *DataKeyVersionDestructionJob) GetKeyId() string
- func (*DataKeyVersionDestructionJob) ProtoMessage()
- func (x *DataKeyVersionDestructionJob) ProtoReflect() protoreflect.Message
- func (x *DataKeyVersionDestructionJob) Reset()
- func (x *DataKeyVersionDestructionJob) String() string
- type DataKeyVersionDestructionJobProgress
- func (*DataKeyVersionDestructionJobProgress) Descriptor() ([]byte, []int)deprecated
- func (x *DataKeyVersionDestructionJobProgress) GetCompletedCount() int64
- func (x *DataKeyVersionDestructionJobProgress) GetCreateTime() *timestamp.Timestamp
- func (x *DataKeyVersionDestructionJobProgress) GetKeyId() string
- func (x *DataKeyVersionDestructionJobProgress) GetScopeId() string
- func (x *DataKeyVersionDestructionJobProgress) GetStatus() string
- func (x *DataKeyVersionDestructionJobProgress) GetTotalCount() int64
- func (*DataKeyVersionDestructionJobProgress) ProtoMessage()
- func (x *DataKeyVersionDestructionJobProgress) ProtoReflect() protoreflect.Message
- func (x *DataKeyVersionDestructionJobProgress) Reset()
- func (x *DataKeyVersionDestructionJobProgress) String() string
- type DataKeyVersionDestructionJobRun
- func (*DataKeyVersionDestructionJobRun) Descriptor() ([]byte, []int)deprecated
- func (x *DataKeyVersionDestructionJobRun) GetCompletedCount() int64
- func (x *DataKeyVersionDestructionJobRun) GetIsRunning() bool
- func (x *DataKeyVersionDestructionJobRun) GetKeyId() string
- func (x *DataKeyVersionDestructionJobRun) GetTableName() string
- func (x *DataKeyVersionDestructionJobRun) GetTotalCount() int64
- func (*DataKeyVersionDestructionJobRun) ProtoMessage()
- func (x *DataKeyVersionDestructionJobRun) ProtoReflect() protoreflect.Message
- func (x *DataKeyVersionDestructionJobRun) Reset()
- func (x *DataKeyVersionDestructionJobRun) String() string
- type DataKeyVersionDestructionJobRunAllowedTableName
- func (*DataKeyVersionDestructionJobRunAllowedTableName) Descriptor() ([]byte, []int)deprecated
- func (x *DataKeyVersionDestructionJobRunAllowedTableName) GetTableName() string
- func (*DataKeyVersionDestructionJobRunAllowedTableName) ProtoMessage()
- func (x *DataKeyVersionDestructionJobRunAllowedTableName) ProtoReflect() protoreflect.Message
- func (x *DataKeyVersionDestructionJobRunAllowedTableName) Reset()
- func (x *DataKeyVersionDestructionJobRunAllowedTableName) String() string
- type DatabaseKey
- func (*DatabaseKey) Descriptor() ([]byte, []int)deprecated
- func (x *DatabaseKey) GetCreateTime() *timestamp.Timestamp
- func (x *DatabaseKey) GetPrivateId() string
- func (x *DatabaseKey) GetRootKeyId() string
- func (*DatabaseKey) ProtoMessage()
- func (x *DatabaseKey) ProtoReflect() protoreflect.Message
- func (x *DatabaseKey) Reset()
- func (x *DatabaseKey) String() string
- type DatabaseKeyVersion
- func (*DatabaseKeyVersion) Descriptor() ([]byte, []int)deprecated
- func (x *DatabaseKeyVersion) GetCreateTime() *timestamp.Timestamp
- func (x *DatabaseKeyVersion) GetCtKey() []byte
- func (x *DatabaseKeyVersion) GetDatabaseKeyId() string
- func (x *DatabaseKeyVersion) GetKey() []byte
- func (x *DatabaseKeyVersion) GetPrivateId() string
- func (x *DatabaseKeyVersion) GetRootKeyVersionId() string
- func (x *DatabaseKeyVersion) GetVersion() uint32
- func (*DatabaseKeyVersion) ProtoMessage()
- func (x *DatabaseKeyVersion) ProtoReflect() protoreflect.Message
- func (x *DatabaseKeyVersion) Reset()
- func (x *DatabaseKeyVersion) String() string
- type OidcKey
- func (*OidcKey) Descriptor() ([]byte, []int)deprecated
- func (x *OidcKey) GetCreateTime() *timestamp.Timestamp
- func (x *OidcKey) GetPrivateId() string
- func (x *OidcKey) GetRootKeyId() string
- func (*OidcKey) ProtoMessage()
- func (x *OidcKey) ProtoReflect() protoreflect.Message
- func (x *OidcKey) Reset()
- func (x *OidcKey) String() string
- type OidcKeyVersion
- func (*OidcKeyVersion) Descriptor() ([]byte, []int)deprecated
- func (x *OidcKeyVersion) GetCreateTime() *timestamp.Timestamp
- func (x *OidcKeyVersion) GetCtKey() []byte
- func (x *OidcKeyVersion) GetKey() []byte
- func (x *OidcKeyVersion) GetOidcKeyId() string
- func (x *OidcKeyVersion) GetPrivateId() string
- func (x *OidcKeyVersion) GetRootKeyVersionId() string
- func (x *OidcKeyVersion) GetVersion() uint32
- func (*OidcKeyVersion) ProtoMessage()
- func (x *OidcKeyVersion) ProtoReflect() protoreflect.Message
- func (x *OidcKeyVersion) Reset()
- func (x *OidcKeyVersion) String() string
- type OplogKey
- func (*OplogKey) Descriptor() ([]byte, []int)deprecated
- func (x *OplogKey) GetCreateTime() *timestamp.Timestamp
- func (x *OplogKey) GetPrivateId() string
- func (x *OplogKey) GetRootKeyId() string
- func (*OplogKey) ProtoMessage()
- func (x *OplogKey) ProtoReflect() protoreflect.Message
- func (x *OplogKey) Reset()
- func (x *OplogKey) String() string
- type OplogKeyVersion
- func (*OplogKeyVersion) Descriptor() ([]byte, []int)deprecated
- func (x *OplogKeyVersion) GetCreateTime() *timestamp.Timestamp
- func (x *OplogKeyVersion) GetCtKey() []byte
- func (x *OplogKeyVersion) GetKey() []byte
- func (x *OplogKeyVersion) GetOplogKeyId() string
- func (x *OplogKeyVersion) GetPrivateId() string
- func (x *OplogKeyVersion) GetRootKeyVersionId() string
- func (x *OplogKeyVersion) GetVersion() uint32
- func (*OplogKeyVersion) ProtoMessage()
- func (x *OplogKeyVersion) ProtoReflect() protoreflect.Message
- func (x *OplogKeyVersion) Reset()
- func (x *OplogKeyVersion) String() string
- type RootKey
- func (*RootKey) Descriptor() ([]byte, []int)deprecated
- func (x *RootKey) GetCreateTime() *timestamp.Timestamp
- func (x *RootKey) GetPrivateId() string
- func (x *RootKey) GetScopeId() string
- func (*RootKey) ProtoMessage()
- func (x *RootKey) ProtoReflect() protoreflect.Message
- func (x *RootKey) Reset()
- func (x *RootKey) String() string
- type RootKeyVersion
- func (*RootKeyVersion) Descriptor() ([]byte, []int)deprecated
- func (x *RootKeyVersion) GetCreateTime() *timestamp.Timestamp
- func (x *RootKeyVersion) GetCtKey() []byte
- func (x *RootKeyVersion) GetKey() []byte
- func (x *RootKeyVersion) GetPrivateId() string
- func (x *RootKeyVersion) GetRootKeyId() string
- func (x *RootKeyVersion) GetVersion() uint32
- func (*RootKeyVersion) ProtoMessage()
- func (x *RootKeyVersion) ProtoReflect() protoreflect.Message
- func (x *RootKeyVersion) Reset()
- func (x *RootKeyVersion) String() string
- type SessionKey
- func (*SessionKey) Descriptor() ([]byte, []int)deprecated
- func (x *SessionKey) GetCreateTime() *timestamp.Timestamp
- func (x *SessionKey) GetPrivateId() string
- func (x *SessionKey) GetRootKeyId() string
- func (*SessionKey) ProtoMessage()
- func (x *SessionKey) ProtoReflect() protoreflect.Message
- func (x *SessionKey) Reset()
- func (x *SessionKey) String() string
- type SessionKeyVersion
- func (*SessionKeyVersion) Descriptor() ([]byte, []int)deprecated
- func (x *SessionKeyVersion) GetCreateTime() *timestamp.Timestamp
- func (x *SessionKeyVersion) GetCtKey() []byte
- func (x *SessionKeyVersion) GetKey() []byte
- func (x *SessionKeyVersion) GetPrivateId() string
- func (x *SessionKeyVersion) GetRootKeyVersionId() string
- func (x *SessionKeyVersion) GetSessionKeyId() string
- func (x *SessionKeyVersion) GetVersion() uint32
- func (*SessionKeyVersion) ProtoMessage()
- func (x *SessionKeyVersion) ProtoReflect() protoreflect.Message
- func (x *SessionKeyVersion) Reset()
- func (x *SessionKeyVersion) String() string
- type TokenKey
- func (*TokenKey) Descriptor() ([]byte, []int)deprecated
- func (x *TokenKey) GetCreateTime() *timestamp.Timestamp
- func (x *TokenKey) GetPrivateId() string
- func (x *TokenKey) GetRootKeyId() string
- func (*TokenKey) ProtoMessage()
- func (x *TokenKey) ProtoReflect() protoreflect.Message
- func (x *TokenKey) Reset()
- func (x *TokenKey) String() string
- type TokenKeyVersion
- func (*TokenKeyVersion) Descriptor() ([]byte, []int)deprecated
- func (x *TokenKeyVersion) GetCreateTime() *timestamp.Timestamp
- func (x *TokenKeyVersion) GetCtKey() []byte
- func (x *TokenKeyVersion) GetKey() []byte
- func (x *TokenKeyVersion) GetPrivateId() string
- func (x *TokenKeyVersion) GetRootKeyVersionId() string
- func (x *TokenKeyVersion) GetTokenKeyId() string
- func (x *TokenKeyVersion) GetVersion() uint32
- func (*TokenKeyVersion) ProtoMessage()
- func (x *TokenKeyVersion) ProtoReflect() protoreflect.Message
- func (x *TokenKeyVersion) Reset()
- func (x *TokenKeyVersion) String() string
Constants ¶
This section is empty.
Variables ¶
var File_controller_storage_kms_store_v1_audit_key_proto protoreflect.FileDescriptor
var File_controller_storage_kms_store_v1_data_key_version_destruction_job_progress_proto protoreflect.FileDescriptor
var File_controller_storage_kms_store_v1_data_key_version_destruction_job_proto protoreflect.FileDescriptor
var File_controller_storage_kms_store_v1_data_key_version_destruction_job_run_allowed_table_name_proto protoreflect.FileDescriptor
var File_controller_storage_kms_store_v1_data_key_version_destruction_job_run_proto protoreflect.FileDescriptor
var File_controller_storage_kms_store_v1_database_key_proto protoreflect.FileDescriptor
var File_controller_storage_kms_store_v1_oidc_key_proto protoreflect.FileDescriptor
var File_controller_storage_kms_store_v1_oplog_key_proto protoreflect.FileDescriptor
var File_controller_storage_kms_store_v1_root_key_proto protoreflect.FileDescriptor
var File_controller_storage_kms_store_v1_session_key_proto protoreflect.FileDescriptor
var File_controller_storage_kms_store_v1_token_key_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AuditKey ¶ added in v0.7.0
type AuditKey struct { // private_id is used to access the key via an API // @inject_tag: gorm:"primary_key" PrivateId string `protobuf:"bytes,10,opt,name=private_id,json=privateId,proto3" json:"private_id,omitempty" gorm:"primary_key"` // root key id for the key // @inject_tag: `gorm:"default:null"` RootKeyId string `protobuf:"bytes,20,opt,name=root_key_id,json=rootKeyId,proto3" json:"root_key_id,omitempty" gorm:"default:null"` // create_time from the RDBMS // @inject_tag: `gorm:"default:current_timestamp"` CreateTime *timestamp.Timestamp `protobuf:"bytes,30,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty" gorm:"default:current_timestamp"` // contains filtered or unexported fields }
func (*AuditKey) Descriptor
deprecated
added in
v0.7.0
func (*AuditKey) GetCreateTime ¶ added in v0.7.0
func (*AuditKey) GetPrivateId ¶ added in v0.7.0
func (*AuditKey) GetRootKeyId ¶ added in v0.7.0
func (*AuditKey) ProtoMessage ¶ added in v0.7.0
func (*AuditKey) ProtoMessage()
func (*AuditKey) ProtoReflect ¶ added in v0.7.0
func (x *AuditKey) ProtoReflect() protoreflect.Message
type AuditKeyVersion ¶ added in v0.7.0
type AuditKeyVersion struct { // private_id is used to access the key version via an API // @inject_tag: gorm:"primary_key" PrivateId string `protobuf:"bytes,10,opt,name=private_id,json=privateId,proto3" json:"private_id,omitempty" gorm:"primary_key"` // id for the key version // @inject_tag: `gorm:"default:null"` AuditKeyId string `protobuf:"bytes,20,opt,name=audit_key_id,json=auditKeyId,proto3" json:"audit_key_id,omitempty" gorm:"default:null"` // root_key_version_id of the version of the root key data. // @inject_tag: `gorm:"default:null"` RootKeyVersionId string `` /* 134-byte string literal not displayed */ // plain-text of the key data. we are NOT storing this plain-text key // in the db. // @inject_tag: `gorm:"-" wrapping:"pt,key_data"` Key []byte `protobuf:"bytes,40,opt,name=key,proto3" json:"key,omitempty" gorm:"-" wrapping:"pt,key_data"` // ciphertext key data stored in the database // @inject_tag: `gorm:"column:key;not_null" wrapping:"ct,key_data"` CtKey []byte `` /* 127-byte string literal not displayed */ // version of the key data. This is not used for optimistic locking, since // key versions are immutable. It's just the version of the key. // @inject_tag: `gorm:"default:null"` Version uint32 `protobuf:"varint,60,opt,name=version,proto3" json:"version,omitempty" gorm:"default:null"` // create_time from the RDBMS // @inject_tag: `gorm:"default:current_timestamp"` CreateTime *timestamp.Timestamp `protobuf:"bytes,70,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty" gorm:"default:current_timestamp"` // contains filtered or unexported fields }
func (*AuditKeyVersion) Descriptor
deprecated
added in
v0.7.0
func (*AuditKeyVersion) Descriptor() ([]byte, []int)
Deprecated: Use AuditKeyVersion.ProtoReflect.Descriptor instead.
func (*AuditKeyVersion) GetAuditKeyId ¶ added in v0.7.0
func (x *AuditKeyVersion) GetAuditKeyId() string
func (*AuditKeyVersion) GetCreateTime ¶ added in v0.7.0
func (x *AuditKeyVersion) GetCreateTime() *timestamp.Timestamp
func (*AuditKeyVersion) GetCtKey ¶ added in v0.7.0
func (x *AuditKeyVersion) GetCtKey() []byte
func (*AuditKeyVersion) GetKey ¶ added in v0.7.0
func (x *AuditKeyVersion) GetKey() []byte
func (*AuditKeyVersion) GetPrivateId ¶ added in v0.7.0
func (x *AuditKeyVersion) GetPrivateId() string
func (*AuditKeyVersion) GetRootKeyVersionId ¶ added in v0.7.0
func (x *AuditKeyVersion) GetRootKeyVersionId() string
func (*AuditKeyVersion) GetVersion ¶ added in v0.7.0
func (x *AuditKeyVersion) GetVersion() uint32
func (*AuditKeyVersion) ProtoMessage ¶ added in v0.7.0
func (*AuditKeyVersion) ProtoMessage()
func (*AuditKeyVersion) ProtoReflect ¶ added in v0.7.0
func (x *AuditKeyVersion) ProtoReflect() protoreflect.Message
func (*AuditKeyVersion) Reset ¶ added in v0.7.0
func (x *AuditKeyVersion) Reset()
func (*AuditKeyVersion) String ¶ added in v0.7.0
func (x *AuditKeyVersion) String() string
type DataKeyVersionDestructionJob ¶ added in v0.11.1
type DataKeyVersionDestructionJob struct { // key_id is the private id of the data key version being destroyed. // @inject_tag: `gorm:"primary_key"` KeyId string `protobuf:"bytes,10,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty" gorm:"primary_key"` // create_time from the RDBMS // @inject_tag: `gorm:"default:current_timestamp"` CreateTime *timestamp.Timestamp `protobuf:"bytes,20,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty" gorm:"default:current_timestamp"` // contains filtered or unexported fields }
DataKeyVersionDestructionJob is used to read and write data from the kms_data_key_version_destruction_job table.
func (*DataKeyVersionDestructionJob) Descriptor
deprecated
added in
v0.11.1
func (*DataKeyVersionDestructionJob) Descriptor() ([]byte, []int)
Deprecated: Use DataKeyVersionDestructionJob.ProtoReflect.Descriptor instead.
func (*DataKeyVersionDestructionJob) GetCreateTime ¶ added in v0.11.1
func (x *DataKeyVersionDestructionJob) GetCreateTime() *timestamp.Timestamp
func (*DataKeyVersionDestructionJob) GetKeyId ¶ added in v0.11.1
func (x *DataKeyVersionDestructionJob) GetKeyId() string
func (*DataKeyVersionDestructionJob) ProtoMessage ¶ added in v0.11.1
func (*DataKeyVersionDestructionJob) ProtoMessage()
func (*DataKeyVersionDestructionJob) ProtoReflect ¶ added in v0.11.1
func (x *DataKeyVersionDestructionJob) ProtoReflect() protoreflect.Message
func (*DataKeyVersionDestructionJob) Reset ¶ added in v0.11.1
func (x *DataKeyVersionDestructionJob) Reset()
func (*DataKeyVersionDestructionJob) String ¶ added in v0.11.1
func (x *DataKeyVersionDestructionJob) String() string
type DataKeyVersionDestructionJobProgress ¶ added in v0.11.1
type DataKeyVersionDestructionJobProgress struct { // The id of the data key version that is being revoked // @inject_tag: `gorm:"not_null"` KeyId string `protobuf:"bytes,10,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty" gorm:"not_null"` // Scope id this data key version belongs to. // @inject_tag: `gorm:"not_null"` ScopeId string `protobuf:"bytes,20,opt,name=scope_id,json=scopeId,proto3" json:"scope_id,omitempty" gorm:"not_null"` // create_time from the RDBMS // @inject_tag: `gorm:"not_null"` CreateTime *timestamp.Timestamp `protobuf:"bytes,30,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty" gorm:"not_null"` // The status of this data key version destruction job // One of "pending", "running" or "completed" // @inject_tag: `gorm:"not_null"` Status string `protobuf:"bytes,40,opt,name=status,proto3" json:"status,omitempty" gorm:"not_null"` // The number of rows that have been rewrapped // @inject_tag: `gorm:"not_null"` CompletedCount int64 `protobuf:"varint,50,opt,name=completed_count,json=completedCount,proto3" json:"completed_count,omitempty" gorm:"not_null"` // The total number of rows that need rewrapping // @inject_tag: `gorm:"not_null"` TotalCount int64 `protobuf:"varint,60,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty" gorm:"not_null"` // contains filtered or unexported fields }
func (*DataKeyVersionDestructionJobProgress) Descriptor
deprecated
added in
v0.11.1
func (*DataKeyVersionDestructionJobProgress) Descriptor() ([]byte, []int)
Deprecated: Use DataKeyVersionDestructionJobProgress.ProtoReflect.Descriptor instead.
func (*DataKeyVersionDestructionJobProgress) GetCompletedCount ¶ added in v0.11.1
func (x *DataKeyVersionDestructionJobProgress) GetCompletedCount() int64
func (*DataKeyVersionDestructionJobProgress) GetCreateTime ¶ added in v0.11.1
func (x *DataKeyVersionDestructionJobProgress) GetCreateTime() *timestamp.Timestamp
func (*DataKeyVersionDestructionJobProgress) GetKeyId ¶ added in v0.11.1
func (x *DataKeyVersionDestructionJobProgress) GetKeyId() string
func (*DataKeyVersionDestructionJobProgress) GetScopeId ¶ added in v0.11.1
func (x *DataKeyVersionDestructionJobProgress) GetScopeId() string
func (*DataKeyVersionDestructionJobProgress) GetStatus ¶ added in v0.11.1
func (x *DataKeyVersionDestructionJobProgress) GetStatus() string
func (*DataKeyVersionDestructionJobProgress) GetTotalCount ¶ added in v0.11.1
func (x *DataKeyVersionDestructionJobProgress) GetTotalCount() int64
func (*DataKeyVersionDestructionJobProgress) ProtoMessage ¶ added in v0.11.1
func (*DataKeyVersionDestructionJobProgress) ProtoMessage()
func (*DataKeyVersionDestructionJobProgress) ProtoReflect ¶ added in v0.11.1
func (x *DataKeyVersionDestructionJobProgress) ProtoReflect() protoreflect.Message
func (*DataKeyVersionDestructionJobProgress) Reset ¶ added in v0.11.1
func (x *DataKeyVersionDestructionJobProgress) Reset()
func (*DataKeyVersionDestructionJobProgress) String ¶ added in v0.11.1
func (x *DataKeyVersionDestructionJobProgress) String() string
type DataKeyVersionDestructionJobRun ¶ added in v0.11.1
type DataKeyVersionDestructionJobRun struct { // key_id is the private id of the data key version being destroyed. // @inject_tag: `gorm:"primary_key"` KeyId string `protobuf:"bytes,10,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty" gorm:"primary_key"` // table_name is the table name that is being rewrapped by this run. // @inject_tag: `gorm:"primary_key"` TableName string `protobuf:"bytes,20,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty" gorm:"primary_key"` // total_count is the total number of rows that need to be rewrapped // in this table. // @inject_tag: `gorm:"not_null"` TotalCount int64 `protobuf:"varint,30,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty" gorm:"not_null"` // completed_count is the number of rows that have completed rewrapping. // @inject_tag: `gorm:"not_null"` CompletedCount int64 `protobuf:"varint,40,opt,name=completed_count,json=completedCount,proto3" json:"completed_count,omitempty" gorm:"not_null"` // is_running defines whether this run is currently running. Only // one run is allowed to be running at a time. // @inject_tag: `gorm:"not_null"` IsRunning bool `protobuf:"varint,50,opt,name=is_running,json=isRunning,proto3" json:"is_running,omitempty" gorm:"not_null"` // contains filtered or unexported fields }
DataKeyVersionDestructionJobRun is used to read and write data from the kms_data_key_version_destruction_job_run table.
func (*DataKeyVersionDestructionJobRun) Descriptor
deprecated
added in
v0.11.1
func (*DataKeyVersionDestructionJobRun) Descriptor() ([]byte, []int)
Deprecated: Use DataKeyVersionDestructionJobRun.ProtoReflect.Descriptor instead.
func (*DataKeyVersionDestructionJobRun) GetCompletedCount ¶ added in v0.11.1
func (x *DataKeyVersionDestructionJobRun) GetCompletedCount() int64
func (*DataKeyVersionDestructionJobRun) GetIsRunning ¶ added in v0.11.1
func (x *DataKeyVersionDestructionJobRun) GetIsRunning() bool
func (*DataKeyVersionDestructionJobRun) GetKeyId ¶ added in v0.11.1
func (x *DataKeyVersionDestructionJobRun) GetKeyId() string
func (*DataKeyVersionDestructionJobRun) GetTableName ¶ added in v0.11.1
func (x *DataKeyVersionDestructionJobRun) GetTableName() string
func (*DataKeyVersionDestructionJobRun) GetTotalCount ¶ added in v0.11.1
func (x *DataKeyVersionDestructionJobRun) GetTotalCount() int64
func (*DataKeyVersionDestructionJobRun) ProtoMessage ¶ added in v0.11.1
func (*DataKeyVersionDestructionJobRun) ProtoMessage()
func (*DataKeyVersionDestructionJobRun) ProtoReflect ¶ added in v0.11.1
func (x *DataKeyVersionDestructionJobRun) ProtoReflect() protoreflect.Message
func (*DataKeyVersionDestructionJobRun) Reset ¶ added in v0.11.1
func (x *DataKeyVersionDestructionJobRun) Reset()
func (*DataKeyVersionDestructionJobRun) String ¶ added in v0.11.1
func (x *DataKeyVersionDestructionJobRun) String() string
type DataKeyVersionDestructionJobRunAllowedTableName ¶ added in v0.11.1
type DataKeyVersionDestructionJobRunAllowedTableName struct { // The name of a table that is allowed to be used // in a data key version destruction job run. // @inject_tag: `gorm:"not_null"` TableName string `protobuf:"bytes,10,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty" gorm:"not_null"` // contains filtered or unexported fields }
func (*DataKeyVersionDestructionJobRunAllowedTableName) Descriptor
deprecated
added in
v0.11.1
func (*DataKeyVersionDestructionJobRunAllowedTableName) Descriptor() ([]byte, []int)
Deprecated: Use DataKeyVersionDestructionJobRunAllowedTableName.ProtoReflect.Descriptor instead.
func (*DataKeyVersionDestructionJobRunAllowedTableName) GetTableName ¶ added in v0.11.1
func (x *DataKeyVersionDestructionJobRunAllowedTableName) GetTableName() string
func (*DataKeyVersionDestructionJobRunAllowedTableName) ProtoMessage ¶ added in v0.11.1
func (*DataKeyVersionDestructionJobRunAllowedTableName) ProtoMessage()
func (*DataKeyVersionDestructionJobRunAllowedTableName) ProtoReflect ¶ added in v0.11.1
func (x *DataKeyVersionDestructionJobRunAllowedTableName) ProtoReflect() protoreflect.Message
func (*DataKeyVersionDestructionJobRunAllowedTableName) Reset ¶ added in v0.11.1
func (x *DataKeyVersionDestructionJobRunAllowedTableName) Reset()
func (*DataKeyVersionDestructionJobRunAllowedTableName) String ¶ added in v0.11.1
func (x *DataKeyVersionDestructionJobRunAllowedTableName) String() string
type DatabaseKey ¶
type DatabaseKey struct { // private_id is used to access the key via an API // @inject_tag: gorm:"primary_key" PrivateId string `protobuf:"bytes,10,opt,name=private_id,json=privateId,proto3" json:"private_id,omitempty" gorm:"primary_key"` // root key id for the key // @inject_tag: `gorm:"default:null"` RootKeyId string `protobuf:"bytes,20,opt,name=root_key_id,json=rootKeyId,proto3" json:"root_key_id,omitempty" gorm:"default:null"` // create_time from the RDBMS // @inject_tag: `gorm:"default:current_timestamp"` CreateTime *timestamp.Timestamp `protobuf:"bytes,30,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty" gorm:"default:current_timestamp"` // contains filtered or unexported fields }
func (*DatabaseKey) Descriptor
deprecated
func (*DatabaseKey) Descriptor() ([]byte, []int)
Deprecated: Use DatabaseKey.ProtoReflect.Descriptor instead.
func (*DatabaseKey) GetCreateTime ¶
func (x *DatabaseKey) GetCreateTime() *timestamp.Timestamp
func (*DatabaseKey) GetPrivateId ¶
func (x *DatabaseKey) GetPrivateId() string
func (*DatabaseKey) GetRootKeyId ¶
func (x *DatabaseKey) GetRootKeyId() string
func (*DatabaseKey) ProtoMessage ¶
func (*DatabaseKey) ProtoMessage()
func (*DatabaseKey) ProtoReflect ¶
func (x *DatabaseKey) ProtoReflect() protoreflect.Message
func (*DatabaseKey) Reset ¶
func (x *DatabaseKey) Reset()
func (*DatabaseKey) String ¶
func (x *DatabaseKey) String() string
type DatabaseKeyVersion ¶
type DatabaseKeyVersion struct { // private_id is used to access the key version via an API // @inject_tag: gorm:"primary_key" PrivateId string `protobuf:"bytes,10,opt,name=private_id,json=privateId,proto3" json:"private_id,omitempty" gorm:"primary_key"` // database id for the key version // @inject_tag: `gorm:"default:null"` DatabaseKeyId string `protobuf:"bytes,20,opt,name=database_key_id,json=databaseKeyId,proto3" json:"database_key_id,omitempty" gorm:"default:null"` // root_key_version_id of the version of the root key data. // @inject_tag: `gorm:"default:null"` RootKeyVersionId string `` /* 134-byte string literal not displayed */ // plain-text of the key data. we are NOT storing this plain-text key // in the db. // @inject_tag: `gorm:"-" wrapping:"pt,key_data"` Key []byte `protobuf:"bytes,40,opt,name=key,proto3" json:"key,omitempty" gorm:"-" wrapping:"pt,key_data"` // ciphertext key data stored in the database // @inject_tag: `gorm:"column:key;not_null" wrapping:"ct,key_data"` CtKey []byte `` /* 127-byte string literal not displayed */ // version of the key data. This is not used for optimistic locking, since // key versions are immutable. It's just the version of the key. // @inject_tag: `gorm:"default:null"` Version uint32 `protobuf:"varint,60,opt,name=version,proto3" json:"version,omitempty" gorm:"default:null"` // create_time from the RDBMS // @inject_tag: `gorm:"default:current_timestamp"` CreateTime *timestamp.Timestamp `protobuf:"bytes,70,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty" gorm:"default:current_timestamp"` // contains filtered or unexported fields }
func (*DatabaseKeyVersion) Descriptor
deprecated
func (*DatabaseKeyVersion) Descriptor() ([]byte, []int)
Deprecated: Use DatabaseKeyVersion.ProtoReflect.Descriptor instead.
func (*DatabaseKeyVersion) GetCreateTime ¶
func (x *DatabaseKeyVersion) GetCreateTime() *timestamp.Timestamp
func (*DatabaseKeyVersion) GetCtKey ¶
func (x *DatabaseKeyVersion) GetCtKey() []byte
func (*DatabaseKeyVersion) GetDatabaseKeyId ¶
func (x *DatabaseKeyVersion) GetDatabaseKeyId() string
func (*DatabaseKeyVersion) GetKey ¶
func (x *DatabaseKeyVersion) GetKey() []byte
func (*DatabaseKeyVersion) GetPrivateId ¶
func (x *DatabaseKeyVersion) GetPrivateId() string
func (*DatabaseKeyVersion) GetRootKeyVersionId ¶
func (x *DatabaseKeyVersion) GetRootKeyVersionId() string
func (*DatabaseKeyVersion) GetVersion ¶
func (x *DatabaseKeyVersion) GetVersion() uint32
func (*DatabaseKeyVersion) ProtoMessage ¶
func (*DatabaseKeyVersion) ProtoMessage()
func (*DatabaseKeyVersion) ProtoReflect ¶
func (x *DatabaseKeyVersion) ProtoReflect() protoreflect.Message
func (*DatabaseKeyVersion) Reset ¶
func (x *DatabaseKeyVersion) Reset()
func (*DatabaseKeyVersion) String ¶
func (x *DatabaseKeyVersion) String() string
type OidcKey ¶ added in v0.1.5
type OidcKey struct { // private_id is used to access the key via an API // @inject_tag: gorm:"primary_key" PrivateId string `protobuf:"bytes,10,opt,name=private_id,json=privateId,proto3" json:"private_id,omitempty" gorm:"primary_key"` // root key id for the key // @inject_tag: `gorm:"default:null"` RootKeyId string `protobuf:"bytes,20,opt,name=root_key_id,json=rootKeyId,proto3" json:"root_key_id,omitempty" gorm:"default:null"` // create_time from the RDBMS // @inject_tag: `gorm:"default:current_timestamp"` CreateTime *timestamp.Timestamp `protobuf:"bytes,30,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty" gorm:"default:current_timestamp"` // contains filtered or unexported fields }
func (*OidcKey) Descriptor
deprecated
added in
v0.1.5
func (*OidcKey) GetCreateTime ¶ added in v0.1.5
func (*OidcKey) GetPrivateId ¶ added in v0.1.5
func (*OidcKey) GetRootKeyId ¶ added in v0.1.5
func (*OidcKey) ProtoMessage ¶ added in v0.1.5
func (*OidcKey) ProtoMessage()
func (*OidcKey) ProtoReflect ¶ added in v0.1.5
func (x *OidcKey) ProtoReflect() protoreflect.Message
type OidcKeyVersion ¶ added in v0.1.5
type OidcKeyVersion struct { // private_id is used to access the key version via an API // @inject_tag: gorm:"primary_key" PrivateId string `protobuf:"bytes,10,opt,name=private_id,json=privateId,proto3" json:"private_id,omitempty" gorm:"primary_key"` // id for the key version // @inject_tag: `gorm:"default:null"` OidcKeyId string `protobuf:"bytes,20,opt,name=oidc_key_id,json=oidcKeyId,proto3" json:"oidc_key_id,omitempty" gorm:"default:null"` // root_key_version_id of the version of the root key data. // @inject_tag: `gorm:"default:null"` RootKeyVersionId string `` /* 134-byte string literal not displayed */ // plain-text of the key data. we are NOT storing this plain-text key // in the db. // @inject_tag: `gorm:"-" wrapping:"pt,key_data"` Key []byte `protobuf:"bytes,40,opt,name=key,proto3" json:"key,omitempty" gorm:"-" wrapping:"pt,key_data"` // ciphertext key data stored in the database // @inject_tag: `gorm:"column:key;not_null" wrapping:"ct,key_data"` CtKey []byte `` /* 127-byte string literal not displayed */ // version of the key data. This is not used for optimistic locking, since // key versions are immutable. It's just the version of the key. // @inject_tag: `gorm:"default:null"` Version uint32 `protobuf:"varint,60,opt,name=version,proto3" json:"version,omitempty" gorm:"default:null"` // create_time from the RDBMS // @inject_tag: `gorm:"default:current_timestamp"` CreateTime *timestamp.Timestamp `protobuf:"bytes,70,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty" gorm:"default:current_timestamp"` // contains filtered or unexported fields }
func (*OidcKeyVersion) Descriptor
deprecated
added in
v0.1.5
func (*OidcKeyVersion) Descriptor() ([]byte, []int)
Deprecated: Use OidcKeyVersion.ProtoReflect.Descriptor instead.
func (*OidcKeyVersion) GetCreateTime ¶ added in v0.1.5
func (x *OidcKeyVersion) GetCreateTime() *timestamp.Timestamp
func (*OidcKeyVersion) GetCtKey ¶ added in v0.1.5
func (x *OidcKeyVersion) GetCtKey() []byte
func (*OidcKeyVersion) GetKey ¶ added in v0.1.5
func (x *OidcKeyVersion) GetKey() []byte
func (*OidcKeyVersion) GetOidcKeyId ¶ added in v0.1.5
func (x *OidcKeyVersion) GetOidcKeyId() string
func (*OidcKeyVersion) GetPrivateId ¶ added in v0.1.5
func (x *OidcKeyVersion) GetPrivateId() string
func (*OidcKeyVersion) GetRootKeyVersionId ¶ added in v0.1.5
func (x *OidcKeyVersion) GetRootKeyVersionId() string
func (*OidcKeyVersion) GetVersion ¶ added in v0.1.5
func (x *OidcKeyVersion) GetVersion() uint32
func (*OidcKeyVersion) ProtoMessage ¶ added in v0.1.5
func (*OidcKeyVersion) ProtoMessage()
func (*OidcKeyVersion) ProtoReflect ¶ added in v0.1.5
func (x *OidcKeyVersion) ProtoReflect() protoreflect.Message
func (*OidcKeyVersion) Reset ¶ added in v0.1.5
func (x *OidcKeyVersion) Reset()
func (*OidcKeyVersion) String ¶ added in v0.1.5
func (x *OidcKeyVersion) String() string
type OplogKey ¶
type OplogKey struct { // private_id is used to access the key via an API // @inject_tag: gorm:"primary_key" PrivateId string `protobuf:"bytes,10,opt,name=private_id,json=privateId,proto3" json:"private_id,omitempty" gorm:"primary_key"` // root key id for the key // @inject_tag: `gorm:"default:null"` RootKeyId string `protobuf:"bytes,20,opt,name=root_key_id,json=rootKeyId,proto3" json:"root_key_id,omitempty" gorm:"default:null"` // create_time from the RDBMS // @inject_tag: `gorm:"default:current_timestamp"` CreateTime *timestamp.Timestamp `protobuf:"bytes,30,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty" gorm:"default:current_timestamp"` // contains filtered or unexported fields }
func (*OplogKey) Descriptor
deprecated
func (*OplogKey) GetCreateTime ¶
func (*OplogKey) GetPrivateId ¶
func (*OplogKey) GetRootKeyId ¶
func (*OplogKey) ProtoMessage ¶
func (*OplogKey) ProtoMessage()
func (*OplogKey) ProtoReflect ¶
func (x *OplogKey) ProtoReflect() protoreflect.Message
type OplogKeyVersion ¶
type OplogKeyVersion struct { // private_id is used to access the key version via an API // @inject_tag: gorm:"primary_key" PrivateId string `protobuf:"bytes,10,opt,name=private_id,json=privateId,proto3" json:"private_id,omitempty" gorm:"primary_key"` // id for the key version // @inject_tag: `gorm:"default:null"` OplogKeyId string `protobuf:"bytes,20,opt,name=oplog_key_id,json=oplogKeyId,proto3" json:"oplog_key_id,omitempty" gorm:"default:null"` // root_key_version_id of the version of the root key data. // @inject_tag: `gorm:"default:null"` RootKeyVersionId string `` /* 134-byte string literal not displayed */ // plain-text of the key data. we are NOT storing this plain-text key // in the db. // @inject_tag: `gorm:"-" wrapping:"pt,key_data"` Key []byte `protobuf:"bytes,40,opt,name=key,proto3" json:"key,omitempty" gorm:"-" wrapping:"pt,key_data"` // ciphertext key data stored in the database // @inject_tag: `gorm:"column:key;not_null" wrapping:"ct,key_data"` CtKey []byte `` /* 127-byte string literal not displayed */ // version of the key data. This is not used for optimistic locking, since // key versions are immutable. It's just the version of the key. // @inject_tag: `gorm:"default:null"` Version uint32 `protobuf:"varint,60,opt,name=version,proto3" json:"version,omitempty" gorm:"default:null"` // create_time from the RDBMS // @inject_tag: `gorm:"default:current_timestamp"` CreateTime *timestamp.Timestamp `protobuf:"bytes,70,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty" gorm:"default:current_timestamp"` // contains filtered or unexported fields }
func (*OplogKeyVersion) Descriptor
deprecated
func (*OplogKeyVersion) Descriptor() ([]byte, []int)
Deprecated: Use OplogKeyVersion.ProtoReflect.Descriptor instead.
func (*OplogKeyVersion) GetCreateTime ¶
func (x *OplogKeyVersion) GetCreateTime() *timestamp.Timestamp
func (*OplogKeyVersion) GetCtKey ¶
func (x *OplogKeyVersion) GetCtKey() []byte
func (*OplogKeyVersion) GetKey ¶
func (x *OplogKeyVersion) GetKey() []byte
func (*OplogKeyVersion) GetOplogKeyId ¶
func (x *OplogKeyVersion) GetOplogKeyId() string
func (*OplogKeyVersion) GetPrivateId ¶
func (x *OplogKeyVersion) GetPrivateId() string
func (*OplogKeyVersion) GetRootKeyVersionId ¶
func (x *OplogKeyVersion) GetRootKeyVersionId() string
func (*OplogKeyVersion) GetVersion ¶
func (x *OplogKeyVersion) GetVersion() uint32
func (*OplogKeyVersion) ProtoMessage ¶
func (*OplogKeyVersion) ProtoMessage()
func (*OplogKeyVersion) ProtoReflect ¶
func (x *OplogKeyVersion) ProtoReflect() protoreflect.Message
func (*OplogKeyVersion) Reset ¶
func (x *OplogKeyVersion) Reset()
func (*OplogKeyVersion) String ¶
func (x *OplogKeyVersion) String() string
type RootKey ¶
type RootKey struct { // private_id is used to access the root key via an API // @inject_tag: gorm:"primary_key" PrivateId string `protobuf:"bytes,1,opt,name=private_id,json=privateId,proto3" json:"private_id,omitempty" gorm:"primary_key"` // scope id for the root key // @inject_tag: `gorm:"default:null"` ScopeId string `protobuf:"bytes,2,opt,name=scope_id,json=scopeId,proto3" json:"scope_id,omitempty" gorm:"default:null"` // create_time from the RDBMS // @inject_tag: `gorm:"default:current_timestamp"` CreateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty" gorm:"default:current_timestamp"` // contains filtered or unexported fields }
func (*RootKey) Descriptor
deprecated
func (*RootKey) GetCreateTime ¶
func (*RootKey) GetPrivateId ¶
func (*RootKey) GetScopeId ¶
func (*RootKey) ProtoMessage ¶
func (*RootKey) ProtoMessage()
func (*RootKey) ProtoReflect ¶
func (x *RootKey) ProtoReflect() protoreflect.Message
type RootKeyVersion ¶
type RootKeyVersion struct { // private_id is used to access the root key version via an API // @inject_tag: gorm:"primary_key" PrivateId string `protobuf:"bytes,1,opt,name=private_id,json=privateId,proto3" json:"private_id,omitempty" gorm:"primary_key"` // scope id for the root key version // @inject_tag: `gorm:"default:null"` RootKeyId string `protobuf:"bytes,2,opt,name=root_key_id,json=rootKeyId,proto3" json:"root_key_id,omitempty" gorm:"default:null"` // plain-text of the key data. we are NOT storing this plain-text key // in the db. // @inject_tag: `gorm:"-" wrapping:"pt,key_data"` Key []byte `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty" gorm:"-" wrapping:"pt,key_data"` // ciphertext key data stored in the database // @inject_tag: `gorm:"column:key;not_null" wrapping:"ct,key_data"` CtKey []byte `` /* 126-byte string literal not displayed */ // version of the key data. This is not used for optimistic locking, since // key versions are immutable. It's just the version of the key. // @inject_tag: `gorm:"default:null"` Version uint32 `protobuf:"varint,5,opt,name=version,proto3" json:"version,omitempty" gorm:"default:null"` // create_time from the RDBMS // @inject_tag: `gorm:"default:current_timestamp"` CreateTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty" gorm:"default:current_timestamp"` // contains filtered or unexported fields }
func (*RootKeyVersion) Descriptor
deprecated
func (*RootKeyVersion) Descriptor() ([]byte, []int)
Deprecated: Use RootKeyVersion.ProtoReflect.Descriptor instead.
func (*RootKeyVersion) GetCreateTime ¶
func (x *RootKeyVersion) GetCreateTime() *timestamp.Timestamp
func (*RootKeyVersion) GetCtKey ¶
func (x *RootKeyVersion) GetCtKey() []byte
func (*RootKeyVersion) GetKey ¶
func (x *RootKeyVersion) GetKey() []byte
func (*RootKeyVersion) GetPrivateId ¶
func (x *RootKeyVersion) GetPrivateId() string
func (*RootKeyVersion) GetRootKeyId ¶
func (x *RootKeyVersion) GetRootKeyId() string
func (*RootKeyVersion) GetVersion ¶
func (x *RootKeyVersion) GetVersion() uint32
func (*RootKeyVersion) ProtoMessage ¶
func (*RootKeyVersion) ProtoMessage()
func (*RootKeyVersion) ProtoReflect ¶
func (x *RootKeyVersion) ProtoReflect() protoreflect.Message
func (*RootKeyVersion) Reset ¶
func (x *RootKeyVersion) Reset()
func (*RootKeyVersion) String ¶
func (x *RootKeyVersion) String() string
type SessionKey ¶
type SessionKey struct { // private_id is used to access the key via an API // @inject_tag: gorm:"primary_key" PrivateId string `protobuf:"bytes,10,opt,name=private_id,json=privateId,proto3" json:"private_id,omitempty" gorm:"primary_key"` // root key id for the key // @inject_tag: `gorm:"default:null"` RootKeyId string `protobuf:"bytes,20,opt,name=root_key_id,json=rootKeyId,proto3" json:"root_key_id,omitempty" gorm:"default:null"` // create_time from the RDBMS // @inject_tag: `gorm:"default:current_timestamp"` CreateTime *timestamp.Timestamp `protobuf:"bytes,30,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty" gorm:"default:current_timestamp"` // contains filtered or unexported fields }
func (*SessionKey) Descriptor
deprecated
func (*SessionKey) Descriptor() ([]byte, []int)
Deprecated: Use SessionKey.ProtoReflect.Descriptor instead.
func (*SessionKey) GetCreateTime ¶
func (x *SessionKey) GetCreateTime() *timestamp.Timestamp
func (*SessionKey) GetPrivateId ¶
func (x *SessionKey) GetPrivateId() string
func (*SessionKey) GetRootKeyId ¶
func (x *SessionKey) GetRootKeyId() string
func (*SessionKey) ProtoMessage ¶
func (*SessionKey) ProtoMessage()
func (*SessionKey) ProtoReflect ¶
func (x *SessionKey) ProtoReflect() protoreflect.Message
func (*SessionKey) Reset ¶
func (x *SessionKey) Reset()
func (*SessionKey) String ¶
func (x *SessionKey) String() string
type SessionKeyVersion ¶
type SessionKeyVersion struct { // private_id is used to access the key version via an API // @inject_tag: gorm:"primary_key" PrivateId string `protobuf:"bytes,10,opt,name=private_id,json=privateId,proto3" json:"private_id,omitempty" gorm:"primary_key"` // id for the key version // @inject_tag: `gorm:"default:null"` SessionKeyId string `protobuf:"bytes,20,opt,name=session_key_id,json=sessionKeyId,proto3" json:"session_key_id,omitempty" gorm:"default:null"` // root_key_version_id of the version of the root key data. // @inject_tag: `gorm:"default:null"` RootKeyVersionId string `` /* 134-byte string literal not displayed */ // plain-text of the key data. we are NOT storing this plain-text key // in the db. // @inject_tag: `gorm:"-" wrapping:"pt,key_data"` Key []byte `protobuf:"bytes,40,opt,name=key,proto3" json:"key,omitempty" gorm:"-" wrapping:"pt,key_data"` // ciphertext key data stored in the database // @inject_tag: `gorm:"column:key;not_null" wrapping:"ct,key_data"` CtKey []byte `` /* 127-byte string literal not displayed */ // version of the key data. This is not used for optimistic locking, since // key versions are immutable. It's just the version of the key. // @inject_tag: `gorm:"default:null"` Version uint32 `protobuf:"varint,60,opt,name=version,proto3" json:"version,omitempty" gorm:"default:null"` // create_time from the RDBMS // @inject_tag: `gorm:"default:current_timestamp"` CreateTime *timestamp.Timestamp `protobuf:"bytes,70,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty" gorm:"default:current_timestamp"` // contains filtered or unexported fields }
func (*SessionKeyVersion) Descriptor
deprecated
func (*SessionKeyVersion) Descriptor() ([]byte, []int)
Deprecated: Use SessionKeyVersion.ProtoReflect.Descriptor instead.
func (*SessionKeyVersion) GetCreateTime ¶
func (x *SessionKeyVersion) GetCreateTime() *timestamp.Timestamp
func (*SessionKeyVersion) GetCtKey ¶
func (x *SessionKeyVersion) GetCtKey() []byte
func (*SessionKeyVersion) GetKey ¶
func (x *SessionKeyVersion) GetKey() []byte
func (*SessionKeyVersion) GetPrivateId ¶
func (x *SessionKeyVersion) GetPrivateId() string
func (*SessionKeyVersion) GetRootKeyVersionId ¶
func (x *SessionKeyVersion) GetRootKeyVersionId() string
func (*SessionKeyVersion) GetSessionKeyId ¶
func (x *SessionKeyVersion) GetSessionKeyId() string
func (*SessionKeyVersion) GetVersion ¶
func (x *SessionKeyVersion) GetVersion() uint32
func (*SessionKeyVersion) ProtoMessage ¶
func (*SessionKeyVersion) ProtoMessage()
func (*SessionKeyVersion) ProtoReflect ¶
func (x *SessionKeyVersion) ProtoReflect() protoreflect.Message
func (*SessionKeyVersion) Reset ¶
func (x *SessionKeyVersion) Reset()
func (*SessionKeyVersion) String ¶
func (x *SessionKeyVersion) String() string
type TokenKey ¶
type TokenKey struct { // private_id is used to access the key via an API // @inject_tag: gorm:"primary_key" PrivateId string `protobuf:"bytes,10,opt,name=private_id,json=privateId,proto3" json:"private_id,omitempty" gorm:"primary_key"` // root key id for the key // @inject_tag: `gorm:"default:null"` RootKeyId string `protobuf:"bytes,20,opt,name=root_key_id,json=rootKeyId,proto3" json:"root_key_id,omitempty" gorm:"default:null"` // create_time from the RDBMS // @inject_tag: `gorm:"default:current_timestamp"` CreateTime *timestamp.Timestamp `protobuf:"bytes,30,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty" gorm:"default:current_timestamp"` // contains filtered or unexported fields }
func (*TokenKey) Descriptor
deprecated
func (*TokenKey) GetCreateTime ¶
func (*TokenKey) GetPrivateId ¶
func (*TokenKey) GetRootKeyId ¶
func (*TokenKey) ProtoMessage ¶
func (*TokenKey) ProtoMessage()
func (*TokenKey) ProtoReflect ¶
func (x *TokenKey) ProtoReflect() protoreflect.Message
type TokenKeyVersion ¶
type TokenKeyVersion struct { // private_id is used to access the key version via an API // @inject_tag: gorm:"primary_key" PrivateId string `protobuf:"bytes,10,opt,name=private_id,json=privateId,proto3" json:"private_id,omitempty" gorm:"primary_key"` // id for the key version // @inject_tag: `gorm:"default:null"` TokenKeyId string `protobuf:"bytes,20,opt,name=token_key_id,json=tokenKeyId,proto3" json:"token_key_id,omitempty" gorm:"default:null"` // root_key_version_id of the version of the root key data. // @inject_tag: `gorm:"default:null"` RootKeyVersionId string `` /* 134-byte string literal not displayed */ // plain-text of the key data. we are NOT storing this plain-text key // in the db. // @inject_tag: `gorm:"-" wrapping:"pt,key_data"` Key []byte `protobuf:"bytes,40,opt,name=key,proto3" json:"key,omitempty" gorm:"-" wrapping:"pt,key_data"` // ciphertext key data stored in the database // @inject_tag: `gorm:"column:key;not_null" wrapping:"ct,key_data"` CtKey []byte `` /* 127-byte string literal not displayed */ // version of the key data. This is not used for optimistic locking, since // key versions are immutable. It's just the version of the key. // @inject_tag: `gorm:"default:null"` Version uint32 `protobuf:"varint,60,opt,name=version,proto3" json:"version,omitempty" gorm:"default:null"` // create_time from the RDBMS // @inject_tag: `gorm:"default:current_timestamp"` CreateTime *timestamp.Timestamp `protobuf:"bytes,70,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty" gorm:"default:current_timestamp"` // contains filtered or unexported fields }
func (*TokenKeyVersion) Descriptor
deprecated
func (*TokenKeyVersion) Descriptor() ([]byte, []int)
Deprecated: Use TokenKeyVersion.ProtoReflect.Descriptor instead.
func (*TokenKeyVersion) GetCreateTime ¶
func (x *TokenKeyVersion) GetCreateTime() *timestamp.Timestamp
func (*TokenKeyVersion) GetCtKey ¶
func (x *TokenKeyVersion) GetCtKey() []byte
func (*TokenKeyVersion) GetKey ¶
func (x *TokenKeyVersion) GetKey() []byte
func (*TokenKeyVersion) GetPrivateId ¶
func (x *TokenKeyVersion) GetPrivateId() string
func (*TokenKeyVersion) GetRootKeyVersionId ¶
func (x *TokenKeyVersion) GetRootKeyVersionId() string
func (*TokenKeyVersion) GetTokenKeyId ¶
func (x *TokenKeyVersion) GetTokenKeyId() string
func (*TokenKeyVersion) GetVersion ¶
func (x *TokenKeyVersion) GetVersion() uint32
func (*TokenKeyVersion) ProtoMessage ¶
func (*TokenKeyVersion) ProtoMessage()
func (*TokenKeyVersion) ProtoReflect ¶
func (x *TokenKeyVersion) ProtoReflect() protoreflect.Message
func (*TokenKeyVersion) Reset ¶
func (x *TokenKeyVersion) Reset()
func (*TokenKeyVersion) String ¶
func (x *TokenKeyVersion) String() string
Source Files ¶
- audit_key.pb.go
- data_key_version_destruction_job.pb.go
- data_key_version_destruction_job_progress.pb.go
- data_key_version_destruction_job_run.pb.go
- data_key_version_destruction_job_run_allowed_table_name.pb.go
- database_key.pb.go
- oidc_key.pb.go
- oplog_key.pb.go
- root_key.pb.go
- session_key.pb.go
- token_key.pb.go