1.1 MiB
pb
import "github.com/effective-security/trustyca/api/pb"
Index
- Constants
- Variables
- func CreateMessage(fullname string) any
- func FindKVPair(list []*KVPair, key string) string
- func GetMessageDescription(fullname string) *api.MessageDescription
- func GetMessageDescriptions() map[string]*api.MessageDescription
- func GetMethodAliases() map[string]string
- func GetMethodsInfo() map[string]*MethodInfo
- func MapFromKVPair(list []*KVPair) map[string]string
- func MarshalJSON(v any) ([]byte, error)
- func PrintInvites(w io.Writer, val any)
- func PrintKVPairs(w io.Writer, header []string, vals []*KVPair)
- func PrintLoginInfos(w io.Writer, val any)
- func PrintMembers(w io.Writer, val any)
- func PrintMethodAccesses(w io.Writer, val any)
- func RegisterAuthServer(s grpc.ServiceRegistrar, srv AuthServer)
- func RegisterCAServer(s grpc.ServiceRegistrar, srv CAServer)
- func RegisterCISServer(s grpc.ServiceRegistrar, srv CISServer)
- func RegisterOrgsServer(s grpc.ServiceRegistrar, srv OrgsServer)
- func RegisterPrintOnce()
- func RegisterStatusServer(s grpc.ServiceRegistrar, srv StatusServer)
- type APIKey
- func (*APIKey) Descriptor() ([]byte, []int)
- func (x *APIKey) GetCreatedAt() string
- func (x *APIKey) GetExpiresAt() string
- func (x *APIKey) GetID() string
- func (x *APIKey) GetKey() string
- func (x *APIKey) GetLabel() string
- func (m *APIKey) GetMessageDescription() *api.MessageDescription
- func (x *APIKey) GetMetadata() []*KVPair
- func (x *APIKey) GetOrgID() string
- func (x *APIKey) GetProjectID() string
- func (x *APIKey) GetScopes() []string
- func (x *APIKey) GetSecret() string
- func (x *APIKey) GetStatus() ItemStatus_Enum
- func (x *APIKey) GetUsedAt() string
- func (x *APIKey) GetUsedCount() uint32
- func (msg *APIKey) MarshalJSON() ([]byte, error)
- func (r *APIKey) Print(w io.Writer)
- func (*APIKey) ProtoMessage()
- func (x *APIKey) ProtoReflect() protoreflect.Message
- func (x *APIKey) Reset()
- func (x *APIKey) String() string
- func (msg *APIKey) UnmarshalJSON(b []byte) error
- type APIKeyRequest
- func (*APIKeyRequest) Descriptor() ([]byte, []int)
- func (x *APIKeyRequest) GetID() string
- func (x *APIKeyRequest) GetProjectID() string
- func (msg *APIKeyRequest) MarshalJSON() ([]byte, error)
- func (*APIKeyRequest) ProtoMessage()
- func (x *APIKeyRequest) ProtoReflect() protoreflect.Message
- func (x *APIKeyRequest) Reset()
- func (x *APIKeyRequest) String() string
- func (msg *APIKeyRequest) UnmarshalJSON(b []byte) error
- func (m *APIKeyRequest) Validate(ctx context.Context) error
- type APIKeysResponse
- func (*APIKeysResponse) Descriptor() ([]byte, []int)
- func (x *APIKeysResponse) GetAPIKeys() []*APIKey
- func (m *APIKeysResponse) GetMessageDescription() *api.MessageDescription
- func (x *APIKeysResponse) GetNextPage() *NextPage
- func (msg *APIKeysResponse) MarshalJSON() ([]byte, error)
- func (r *APIKeysResponse) Print(w io.Writer)
- func (*APIKeysResponse) ProtoMessage()
- func (x *APIKeysResponse) ProtoReflect() protoreflect.Message
- func (x *APIKeysResponse) Reset()
- func (x *APIKeysResponse) String() string
- func (msg *APIKeysResponse) UnmarshalJSON(b []byte) error
- type ActivateIssuerRequest
- func (*ActivateIssuerRequest) Descriptor() ([]byte, []int)
- func (x *ActivateIssuerRequest) GetCertificate() string
- func (x *ActivateIssuerRequest) GetID() string
- func (x *ActivateIssuerRequest) GetIntermediates() string
- func (x *ActivateIssuerRequest) GetProjectID() string
- func (x *ActivateIssuerRequest) GetRoot() string
- func (msg *ActivateIssuerRequest) MarshalJSON() ([]byte, error)
- func (*ActivateIssuerRequest) ProtoMessage()
- func (x *ActivateIssuerRequest) ProtoReflect() protoreflect.Message
- func (x *ActivateIssuerRequest) Reset()
- func (x *ActivateIssuerRequest) String() string
- func (msg *ActivateIssuerRequest) UnmarshalJSON(b []byte) error
- func (m *ActivateIssuerRequest) Validate(ctx context.Context) error
- type AddMemberRequest
- func (*AddMemberRequest) Descriptor() ([]byte, []int)
- func (x *AddMemberRequest) GetEmail() string
- func (x *AddMemberRequest) GetProjectID() string
- func (x *AddMemberRequest) GetRole() Role_Enum
- func (msg *AddMemberRequest) MarshalJSON() ([]byte, error)
- func (*AddMemberRequest) ProtoMessage()
- func (x *AddMemberRequest) ProtoReflect() protoreflect.Message
- func (x *AddMemberRequest) Reset()
- func (x *AddMemberRequest) String() string
- func (msg *AddMemberRequest) UnmarshalJSON(b []byte) error
- func (m *AddMemberRequest) Validate(ctx context.Context) error
- type AddMemberResponse
- func (*AddMemberResponse) Descriptor() ([]byte, []int)
- func (x *AddMemberResponse) GetInvite() *Invite
- func (x *AddMemberResponse) GetMembership() *Membership
- func (m *AddMemberResponse) GetMessageDescription() *api.MessageDescription
- func (msg *AddMemberResponse) MarshalJSON() ([]byte, error)
- func (r *AddMemberResponse) Print(w io.Writer)
- func (*AddMemberResponse) ProtoMessage()
- func (x *AddMemberResponse) ProtoReflect() protoreflect.Message
- func (x *AddMemberResponse) Reset()
- func (x *AddMemberResponse) String() string
- func (msg *AddMemberResponse) UnmarshalJSON(b []byte) error
- type AllowedMethods
- func (*AllowedMethods) Descriptor() ([]byte, []int)
- func (x *AllowedMethods) GetMethods() []*KVPair
- func (x *AllowedMethods) GetService() string
- func (msg *AllowedMethods) MarshalJSON() ([]byte, error)
- func (*AllowedMethods) ProtoMessage()
- func (x *AllowedMethods) ProtoReflect() protoreflect.Message
- func (x *AllowedMethods) Reset()
- func (x *AllowedMethods) String() string
- func (msg *AllowedMethods) UnmarshalJSON(b []byte) error
- type AuthClient
- type AuthProvidersRequest
- func (*AuthProvidersRequest) Descriptor() ([]byte, []int)
- func (x *AuthProvidersRequest) GetEmail() string
- func (msg *AuthProvidersRequest) MarshalJSON() ([]byte, error)
- func (*AuthProvidersRequest) ProtoMessage()
- func (x *AuthProvidersRequest) ProtoReflect() protoreflect.Message
- func (x *AuthProvidersRequest) Reset()
- func (x *AuthProvidersRequest) String() string
- func (msg *AuthProvidersRequest) UnmarshalJSON(b []byte) error
- func (m *AuthProvidersRequest) Validate(ctx context.Context) error
- type AuthProvidersResponse
- func (*AuthProvidersResponse) Descriptor() ([]byte, []int)
- func (x *AuthProvidersResponse) GetAuthURL() string
- func (m *AuthProvidersResponse) GetMessageDescription() *api.MessageDescription
- func (x *AuthProvidersResponse) GetProviderNames() []string
- func (x *AuthProvidersResponse) GetProviders() []IDP_Enum
- func (msg *AuthProvidersResponse) MarshalJSON() ([]byte, error)
- func (*AuthProvidersResponse) ProtoMessage()
- func (x *AuthProvidersResponse) ProtoReflect() protoreflect.Message
- func (x *AuthProvidersResponse) Reset()
- func (x *AuthProvidersResponse) String() string
- func (msg *AuthProvidersResponse) UnmarshalJSON(b []byte) error
- type AuthServer
- type AuthorityType
- func (*AuthorityType) Descriptor() ([]byte, []int)
- func (msg *AuthorityType) MarshalJSON() ([]byte, error)
- func (*AuthorityType) ProtoMessage()
- func (x *AuthorityType) ProtoReflect() protoreflect.Message
- func (x *AuthorityType) Reset()
- func (x *AuthorityType) String() string
- func (msg *AuthorityType) UnmarshalJSON(b []byte) error
- type AuthorityType_Enum
- func (s AuthorityType_Enum) Describe() map[AuthorityType_Enum]*api.EnumMeta
- func (AuthorityType_Enum) Descriptor() protoreflect.EnumDescriptor
- func (s AuthorityType_Enum) DisplayName() string
- func (s AuthorityType_Enum) DisplayNames() []string
- func (s AuthorityType_Enum) DisplayNamesMap() map[int32]string
- func (x AuthorityType_Enum) Enum() *AuthorityType_Enum
- func (AuthorityType_Enum) EnumDescriptor() ([]byte, []int)
- func (s AuthorityType_Enum) Flags() []AuthorityType_Enum
- func (s AuthorityType_Enum) FlagsInt() []int32
- func (s AuthorityType_Enum) GetDescription() *api.EnumDescription
- func (s AuthorityType_Enum) Meta() *api.EnumMeta
- func (s AuthorityType_Enum) NamesMap() map[int32]string
- func (x AuthorityType_Enum) Number() protoreflect.EnumNumber
- func (_ AuthorityType_Enum) Parse(val any) AuthorityType_Enum
- func (x AuthorityType_Enum) String() string
- func (s AuthorityType_Enum) SupportedNames() string
- func (AuthorityType_Enum) Type() protoreflect.EnumType
- func (s *AuthorityType_Enum) UnmarshalJSON(b []byte) error
- func (s *AuthorityType_Enum) UnmarshalYAML(unmarshal func(any) error) error
- func (s AuthorityType_Enum) ValueNames() []string
- func (s AuthorityType_Enum) ValueString() string
- func (s AuthorityType_Enum) ValuesMap() map[string]int32
- type AuthorityType_EnumSlice
- type CAClient
- type CAConstraint
- func (*CAConstraint) Descriptor() ([]byte, []int)
- func (x *CAConstraint) GetIsCA() bool
- func (x *CAConstraint) GetMaxPathLen() int32
- func (msg *CAConstraint) MarshalJSON() ([]byte, error)
- func (*CAConstraint) ProtoMessage()
- func (x *CAConstraint) ProtoReflect() protoreflect.Message
- func (x *CAConstraint) Reset()
- func (x *CAConstraint) String() string
- func (msg *CAConstraint) UnmarshalJSON(b []byte) error
- type CAServer
- type CISClient
- type CISServer
- type CSRAllowedFields
- func (*CSRAllowedFields) Descriptor() ([]byte, []int)
- func (x *CSRAllowedFields) GetDns() bool
- func (x *CSRAllowedFields) GetEmail() bool
- func (x *CSRAllowedFields) GetIp() bool
- func (x *CSRAllowedFields) GetSubject() bool
- func (x *CSRAllowedFields) GetUri() bool
- func (msg *CSRAllowedFields) MarshalJSON() ([]byte, error)
- func (*CSRAllowedFields) ProtoMessage()
- func (x *CSRAllowedFields) ProtoReflect() protoreflect.Message
- func (x *CSRAllowedFields) Reset()
- func (x *CSRAllowedFields) String() string
- func (msg *CSRAllowedFields) UnmarshalJSON(b []byte) error
- type CallerScope
- func (*CallerScope) Descriptor() ([]byte, []int)
- func (x *CallerScope) GetIsAPIKey() bool
- func (m *CallerScope) GetMessageDescription() *api.MessageDescription
- func (x *CallerScope) GetMethods() []*MethodAccess
- func (x *CallerScope) GetOrgID() string
- func (x *CallerScope) GetProjectID() string
- func (x *CallerScope) GetProjectRoles() map[string]string
- func (x *CallerScope) GetRole() Role_Enum
- func (x *CallerScope) GetRoleSource() RoleSource_Enum
- func (x *CallerScope) GetScopes() []string
- func (msg *CallerScope) MarshalJSON() ([]byte, error)
- func (r *CallerScope) Print(w io.Writer)
- func (*CallerScope) ProtoMessage()
- func (x *CallerScope) ProtoReflect() protoreflect.Message
- func (x *CallerScope) Reset()
- func (x *CallerScope) String() string
- func (msg *CallerScope) UnmarshalJSON(b []byte) error
- type CallerStatusResponse
- func (*CallerStatusResponse) Descriptor() ([]byte, []int)
- func (x *CallerStatusResponse) GetClaims() []*KVPair
- func (m *CallerStatusResponse) GetMessageDescription() *api.MessageDescription
- func (x *CallerStatusResponse) GetRole() string
- func (x *CallerStatusResponse) GetSubject() string
- func (msg *CallerStatusResponse) MarshalJSON() ([]byte, error)
- func (r *CallerStatusResponse) Print(w io.Writer)
- func (*CallerStatusResponse) ProtoMessage()
- func (x *CallerStatusResponse) ProtoReflect() protoreflect.Message
- func (x *CallerStatusResponse) Reset()
- func (x *CallerStatusResponse) String() string
- func (msg *CallerStatusResponse) UnmarshalJSON(b []byte) error
- type CertProfile
- func (*CertProfile) Descriptor() ([]byte, []int)
- func (x *CertProfile) GetAllowedDns() string
- func (x *CertProfile) GetAllowedEmail() string
- func (x *CertProfile) GetAllowedExtensions() []string
- func (x *CertProfile) GetAllowedFields() *CSRAllowedFields
- func (x *CertProfile) GetAllowedNames() string
- func (x *CertProfile) GetAllowedRoles() []string
- func (x *CertProfile) GetAllowedUri() string
- func (x *CertProfile) GetBackdate() string
- func (x *CertProfile) GetCAConstraint() *CAConstraint
- func (x *CertProfile) GetCreatedAt() string
- func (x *CertProfile) GetDeniedRoles() []string
- func (x *CertProfile) GetDescription() string
- func (x *CertProfile) GetExpiry() string
- func (x *CertProfile) GetExtensions() []*X509Extension
- func (x *CertProfile) GetID() string
- func (x *CertProfile) GetIssuerLabel() string
- func (x *CertProfile) GetLabel() string
- func (m *CertProfile) GetMessageDescription() *api.MessageDescription
- func (x *CertProfile) GetOcspNoCheck() bool
- func (x *CertProfile) GetOrgID() string
- func (x *CertProfile) GetPolicies() []*CertificatePolicy
- func (x *CertProfile) GetPoliciesCritical() bool
- func (x *CertProfile) GetProjectID() string
- func (x *CertProfile) GetStatus() ItemStatus_Enum
- func (x *CertProfile) GetUpdatedAt() string
- func (x *CertProfile) GetUsages() []string
- func (msg *CertProfile) MarshalJSON() ([]byte, error)
- func (r *CertProfile) Print(w io.Writer)
- func (*CertProfile) ProtoMessage()
- func (x *CertProfile) ProtoReflect() protoreflect.Message
- func (x *CertProfile) Reset()
- func (x *CertProfile) String() string
- func (msg *CertProfile) UnmarshalJSON(b []byte) error
- type Certificate
- func (*Certificate) Descriptor() ([]byte, []int)
- func (x *Certificate) GetCreatedAt() string
- func (x *Certificate) GetID() string
- func (x *Certificate) GetIKID() string
- func (x *Certificate) GetIssuer() string
- func (x *Certificate) GetIssuersPem() string
- func (x *Certificate) GetLabel() string
- func (x *Certificate) GetLocations() []string
- func (x *Certificate) GetMetadata() map[string]string
- func (x *Certificate) GetNotAfter() string
- func (x *Certificate) GetNotBefore() string
- func (x *Certificate) GetOrgID() string
- func (x *Certificate) GetPem() string
- func (x *Certificate) GetProfile() string
- func (x *Certificate) GetProjectID() string
- func (x *Certificate) GetSKID() string
- func (x *Certificate) GetSerialNumber() string
- func (x *Certificate) GetSha256() string
- func (x *Certificate) GetStatus() CertificateStatus_Enum
- func (x *Certificate) GetSubject() string
- func (msg *Certificate) MarshalJSON() ([]byte, error)
- func (r *Certificate) Print(w io.Writer)
- func (*Certificate) ProtoMessage()
- func (x *Certificate) ProtoReflect() protoreflect.Message
- func (x *Certificate) Reset()
- func (x *Certificate) String() string
- func (msg *Certificate) UnmarshalJSON(b []byte) error
- type CertificatePolicy
- func (*CertificatePolicy) Descriptor() ([]byte, []int)
- func (x *CertificatePolicy) GetID() string
- func (x *CertificatePolicy) GetQualifiers() []*CertificatePolicyQualifier
- func (msg *CertificatePolicy) MarshalJSON() ([]byte, error)
- func (*CertificatePolicy) ProtoMessage()
- func (x *CertificatePolicy) ProtoReflect() protoreflect.Message
- func (x *CertificatePolicy) Reset()
- func (x *CertificatePolicy) String() string
- func (msg *CertificatePolicy) UnmarshalJSON(b []byte) error
- type CertificatePolicyQualifier
- func (*CertificatePolicyQualifier) Descriptor() ([]byte, []int)
- func (x *CertificatePolicyQualifier) GetType() string
- func (x *CertificatePolicyQualifier) GetValue() string
- func (msg *CertificatePolicyQualifier) MarshalJSON() ([]byte, error)
- func (*CertificatePolicyQualifier) ProtoMessage()
- func (x *CertificatePolicyQualifier) ProtoReflect() protoreflect.Message
- func (x *CertificatePolicyQualifier) Reset()
- func (x *CertificatePolicyQualifier) String() string
- func (msg *CertificatePolicyQualifier) UnmarshalJSON(b []byte) error
- type CertificateResponse
- func (*CertificateResponse) Descriptor() ([]byte, []int)
- func (x *CertificateResponse) GetCertificate() *Certificate
- func (m *CertificateResponse) GetMessageDescription() *api.MessageDescription
- func (msg *CertificateResponse) MarshalJSON() ([]byte, error)
- func (r *CertificateResponse) Print(w io.Writer)
- func (*CertificateResponse) ProtoMessage()
- func (x *CertificateResponse) ProtoReflect() protoreflect.Message
- func (x *CertificateResponse) Reset()
- func (x *CertificateResponse) String() string
- func (msg *CertificateResponse) UnmarshalJSON(b []byte) error
- type CertificateStatus
- func (*CertificateStatus) Descriptor() ([]byte, []int)
- func (msg *CertificateStatus) MarshalJSON() ([]byte, error)
- func (*CertificateStatus) ProtoMessage()
- func (x *CertificateStatus) ProtoReflect() protoreflect.Message
- func (x *CertificateStatus) Reset()
- func (x *CertificateStatus) String() string
- func (msg *CertificateStatus) UnmarshalJSON(b []byte) error
- type CertificateStatusCount
- func (*CertificateStatusCount) Descriptor() ([]byte, []int)
- func (x *CertificateStatusCount) GetCount() uint32
- func (x *CertificateStatusCount) GetStatus() CertificateStatus_Enum
- func (msg *CertificateStatusCount) MarshalJSON() ([]byte, error)
- func (*CertificateStatusCount) ProtoMessage()
- func (x *CertificateStatusCount) ProtoReflect() protoreflect.Message
- func (x *CertificateStatusCount) Reset()
- func (x *CertificateStatusCount) String() string
- func (msg *CertificateStatusCount) UnmarshalJSON(b []byte) error
- type CertificateStatusResponse
- func (*CertificateStatusResponse) Descriptor() ([]byte, []int)
- func (x *CertificateStatusResponse) GetIKID() string
- func (m *CertificateStatusResponse) GetMessageDescription() *api.MessageDescription
- func (x *CertificateStatusResponse) GetNotAfter() string
- func (x *CertificateStatusResponse) GetReason() ReasonCode_Enum
- func (x *CertificateStatusResponse) GetRevokedAt() string
- func (x *CertificateStatusResponse) GetSerialNumber() string
- func (x *CertificateStatusResponse) GetStatus() CertificateStatus_Enum
- func (msg *CertificateStatusResponse) MarshalJSON() ([]byte, error)
- func (r *CertificateStatusResponse) Print(w io.Writer)
- func (*CertificateStatusResponse) ProtoMessage()
- func (x *CertificateStatusResponse) ProtoReflect() protoreflect.Message
- func (x *CertificateStatusResponse) Reset()
- func (x *CertificateStatusResponse) String() string
- func (msg *CertificateStatusResponse) UnmarshalJSON(b []byte) error
- type CertificateStatus_Enum
- func (s CertificateStatus_Enum) Describe() map[CertificateStatus_Enum]*api.EnumMeta
- func (CertificateStatus_Enum) Descriptor() protoreflect.EnumDescriptor
- func (s CertificateStatus_Enum) DisplayName() string
- func (s CertificateStatus_Enum) DisplayNames() []string
- func (s CertificateStatus_Enum) DisplayNamesMap() map[int32]string
- func (x CertificateStatus_Enum) Enum() *CertificateStatus_Enum
- func (CertificateStatus_Enum) EnumDescriptor() ([]byte, []int)
- func (s CertificateStatus_Enum) Flags() []CertificateStatus_Enum
- func (s CertificateStatus_Enum) FlagsInt() []int32
- func (s CertificateStatus_Enum) GetDescription() *api.EnumDescription
- func (s CertificateStatus_Enum) Meta() *api.EnumMeta
- func (s CertificateStatus_Enum) NamesMap() map[int32]string
- func (x CertificateStatus_Enum) Number() protoreflect.EnumNumber
- func (_ CertificateStatus_Enum) Parse(val any) CertificateStatus_Enum
- func (x CertificateStatus_Enum) String() string
- func (s CertificateStatus_Enum) SupportedNames() string
- func (CertificateStatus_Enum) Type() protoreflect.EnumType
- func (s *CertificateStatus_Enum) UnmarshalJSON(b []byte) error
- func (s *CertificateStatus_Enum) UnmarshalYAML(unmarshal func(any) error) error
- func (s CertificateStatus_Enum) ValueNames() []string
- func (s CertificateStatus_Enum) ValueString() string
- func (s CertificateStatus_Enum) ValuesMap() map[string]int32
- type CertificateStatus_EnumSlice
- type CertificatesResponse
- func (*CertificatesResponse) Descriptor() ([]byte, []int)
- func (x *CertificatesResponse) GetCertificates() []*Certificate
- func (m *CertificatesResponse) GetMessageDescription() *api.MessageDescription
- func (x *CertificatesResponse) GetNextPage() *NextPage
- func (msg *CertificatesResponse) MarshalJSON() ([]byte, error)
- func (r *CertificatesResponse) Print(w io.Writer)
- func (*CertificatesResponse) ProtoMessage()
- func (x *CertificatesResponse) ProtoReflect() protoreflect.Message
- func (x *CertificatesResponse) Reset()
- func (x *CertificatesResponse) String() string
- func (msg *CertificatesResponse) UnmarshalJSON(b []byte) error
- type ChangeMemberRoleRequest
- func (*ChangeMemberRoleRequest) Descriptor() ([]byte, []int)
- func (x *ChangeMemberRoleRequest) GetEmail() string
- func (x *ChangeMemberRoleRequest) GetProjectID() string
- func (x *ChangeMemberRoleRequest) GetRole() Role_Enum
- func (x *ChangeMemberRoleRequest) GetUserID() string
- func (msg *ChangeMemberRoleRequest) MarshalJSON() ([]byte, error)
- func (*ChangeMemberRoleRequest) ProtoMessage()
- func (x *ChangeMemberRoleRequest) ProtoReflect() protoreflect.Message
- func (x *ChangeMemberRoleRequest) Reset()
- func (x *ChangeMemberRoleRequest) String() string
- func (msg *ChangeMemberRoleRequest) UnmarshalJSON(b []byte) error
- func (m *ChangeMemberRoleRequest) Validate(ctx context.Context) error
- type CheckAccessFunc
- type CreateAPIKeyRequest
- func (*CreateAPIKeyRequest) Descriptor() ([]byte, []int)
- func (x *CreateAPIKeyRequest) GetExpiresAt() string
- func (x *CreateAPIKeyRequest) GetLabel() string
- func (x *CreateAPIKeyRequest) GetProjectID() string
- func (x *CreateAPIKeyRequest) GetScopes() []string
- func (msg *CreateAPIKeyRequest) MarshalJSON() ([]byte, error)
- func (*CreateAPIKeyRequest) ProtoMessage()
- func (x *CreateAPIKeyRequest) ProtoReflect() protoreflect.Message
- func (x *CreateAPIKeyRequest) Reset()
- func (x *CreateAPIKeyRequest) String() string
- func (msg *CreateAPIKeyRequest) UnmarshalJSON(b []byte) error
- func (m *CreateAPIKeyRequest) Validate(ctx context.Context) error
- type Crl
- func (*Crl) Descriptor() ([]byte, []int)
- func (x *Crl) GetID() string
- func (x *Crl) GetIKID() string
- func (x *Crl) GetIssuer() string
- func (x *Crl) GetIssuerID() string
- func (x *Crl) GetLocations() []string
- func (x *Crl) GetNextUpdate() string
- func (x *Crl) GetNumber() string
- func (x *Crl) GetOrgID() string
- func (x *Crl) GetPem() string
- func (x *Crl) GetThisUpdate() string
- func (msg *Crl) MarshalJSON() ([]byte, error)
- func (r *Crl) Print(w io.Writer)
- func (*Crl) ProtoMessage()
- func (x *Crl) ProtoReflect() protoreflect.Message
- func (x *Crl) Reset()
- func (x *Crl) String() string
- func (msg *Crl) UnmarshalJSON(b []byte) error
- type CrlCounts
- func (*CrlCounts) Descriptor() ([]byte, []int)
- func (x *CrlCounts) GetCurrent() uint32
- func (x *CrlCounts) GetDue() uint32
- func (x *CrlCounts) GetIssuers() uint32
- func (x *CrlCounts) GetMissing() uint32
- func (x *CrlCounts) GetOverdue() uint32
- func (msg *CrlCounts) MarshalJSON() ([]byte, error)
- func (*CrlCounts) ProtoMessage()
- func (x *CrlCounts) ProtoReflect() protoreflect.Message
- func (x *CrlCounts) Reset()
- func (x *CrlCounts) String() string
- func (msg *CrlCounts) UnmarshalJSON(b []byte) error
- type CrlResponse
- func (*CrlResponse) Descriptor() ([]byte, []int)
- func (x *CrlResponse) GetCrl() *Crl
- func (m *CrlResponse) GetMessageDescription() *api.MessageDescription
- func (msg *CrlResponse) MarshalJSON() ([]byte, error)
- func (r *CrlResponse) Print(w io.Writer)
- func (*CrlResponse) ProtoMessage()
- func (x *CrlResponse) ProtoReflect() protoreflect.Message
- func (x *CrlResponse) Reset()
- func (x *CrlResponse) String() string
- func (msg *CrlResponse) UnmarshalJSON(b []byte) error
- type CrlsResponse
- func (*CrlsResponse) Descriptor() ([]byte, []int)
- func (x *CrlsResponse) GetCrls() []*Crl
- func (m *CrlsResponse) GetMessageDescription() *api.MessageDescription
- func (msg *CrlsResponse) MarshalJSON() ([]byte, error)
- func (r *CrlsResponse) Print(w io.Writer)
- func (*CrlsResponse) ProtoMessage()
- func (x *CrlsResponse) ProtoReflect() protoreflect.Message
- func (x *CrlsResponse) Reset()
- func (x *CrlsResponse) String() string
- func (msg *CrlsResponse) UnmarshalJSON(b []byte) error
- type DeleteInviteRequest
- func (*DeleteInviteRequest) Descriptor() ([]byte, []int)
- func (x *DeleteInviteRequest) GetEmail() string
- func (x *DeleteInviteRequest) GetProjectID() string
- func (msg *DeleteInviteRequest) MarshalJSON() ([]byte, error)
- func (*DeleteInviteRequest) ProtoMessage()
- func (x *DeleteInviteRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteInviteRequest) Reset()
- func (x *DeleteInviteRequest) String() string
- func (msg *DeleteInviteRequest) UnmarshalJSON(b []byte) error
- func (m *DeleteInviteRequest) Validate(ctx context.Context) error
- type DeleteMemberRequest
- func (*DeleteMemberRequest) Descriptor() ([]byte, []int)
- func (x *DeleteMemberRequest) GetProjectID() string
- func (x *DeleteMemberRequest) GetUserID() string
- func (msg *DeleteMemberRequest) MarshalJSON() ([]byte, error)
- func (*DeleteMemberRequest) ProtoMessage()
- func (x *DeleteMemberRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteMemberRequest) Reset()
- func (x *DeleteMemberRequest) String() string
- func (msg *DeleteMemberRequest) UnmarshalJSON(b []byte) error
- func (m *DeleteMemberRequest) Validate(ctx context.Context) error
- type DeleteProfileRequest
- func (*DeleteProfileRequest) Descriptor() ([]byte, []int)
- func (x *DeleteProfileRequest) GetID() string
- func (x *DeleteProfileRequest) GetProjectID() string
- func (msg *DeleteProfileRequest) MarshalJSON() ([]byte, error)
- func (*DeleteProfileRequest) ProtoMessage()
- func (x *DeleteProfileRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteProfileRequest) Reset()
- func (x *DeleteProfileRequest) String() string
- func (msg *DeleteProfileRequest) UnmarshalJSON(b []byte) error
- func (m *DeleteProfileRequest) Validate(ctx context.Context) error
- type DeleteProjectRequest
- func (*DeleteProjectRequest) Descriptor() ([]byte, []int)
- func (x *DeleteProjectRequest) GetProjectID() string
- func (msg *DeleteProjectRequest) MarshalJSON() ([]byte, error)
- func (*DeleteProjectRequest) ProtoMessage()
- func (x *DeleteProjectRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteProjectRequest) Reset()
- func (x *DeleteProjectRequest) String() string
- func (msg *DeleteProjectRequest) UnmarshalJSON(b []byte) error
- func (m *DeleteProjectRequest) Validate(ctx context.Context) error
- type EncodingFormat
- func (*EncodingFormat) Descriptor() ([]byte, []int)
- func (msg *EncodingFormat) MarshalJSON() ([]byte, error)
- func (*EncodingFormat) ProtoMessage()
- func (x *EncodingFormat) ProtoReflect() protoreflect.Message
- func (x *EncodingFormat) Reset()
- func (x *EncodingFormat) String() string
- func (msg *EncodingFormat) UnmarshalJSON(b []byte) error
- type EncodingFormat_Enum
- func (s EncodingFormat_Enum) Describe() map[EncodingFormat_Enum]*api.EnumMeta
- func (EncodingFormat_Enum) Descriptor() protoreflect.EnumDescriptor
- func (s EncodingFormat_Enum) DisplayName() string
- func (s EncodingFormat_Enum) DisplayNames() []string
- func (s EncodingFormat_Enum) DisplayNamesMap() map[int32]string
- func (x EncodingFormat_Enum) Enum() *EncodingFormat_Enum
- func (EncodingFormat_Enum) EnumDescriptor() ([]byte, []int)
- func (s EncodingFormat_Enum) Flags() []EncodingFormat_Enum
- func (s EncodingFormat_Enum) FlagsInt() []int32
- func (s EncodingFormat_Enum) GetDescription() *api.EnumDescription
- func (s EncodingFormat_Enum) Meta() *api.EnumMeta
- func (s EncodingFormat_Enum) NamesMap() map[int32]string
- func (x EncodingFormat_Enum) Number() protoreflect.EnumNumber
- func (_ EncodingFormat_Enum) Parse(val any) EncodingFormat_Enum
- func (x EncodingFormat_Enum) String() string
- func (s EncodingFormat_Enum) SupportedNames() string
- func (EncodingFormat_Enum) Type() protoreflect.EnumType
- func (s *EncodingFormat_Enum) UnmarshalJSON(b []byte) error
- func (s *EncodingFormat_Enum) UnmarshalYAML(unmarshal func(any) error) error
- func (s EncodingFormat_Enum) ValueNames() []string
- func (s EncodingFormat_Enum) ValueString() string
- func (s EncodingFormat_Enum) ValuesMap() map[string]int32
- type EncodingFormat_EnumSlice
- type Event
- func (*Event) Descriptor() ([]byte, []int)
- func (x *Event) GetCreatedAt() string
- func (x *Event) GetDescription() string
- func (x *Event) GetEmail() string
- func (x *Event) GetID() string
- func (x *Event) GetMetadata() []*KVPair
- func (x *Event) GetOrgID() string
- func (x *Event) GetProjectID() string
- func (x *Event) GetReferenceID() string
- func (x *Event) GetSource() string
- func (x *Event) GetTitle() string
- func (x *Event) GetType() EventType_Enum
- func (msg *Event) MarshalJSON() ([]byte, error)
- func (*Event) ProtoMessage()
- func (x *Event) ProtoReflect() protoreflect.Message
- func (x *Event) Reset()
- func (x *Event) String() string
- func (msg *Event) UnmarshalJSON(b []byte) error
- type EventType
- func (*EventType) Descriptor() ([]byte, []int)
- func (msg *EventType) MarshalJSON() ([]byte, error)
- func (*EventType) ProtoMessage()
- func (x *EventType) ProtoReflect() protoreflect.Message
- func (x *EventType) Reset()
- func (x *EventType) String() string
- func (msg *EventType) UnmarshalJSON(b []byte) error
- type EventType_Enum
- func (s EventType_Enum) Describe() map[EventType_Enum]*api.EnumMeta
- func (EventType_Enum) Descriptor() protoreflect.EnumDescriptor
- func (s EventType_Enum) DisplayName() string
- func (s EventType_Enum) DisplayNames() []string
- func (s EventType_Enum) DisplayNamesMap() map[int32]string
- func (x EventType_Enum) Enum() *EventType_Enum
- func (EventType_Enum) EnumDescriptor() ([]byte, []int)
- func (s EventType_Enum) Flags() []EventType_Enum
- func (s EventType_Enum) FlagsInt() []int32
- func (s EventType_Enum) GetDescription() *api.EnumDescription
- func (s EventType_Enum) Meta() *api.EnumMeta
- func (s EventType_Enum) NamesMap() map[int32]string
- func (x EventType_Enum) Number() protoreflect.EnumNumber
- func (_ EventType_Enum) Parse(val any) EventType_Enum
- func (x EventType_Enum) String() string
- func (s EventType_Enum) SupportedNames() string
- func (EventType_Enum) Type() protoreflect.EnumType
- func (s *EventType_Enum) UnmarshalJSON(b []byte) error
- func (s *EventType_Enum) UnmarshalYAML(unmarshal func(any) error) error
- func (s EventType_Enum) ValueNames() []string
- func (s EventType_Enum) ValueString() string
- func (s EventType_Enum) ValuesMap() map[string]int32
- type EventType_EnumSlice
- type EventsResponse
- func (*EventsResponse) Descriptor() ([]byte, []int)
- func (x *EventsResponse) GetEvents() []*Event
- func (m *EventsResponse) GetMessageDescription() *api.MessageDescription
- func (x *EventsResponse) GetNextPage() *NextPage
- func (msg *EventsResponse) MarshalJSON() ([]byte, error)
- func (r *EventsResponse) Print(w io.Writer)
- func (*EventsResponse) ProtoMessage()
- func (x *EventsResponse) ProtoReflect() protoreflect.Message
- func (x *EventsResponse) Reset()
- func (x *EventsResponse) String() string
- func (msg *EventsResponse) UnmarshalJSON(b []byte) error
- type ExchangeCodeRequest
- func (*ExchangeCodeRequest) Descriptor() ([]byte, []int)
- func (x *ExchangeCodeRequest) GetCode() string
- func (x *ExchangeCodeRequest) GetVerifier() string
- func (msg *ExchangeCodeRequest) MarshalJSON() ([]byte, error)
- func (*ExchangeCodeRequest) ProtoMessage()
- func (x *ExchangeCodeRequest) ProtoReflect() protoreflect.Message
- func (x *ExchangeCodeRequest) Reset()
- func (x *ExchangeCodeRequest) String() string
- func (msg *ExchangeCodeRequest) UnmarshalJSON(b []byte) error
- func (m *ExchangeCodeRequest) Validate(ctx context.Context) error
- type ExpiryBucket
- func (*ExpiryBucket) Descriptor() ([]byte, []int)
- func (x *ExpiryBucket) GetCount() uint32
- func (x *ExpiryBucket) GetDays() uint32
- func (msg *ExpiryBucket) MarshalJSON() ([]byte, error)
- func (*ExpiryBucket) ProtoMessage()
- func (x *ExpiryBucket) ProtoReflect() protoreflect.Message
- func (x *ExpiryBucket) Reset()
- func (x *ExpiryBucket) String() string
- func (msg *ExpiryBucket) UnmarshalJSON(b []byte) error
- type GetCertificateInfoRequest
- func (*GetCertificateInfoRequest) Descriptor() ([]byte, []int)
- func (x *GetCertificateInfoRequest) GetID() string
- func (x *GetCertificateInfoRequest) GetIssuerSerial() *IssuerSerial
- func (x *GetCertificateInfoRequest) GetSKID() string
- func (x *GetCertificateInfoRequest) GetSha256() string
- func (msg *GetCertificateInfoRequest) MarshalJSON() ([]byte, error)
- func (*GetCertificateInfoRequest) ProtoMessage()
- func (x *GetCertificateInfoRequest) ProtoReflect() protoreflect.Message
- func (x *GetCertificateInfoRequest) Reset()
- func (x *GetCertificateInfoRequest) String() string
- func (msg *GetCertificateInfoRequest) UnmarshalJSON(b []byte) error
- func (m *GetCertificateInfoRequest) Validate(ctx context.Context) error
- type GetCertificateRequest
- func (*GetCertificateRequest) Descriptor() ([]byte, []int)
- func (x *GetCertificateRequest) GetID() string
- func (x *GetCertificateRequest) GetIssuerSerial() *IssuerSerial
- func (x *GetCertificateRequest) GetSKID() string
- func (x *GetCertificateRequest) GetSha256() string
- func (msg *GetCertificateRequest) MarshalJSON() ([]byte, error)
- func (*GetCertificateRequest) ProtoMessage()
- func (x *GetCertificateRequest) ProtoReflect() protoreflect.Message
- func (x *GetCertificateRequest) Reset()
- func (x *GetCertificateRequest) String() string
- func (msg *GetCertificateRequest) UnmarshalJSON(b []byte) error
- func (m *GetCertificateRequest) Validate(ctx context.Context) error
- type GetCrlRequest
- func (*GetCrlRequest) Descriptor() ([]byte, []int)
- func (x *GetCrlRequest) GetIKID() string
- func (msg *GetCrlRequest) MarshalJSON() ([]byte, error)
- func (*GetCrlRequest) ProtoMessage()
- func (x *GetCrlRequest) ProtoReflect() protoreflect.Message
- func (x *GetCrlRequest) Reset()
- func (x *GetCrlRequest) String() string
- func (msg *GetCrlRequest) UnmarshalJSON(b []byte) error
- func (m *GetCrlRequest) Validate(ctx context.Context) error
- type GetIssuerInfoRequest
- func (*GetIssuerInfoRequest) Descriptor() ([]byte, []int)
- func (x *GetIssuerInfoRequest) GetIKID() string
- func (msg *GetIssuerInfoRequest) MarshalJSON() ([]byte, error)
- func (*GetIssuerInfoRequest) ProtoMessage()
- func (x *GetIssuerInfoRequest) ProtoReflect() protoreflect.Message
- func (x *GetIssuerInfoRequest) Reset()
- func (x *GetIssuerInfoRequest) String() string
- func (msg *GetIssuerInfoRequest) UnmarshalJSON(b []byte) error
- func (m *GetIssuerInfoRequest) Validate(ctx context.Context) error
- type GetIssuerRequest
- func (*GetIssuerRequest) Descriptor() ([]byte, []int)
- func (x *GetIssuerRequest) GetID() string
- func (x *GetIssuerRequest) GetIKID() string
- func (x *GetIssuerRequest) GetLabel() string
- func (x *GetIssuerRequest) GetProjectID() string
- func (msg *GetIssuerRequest) MarshalJSON() ([]byte, error)
- func (*GetIssuerRequest) ProtoMessage()
- func (x *GetIssuerRequest) ProtoReflect() protoreflect.Message
- func (x *GetIssuerRequest) Reset()
- func (x *GetIssuerRequest) String() string
- func (msg *GetIssuerRequest) UnmarshalJSON(b []byte) error
- func (m *GetIssuerRequest) Validate(ctx context.Context) error
- type GetMembersRequest
- func (*GetMembersRequest) Descriptor() ([]byte, []int)
- func (x *GetMembersRequest) GetProjectID() string
- func (x *GetMembersRequest) GetScope() Scope_Enum
- func (msg *GetMembersRequest) MarshalJSON() ([]byte, error)
- func (*GetMembersRequest) ProtoMessage()
- func (x *GetMembersRequest) ProtoReflect() protoreflect.Message
- func (x *GetMembersRequest) Reset()
- func (x *GetMembersRequest) String() string
- func (msg *GetMembersRequest) UnmarshalJSON(b []byte) error
- func (m *GetMembersRequest) Validate(ctx context.Context) error
- type GetProfileRequest
- func (*GetProfileRequest) Descriptor() ([]byte, []int)
- func (x *GetProfileRequest) GetID() string
- func (x *GetProfileRequest) GetLabel() string
- func (x *GetProfileRequest) GetProjectID() string
- func (msg *GetProfileRequest) MarshalJSON() ([]byte, error)
- func (*GetProfileRequest) ProtoMessage()
- func (x *GetProfileRequest) ProtoReflect() protoreflect.Message
- func (x *GetProfileRequest) Reset()
- func (x *GetProfileRequest) String() string
- func (msg *GetProfileRequest) UnmarshalJSON(b []byte) error
- func (m *GetProfileRequest) Validate(ctx context.Context) error
- type GetProjectRequest
- func (*GetProjectRequest) Descriptor() ([]byte, []int)
- func (x *GetProjectRequest) GetAlias() string
- func (x *GetProjectRequest) GetProjectID() string
- func (msg *GetProjectRequest) MarshalJSON() ([]byte, error)
- func (*GetProjectRequest) ProtoMessage()
- func (x *GetProjectRequest) ProtoReflect() protoreflect.Message
- func (x *GetProjectRequest) Reset()
- func (x *GetProjectRequest) String() string
- func (msg *GetProjectRequest) UnmarshalJSON(b []byte) error
- func (m *GetProjectRequest) Validate(ctx context.Context) error
- type GetRootsRequest
- func (*GetRootsRequest) Descriptor() ([]byte, []int)
- func (x *GetRootsRequest) GetCursor() string
- func (x *GetRootsRequest) GetLimit() uint32
- func (x *GetRootsRequest) GetOffset() uint32
- func (x *GetRootsRequest) GetOrgID() string
- func (msg *GetRootsRequest) MarshalJSON() ([]byte, error)
- func (*GetRootsRequest) ProtoMessage()
- func (x *GetRootsRequest) ProtoReflect() protoreflect.Message
- func (x *GetRootsRequest) Reset()
- func (x *GetRootsRequest) String() string
- func (msg *GetRootsRequest) UnmarshalJSON(b []byte) error
- func (m *GetRootsRequest) Validate(ctx context.Context) error
- type GetSummaryRequest
- func (*GetSummaryRequest) Descriptor() ([]byte, []int)
- func (x *GetSummaryRequest) GetProjectID() string
- func (msg *GetSummaryRequest) MarshalJSON() ([]byte, error)
- func (*GetSummaryRequest) ProtoMessage()
- func (x *GetSummaryRequest) ProtoReflect() protoreflect.Message
- func (x *GetSummaryRequest) Reset()
- func (x *GetSummaryRequest) String() string
- func (msg *GetSummaryRequest) UnmarshalJSON(b []byte) error
- func (m *GetSummaryRequest) Validate(ctx context.Context) error
- type IDP
- type IDP_Enum
- func IDPFromSlice(s []string) []IDP_Enum
- func IDPFromString(s string) IDP_Enum
- func (s IDP_Enum) Describe() map[IDP_Enum]*api.EnumMeta
- func (IDP_Enum) Descriptor() protoreflect.EnumDescriptor
- func (s IDP_Enum) DisplayName() string
- func (s IDP_Enum) DisplayNames() []string
- func (s IDP_Enum) DisplayNamesMap() map[int32]string
- func (x IDP_Enum) Enum() *IDP_Enum
- func (IDP_Enum) EnumDescriptor() ([]byte, []int)
- func (s IDP_Enum) Flags() []IDP_Enum
- func (s IDP_Enum) FlagsInt() []int32
- func (s IDP_Enum) GetDescription() *api.EnumDescription
- func (s IDP_Enum) Meta() *api.EnumMeta
- func (s IDP_Enum) NamesMap() map[int32]string
- func (x IDP_Enum) Number() protoreflect.EnumNumber
- func (_ IDP_Enum) Parse(val any) IDP_Enum
- func (x IDP_Enum) String() string
- func (s IDP_Enum) SupportedNames() string
- func (IDP_Enum) Type() protoreflect.EnumType
- func (s *IDP_Enum) UnmarshalJSON(b []byte) error
- func (s *IDP_Enum) UnmarshalYAML(unmarshal func(any) error) error
- func (s IDP_Enum) ValueNames() []string
- func (s IDP_Enum) ValueString() string
- func (s IDP_Enum) ValuesMap() map[string]int32
- type IDP_EnumSlice
- type ImportIssuerRequest
- func (*ImportIssuerRequest) Descriptor() ([]byte, []int)
- func (x *ImportIssuerRequest) GetCertificate() string
- func (x *ImportIssuerRequest) GetConfig() *IssuerConfig
- func (x *ImportIssuerRequest) GetIntermediates() string
- func (x *ImportIssuerRequest) GetKeyPem() string
- func (x *ImportIssuerRequest) GetKeyURI() string
- func (x *ImportIssuerRequest) GetLabel() string
- func (x *ImportIssuerRequest) GetProjectID() string
- func (x *ImportIssuerRequest) GetRoot() string
- func (x *ImportIssuerRequest) GetType() AuthorityType_Enum
- func (msg *ImportIssuerRequest) MarshalJSON() ([]byte, error)
- func (*ImportIssuerRequest) ProtoMessage()
- func (x *ImportIssuerRequest) ProtoReflect() protoreflect.Message
- func (x *ImportIssuerRequest) Reset()
- func (x *ImportIssuerRequest) String() string
- func (msg *ImportIssuerRequest) UnmarshalJSON(b []byte) error
- func (m *ImportIssuerRequest) Validate(ctx context.Context) error
- type Invite
- func (*Invite) Descriptor() ([]byte, []int)
- func (x *Invite) GetCreatedAt() string
- func (x *Invite) GetEmail() string
- func (x *Invite) GetExpiresAt() string
- func (x *Invite) GetID() string
- func (x *Invite) GetInviterID() string
- func (x *Invite) GetOrgID() string
- func (x *Invite) GetProjectID() string
- func (x *Invite) GetRole() Role_Enum
- func (x *Invite) GetScope() Scope_Enum
- func (msg *Invite) MarshalJSON() ([]byte, error)
- func (r *Invite) Print(w io.Writer)
- func (*Invite) ProtoMessage()
- func (x *Invite) ProtoReflect() protoreflect.Message
- func (x *Invite) Reset()
- func (x *Invite) String() string
- func (msg *Invite) UnmarshalJSON(b []byte) error
- type Issuer
- func (*Issuer) Descriptor() ([]byte, []int)
- func (x *Issuer) GetCertificate() string
- func (x *Issuer) GetConfig() *IssuerConfig
- func (x *Issuer) GetCreatedAt() string
- func (x *Issuer) GetCrlNumber() string
- func (x *Issuer) GetCsr() string
- func (x *Issuer) GetID() string
- func (x *Issuer) GetIKID() string
- func (x *Issuer) GetIntermediates() string
- func (x *Issuer) GetIssuer() string
- func (x *Issuer) GetKeyProvider() string
- func (x *Issuer) GetLabel() string
- func (m *Issuer) GetMessageDescription() *api.MessageDescription
- func (x *Issuer) GetNotAfter() string
- func (x *Issuer) GetNotBefore() string
- func (x *Issuer) GetOrgID() string
- func (x *Issuer) GetParentID() string
- func (x *Issuer) GetProfiles() []string
- func (x *Issuer) GetProjectID() string
- func (x *Issuer) GetRoot() string
- func (x *Issuer) GetSKID() string
- func (x *Issuer) GetSerialNumber() string
- func (x *Issuer) GetSha256() string
- func (x *Issuer) GetStatus() IssuerStatus_Enum
- func (x *Issuer) GetSubject() string
- func (x *Issuer) GetType() AuthorityType_Enum
- func (x *Issuer) GetUpdatedAt() string
- func (msg *Issuer) MarshalJSON() ([]byte, error)
- func (r *Issuer) Print(w io.Writer)
- func (*Issuer) ProtoMessage()
- func (x *Issuer) ProtoReflect() protoreflect.Message
- func (x *Issuer) Reset()
- func (x *Issuer) String() string
- func (msg *Issuer) UnmarshalJSON(b []byte) error
- type IssuerConfig
- func (*IssuerConfig) Descriptor() ([]byte, []int)
- func (x *IssuerConfig) GetAiaURL() string
- func (x *IssuerConfig) GetAllowedProfiles() []string
- func (x *IssuerConfig) GetCrlExpiry() string
- func (x *IssuerConfig) GetCrlRenewal() string
- func (x *IssuerConfig) GetCrlURL() string
- func (x *IssuerConfig) GetDelegatedOcspProfile() string
- func (x *IssuerConfig) GetOcspExpiry() string
- func (x *IssuerConfig) GetOcspURL() string
- func (x *IssuerConfig) GetOmitDisabledExtensions() bool
- func (msg *IssuerConfig) MarshalJSON() ([]byte, error)
- func (*IssuerConfig) ProtoMessage()
- func (x *IssuerConfig) ProtoReflect() protoreflect.Message
- func (x *IssuerConfig) Reset()
- func (x *IssuerConfig) String() string
- func (msg *IssuerConfig) UnmarshalJSON(b []byte) error
- type IssuerInfo
- func (*IssuerInfo) Descriptor() ([]byte, []int)
- func (x *IssuerInfo) GetAiaURL() string
- func (x *IssuerInfo) GetCertificate() string
- func (x *IssuerInfo) GetCrlURL() string
- func (x *IssuerInfo) GetIntermediates() string
- func (x *IssuerInfo) GetLabel() string
- func (m *IssuerInfo) GetMessageDescription() *api.MessageDescription
- func (x *IssuerInfo) GetNotAfter() string
- func (x *IssuerInfo) GetNotBefore() string
- func (x *IssuerInfo) GetOcspURL() string
- func (x *IssuerInfo) GetRoot() string
- func (x *IssuerInfo) GetSKID() string
- func (x *IssuerInfo) GetStatus() IssuerStatus_Enum
- func (x *IssuerInfo) GetSubject() string
- func (x *IssuerInfo) GetType() AuthorityType_Enum
- func (msg *IssuerInfo) MarshalJSON() ([]byte, error)
- func (r *IssuerInfo) Print(w io.Writer)
- func (*IssuerInfo) ProtoMessage()
- func (x *IssuerInfo) ProtoReflect() protoreflect.Message
- func (x *IssuerInfo) Reset()
- func (x *IssuerInfo) String() string
- func (msg *IssuerInfo) UnmarshalJSON(b []byte) error
- type IssuerSerial
- func (*IssuerSerial) Descriptor() ([]byte, []int)
- func (x *IssuerSerial) GetIKID() string
- func (x *IssuerSerial) GetSerialNumber() string
- func (msg *IssuerSerial) MarshalJSON() ([]byte, error)
- func (*IssuerSerial) ProtoMessage()
- func (x *IssuerSerial) ProtoReflect() protoreflect.Message
- func (x *IssuerSerial) Reset()
- func (x *IssuerSerial) String() string
- func (msg *IssuerSerial) UnmarshalJSON(b []byte) error
- type IssuerStatus
- func (*IssuerStatus) Descriptor() ([]byte, []int)
- func (msg *IssuerStatus) MarshalJSON() ([]byte, error)
- func (*IssuerStatus) ProtoMessage()
- func (x *IssuerStatus) ProtoReflect() protoreflect.Message
- func (x *IssuerStatus) Reset()
- func (x *IssuerStatus) String() string
- func (msg *IssuerStatus) UnmarshalJSON(b []byte) error
- type IssuerStatusCount
- func (*IssuerStatusCount) Descriptor() ([]byte, []int)
- func (x *IssuerStatusCount) GetCount() uint32
- func (x *IssuerStatusCount) GetStatus() IssuerStatus_Enum
- func (msg *IssuerStatusCount) MarshalJSON() ([]byte, error)
- func (*IssuerStatusCount) ProtoMessage()
- func (x *IssuerStatusCount) ProtoReflect() protoreflect.Message
- func (x *IssuerStatusCount) Reset()
- func (x *IssuerStatusCount) String() string
- func (msg *IssuerStatusCount) UnmarshalJSON(b []byte) error
- type IssuerStatus_Enum
- func (s IssuerStatus_Enum) Describe() map[IssuerStatus_Enum]*api.EnumMeta
- func (IssuerStatus_Enum) Descriptor() protoreflect.EnumDescriptor
- func (s IssuerStatus_Enum) DisplayName() string
- func (s IssuerStatus_Enum) DisplayNames() []string
- func (s IssuerStatus_Enum) DisplayNamesMap() map[int32]string
- func (x IssuerStatus_Enum) Enum() *IssuerStatus_Enum
- func (IssuerStatus_Enum) EnumDescriptor() ([]byte, []int)
- func (s IssuerStatus_Enum) Flags() []IssuerStatus_Enum
- func (s IssuerStatus_Enum) FlagsInt() []int32
- func (s IssuerStatus_Enum) GetDescription() *api.EnumDescription
- func (s IssuerStatus_Enum) Meta() *api.EnumMeta
- func (s IssuerStatus_Enum) NamesMap() map[int32]string
- func (x IssuerStatus_Enum) Number() protoreflect.EnumNumber
- func (_ IssuerStatus_Enum) Parse(val any) IssuerStatus_Enum
- func (x IssuerStatus_Enum) String() string
- func (s IssuerStatus_Enum) SupportedNames() string
- func (IssuerStatus_Enum) Type() protoreflect.EnumType
- func (s *IssuerStatus_Enum) UnmarshalJSON(b []byte) error
- func (s *IssuerStatus_Enum) UnmarshalYAML(unmarshal func(any) error) error
- func (s IssuerStatus_Enum) ValueNames() []string
- func (s IssuerStatus_Enum) ValueString() string
- func (s IssuerStatus_Enum) ValuesMap() map[string]int32
- type IssuerStatus_EnumSlice
- type IssuersResponse
- func (*IssuersResponse) Descriptor() ([]byte, []int)
- func (x *IssuersResponse) GetIssuers() []*Issuer
- func (m *IssuersResponse) GetMessageDescription() *api.MessageDescription
- func (x *IssuersResponse) GetNextPage() *NextPage
- func (msg *IssuersResponse) MarshalJSON() ([]byte, error)
- func (r *IssuersResponse) Print(w io.Writer)
- func (*IssuersResponse) ProtoMessage()
- func (x *IssuersResponse) ProtoReflect() protoreflect.Message
- func (x *IssuersResponse) Reset()
- func (x *IssuersResponse) String() string
- func (msg *IssuersResponse) UnmarshalJSON(b []byte) error
- type ItemStatus
- func (*ItemStatus) Descriptor() ([]byte, []int)
- func (msg *ItemStatus) MarshalJSON() ([]byte, error)
- func (*ItemStatus) ProtoMessage()
- func (x *ItemStatus) ProtoReflect() protoreflect.Message
- func (x *ItemStatus) Reset()
- func (x *ItemStatus) String() string
- func (msg *ItemStatus) UnmarshalJSON(b []byte) error
- type ItemStatus_Enum
- func (s ItemStatus_Enum) Describe() map[ItemStatus_Enum]*api.EnumMeta
- func (ItemStatus_Enum) Descriptor() protoreflect.EnumDescriptor
- func (s ItemStatus_Enum) DisplayName() string
- func (s ItemStatus_Enum) DisplayNames() []string
- func (s ItemStatus_Enum) DisplayNamesMap() map[int32]string
- func (x ItemStatus_Enum) Enum() *ItemStatus_Enum
- func (ItemStatus_Enum) EnumDescriptor() ([]byte, []int)
- func (s ItemStatus_Enum) Flags() []ItemStatus_Enum
- func (s ItemStatus_Enum) FlagsInt() []int32
- func (s ItemStatus_Enum) GetDescription() *api.EnumDescription
- func (s ItemStatus_Enum) Meta() *api.EnumMeta
- func (s ItemStatus_Enum) NamesMap() map[int32]string
- func (x ItemStatus_Enum) Number() protoreflect.EnumNumber
- func (_ ItemStatus_Enum) Parse(val any) ItemStatus_Enum
- func (x ItemStatus_Enum) String() string
- func (s ItemStatus_Enum) SupportedNames() string
- func (ItemStatus_Enum) Type() protoreflect.EnumType
- func (s *ItemStatus_Enum) UnmarshalJSON(b []byte) error
- func (s *ItemStatus_Enum) UnmarshalYAML(unmarshal func(any) error) error
- func (s ItemStatus_Enum) ValueNames() []string
- func (s ItemStatus_Enum) ValueString() string
- func (s ItemStatus_Enum) ValuesMap() map[string]int32
- type ItemStatus_EnumSlice
- type KVPair
- func FlatMap(meta map[string]string) []*KVPair
- func (*KVPair) Descriptor() ([]byte, []int)
- func (x *KVPair) GetKey() string
- func (x *KVPair) GetValue() string
- func (msg *KVPair) MarshalJSON() ([]byte, error)
- func (*KVPair) ProtoMessage()
- func (x *KVPair) ProtoReflect() protoreflect.Message
- func (x *KVPair) Reset()
- func (x *KVPair) String() string
- func (msg *KVPair) UnmarshalJSON(b []byte) error
- type KVSet
- func FlatKVSet(meta map[string][]string) []*KVSet
- func (*KVSet) Descriptor() ([]byte, []int)
- func (x *KVSet) GetKey() string
- func (x *KVSet) GetValues() []string
- func (msg *KVSet) MarshalJSON() ([]byte, error)
- func (*KVSet) ProtoMessage()
- func (x *KVSet) ProtoReflect() protoreflect.Message
- func (x *KVSet) Reset()
- func (x *KVSet) String() string
- func (msg *KVSet) UnmarshalJSON(b []byte) error
- type KeySpec
- func (*KeySpec) Descriptor() ([]byte, []int)
- func (x *KeySpec) GetAlgo() string
- func (x *KeySpec) GetSize() int32
- func (msg *KeySpec) MarshalJSON() ([]byte, error)
- func (*KeySpec) ProtoMessage()
- func (x *KeySpec) ProtoReflect() protoreflect.Message
- func (x *KeySpec) Reset()
- func (x *KeySpec) String() string
- func (msg *KeySpec) UnmarshalJSON(b []byte) error
- type ListAPIKeysRequest
- func (*ListAPIKeysRequest) Descriptor() ([]byte, []int)
- func (x *ListAPIKeysRequest) GetProjectID() string
- func (x *ListAPIKeysRequest) GetStatus() ItemStatus_Enum
- func (msg *ListAPIKeysRequest) MarshalJSON() ([]byte, error)
- func (*ListAPIKeysRequest) ProtoMessage()
- func (x *ListAPIKeysRequest) ProtoReflect() protoreflect.Message
- func (x *ListAPIKeysRequest) Reset()
- func (x *ListAPIKeysRequest) String() string
- func (msg *ListAPIKeysRequest) UnmarshalJSON(b []byte) error
- func (m *ListAPIKeysRequest) Validate(ctx context.Context) error
- type ListCertificatesRequest
- func (*ListCertificatesRequest) Descriptor() ([]byte, []int)
- func (x *ListCertificatesRequest) GetCursor() string
- func (x *ListCertificatesRequest) GetExpiringBefore() string
- func (x *ListCertificatesRequest) GetIKID() string
- func (x *ListCertificatesRequest) GetLimit() uint32
- func (x *ListCertificatesRequest) GetOffset() uint32
- func (x *ListCertificatesRequest) GetProfile() string
- func (x *ListCertificatesRequest) GetProjectID() string
- func (x *ListCertificatesRequest) GetStatus() CertificateStatus_Enum
- func (msg *ListCertificatesRequest) MarshalJSON() ([]byte, error)
- func (*ListCertificatesRequest) ProtoMessage()
- func (x *ListCertificatesRequest) ProtoReflect() protoreflect.Message
- func (x *ListCertificatesRequest) Reset()
- func (x *ListCertificatesRequest) String() string
- func (msg *ListCertificatesRequest) UnmarshalJSON(b []byte) error
- func (m *ListCertificatesRequest) Validate(ctx context.Context) error
- type ListEventsRequest
- func (*ListEventsRequest) Descriptor() ([]byte, []int)
- func (x *ListEventsRequest) GetAfter() string
- func (x *ListEventsRequest) GetBefore() string
- func (x *ListEventsRequest) GetCursor() string
- func (x *ListEventsRequest) GetLimit() uint32
- func (x *ListEventsRequest) GetProjectID() string
- func (x *ListEventsRequest) GetType() EventType_Enum
- func (msg *ListEventsRequest) MarshalJSON() ([]byte, error)
- func (*ListEventsRequest) ProtoMessage()
- func (x *ListEventsRequest) ProtoReflect() protoreflect.Message
- func (x *ListEventsRequest) Reset()
- func (x *ListEventsRequest) String() string
- func (msg *ListEventsRequest) UnmarshalJSON(b []byte) error
- func (m *ListEventsRequest) Validate(ctx context.Context) error
- type ListIssuersRequest
- func (*ListIssuersRequest) Descriptor() ([]byte, []int)
- func (x *ListIssuersRequest) GetCursor() string
- func (x *ListIssuersRequest) GetIDs() []string
- func (x *ListIssuersRequest) GetIKIDs() []string
- func (x *ListIssuersRequest) GetLimit() uint32
- func (x *ListIssuersRequest) GetOffset() uint32
- func (x *ListIssuersRequest) GetProjectID() string
- func (x *ListIssuersRequest) GetStatus() IssuerStatus_Enum
- func (x *ListIssuersRequest) GetType() AuthorityType_Enum
- func (msg *ListIssuersRequest) MarshalJSON() ([]byte, error)
- func (*ListIssuersRequest) ProtoMessage()
- func (x *ListIssuersRequest) ProtoReflect() protoreflect.Message
- func (x *ListIssuersRequest) Reset()
- func (x *ListIssuersRequest) String() string
- func (msg *ListIssuersRequest) UnmarshalJSON(b []byte) error
- func (m *ListIssuersRequest) Validate(ctx context.Context) error
- type ListProfilesRequest
- func (*ListProfilesRequest) Descriptor() ([]byte, []int)
- func (x *ListProfilesRequest) GetCursor() string
- func (x *ListProfilesRequest) GetIDs() []string
- func (x *ListProfilesRequest) GetIssuerLabel() string
- func (x *ListProfilesRequest) GetLabels() []string
- func (x *ListProfilesRequest) GetLimit() uint32
- func (x *ListProfilesRequest) GetOffset() uint32
- func (x *ListProfilesRequest) GetProjectID() string
- func (msg *ListProfilesRequest) MarshalJSON() ([]byte, error)
- func (*ListProfilesRequest) ProtoMessage()
- func (x *ListProfilesRequest) ProtoReflect() protoreflect.Message
- func (x *ListProfilesRequest) Reset()
- func (x *ListProfilesRequest) String() string
- func (msg *ListProfilesRequest) UnmarshalJSON(b []byte) error
- func (m *ListProfilesRequest) Validate(ctx context.Context) error
- type ListProjectsRequest
- func (*ListProjectsRequest) Descriptor() ([]byte, []int)
- func (x *ListProjectsRequest) GetCursor() string
- func (x *ListProjectsRequest) GetLimit() uint32
- func (x *ListProjectsRequest) GetOffset() uint32
- func (x *ListProjectsRequest) GetStatus() ItemStatus_Enum
- func (msg *ListProjectsRequest) MarshalJSON() ([]byte, error)
- func (*ListProjectsRequest) ProtoMessage()
- func (x *ListProjectsRequest) ProtoReflect() protoreflect.Message
- func (x *ListProjectsRequest) Reset()
- func (x *ListProjectsRequest) String() string
- func (msg *ListProjectsRequest) UnmarshalJSON(b []byte) error
- func (m *ListProjectsRequest) Validate(ctx context.Context) error
- type ListRevokedCertificatesRequest
- func (*ListRevokedCertificatesRequest) Descriptor() ([]byte, []int)
- func (x *ListRevokedCertificatesRequest) GetCursor() string
- func (x *ListRevokedCertificatesRequest) GetIKID() string
- func (x *ListRevokedCertificatesRequest) GetLimit() uint32
- func (x *ListRevokedCertificatesRequest) GetOffset() uint32
- func (x *ListRevokedCertificatesRequest) GetProjectID() string
- func (msg *ListRevokedCertificatesRequest) MarshalJSON() ([]byte, error)
- func (*ListRevokedCertificatesRequest) ProtoMessage()
- func (x *ListRevokedCertificatesRequest) ProtoReflect() protoreflect.Message
- func (x *ListRevokedCertificatesRequest) Reset()
- func (x *ListRevokedCertificatesRequest) String() string
- func (msg *ListRevokedCertificatesRequest) UnmarshalJSON(b []byte) error
- func (m *ListRevokedCertificatesRequest) Validate(ctx context.Context) error
- type ListRootsRequest
- func (*ListRootsRequest) Descriptor() ([]byte, []int)
- func (x *ListRootsRequest) GetCursor() string
- func (x *ListRootsRequest) GetLimit() uint32
- func (x *ListRootsRequest) GetOffset() uint32
- func (msg *ListRootsRequest) MarshalJSON() ([]byte, error)
- func (*ListRootsRequest) ProtoMessage()
- func (x *ListRootsRequest) ProtoReflect() protoreflect.Message
- func (x *ListRootsRequest) Reset()
- func (x *ListRootsRequest) String() string
- func (msg *ListRootsRequest) UnmarshalJSON(b []byte) error
- func (m *ListRootsRequest) Validate(ctx context.Context) error
- type LoginInfo
- func (*LoginInfo) Descriptor() ([]byte, []int)
- func (x *LoginInfo) GetEmail() string
- func (x *LoginInfo) GetEmailVerified() bool
- func (x *LoginInfo) GetExternalID() string
- func (x *LoginInfo) GetID() string
- func (x *LoginInfo) GetLastLoginAt() string
- func (x *LoginInfo) GetLoginCount() uint32
- func (x *LoginInfo) GetName() string
- func (x *LoginInfo) GetProvider() IDP_Enum
- func (msg *LoginInfo) MarshalJSON() ([]byte, error)
- func (*LoginInfo) ProtoMessage()
- func (x *LoginInfo) ProtoReflect() protoreflect.Message
- func (x *LoginInfo) Reset()
- func (x *LoginInfo) String() string
- func (msg *LoginInfo) UnmarshalJSON(b []byte) error
- type MembersResponse
- func (*MembersResponse) Descriptor() ([]byte, []int)
- func (x *MembersResponse) GetInvites() []*Invite
- func (x *MembersResponse) GetMemberships() []*Membership
- func (m *MembersResponse) GetMessageDescription() *api.MessageDescription
- func (msg *MembersResponse) MarshalJSON() ([]byte, error)
- func (r *MembersResponse) Print(w io.Writer)
- func (*MembersResponse) ProtoMessage()
- func (x *MembersResponse) ProtoReflect() protoreflect.Message
- func (x *MembersResponse) Reset()
- func (x *MembersResponse) String() string
- func (msg *MembersResponse) UnmarshalJSON(b []byte) error
- type Membership
- func (*Membership) Descriptor() ([]byte, []int)
- func (x *Membership) GetCreatedAt() string
- func (x *Membership) GetEmail() string
- func (x *Membership) GetID() string
- func (m *Membership) GetMessageDescription() *api.MessageDescription
- func (x *Membership) GetName() string
- func (x *Membership) GetOrgAlias() string
- func (x *Membership) GetOrgID() string
- func (x *Membership) GetOrgName() string
- func (x *Membership) GetProjectAlias() string
- func (x *Membership) GetProjectID() string
- func (x *Membership) GetProjectName() string
- func (x *Membership) GetRole() Role_Enum
- func (x *Membership) GetScope() Scope_Enum
- func (x *Membership) GetUserID() string
- func (msg *Membership) MarshalJSON() ([]byte, error)
- func (r *Membership) Print(w io.Writer)
- func (*Membership) ProtoMessage()
- func (x *Membership) ProtoReflect() protoreflect.Message
- func (x *Membership) Reset()
- func (x *Membership) String() string
- func (msg *Membership) UnmarshalJSON(b []byte) error
- type MessageAllocator
- type MethodAccess
- func (*MethodAccess) Descriptor() ([]byte, []int)
- func (x *MethodAccess) GetAllowed() bool
- func (x *MethodAccess) GetAllowedRoles() []string
- func (x *MethodAccess) GetMethod() string
- func (x *MethodAccess) GetScopes() []string
- func (msg *MethodAccess) MarshalJSON() ([]byte, error)
- func (*MethodAccess) ProtoMessage()
- func (x *MethodAccess) ProtoReflect() protoreflect.Message
- func (x *MethodAccess) Reset()
- func (x *MethodAccess) String() string
- func (msg *MethodAccess) UnmarshalJSON(b []byte) error
- type MethodInfo
- type NextPage
- func (*NextPage) Descriptor() ([]byte, []int)
- func (x *NextPage) GetCursor() string
- func (x *NextPage) GetOffset() uint32
- func (msg *NextPage) MarshalJSON() ([]byte, error)
- func (*NextPage) ProtoMessage()
- func (x *NextPage) ProtoReflect() protoreflect.Message
- func (x *NextPage) Reset()
- func (x *NextPage) String() string
- func (msg *NextPage) UnmarshalJSON(b []byte) error
- type OCSPRequest
- func (*OCSPRequest) Descriptor() ([]byte, []int)
- func (x *OCSPRequest) GetDer() []byte
- func (msg *OCSPRequest) MarshalJSON() ([]byte, error)
- func (*OCSPRequest) ProtoMessage()
- func (x *OCSPRequest) ProtoReflect() protoreflect.Message
- func (x *OCSPRequest) Reset()
- func (x *OCSPRequest) String() string
- func (msg *OCSPRequest) UnmarshalJSON(b []byte) error
- func (m *OCSPRequest) Validate(ctx context.Context) error
- type OCSPResponse
- func (*OCSPResponse) Descriptor() ([]byte, []int)
- func (x *OCSPResponse) GetDer() []byte
- func (m *OCSPResponse) GetMessageDescription() *api.MessageDescription
- func (msg *OCSPResponse) MarshalJSON() ([]byte, error)
- func (*OCSPResponse) ProtoMessage()
- func (x *OCSPResponse) ProtoReflect() protoreflect.Message
- func (x *OCSPResponse) Reset()
- func (x *OCSPResponse) String() string
- func (msg *OCSPResponse) UnmarshalJSON(b []byte) error
- type Org
- func (*Org) Descriptor() ([]byte, []int)
- func (x *Org) GetAlias() string
- func (x *Org) GetCreatedAt() string
- func (x *Org) GetDescription() string
- func (x *Org) GetID() string
- func (m *Org) GetMessageDescription() *api.MessageDescription
- func (x *Org) GetName() string
- func (x *Org) GetStatus() ItemStatus_Enum
- func (msg *Org) MarshalJSON() ([]byte, error)
- func (r *Org) Print(w io.Writer)
- func (*Org) ProtoMessage()
- func (x *Org) ProtoReflect() protoreflect.Message
- func (x *Org) Reset()
- func (x *Org) String() string
- func (msg *Org) UnmarshalJSON(b []byte) error
- type OrgAccess
- func (*OrgAccess) Descriptor() ([]byte, []int)
- func (x *OrgAccess) GetExplicitRole() Role_Enum
- func (x *OrgAccess) GetOrgAlias() string
- func (x *OrgAccess) GetOrgID() string
- func (x *OrgAccess) GetOrgName() string
- func (x *OrgAccess) GetRole() Role_Enum
- func (x *OrgAccess) GetRoleSource() RoleSource_Enum
- func (msg *OrgAccess) MarshalJSON() ([]byte, error)
- func (*OrgAccess) ProtoMessage()
- func (x *OrgAccess) ProtoReflect() protoreflect.Message
- func (x *OrgAccess) Reset()
- func (x *OrgAccess) String() string
- func (msg *OrgAccess) UnmarshalJSON(b []byte) error
- type OrgsClient
- type OrgsResponse
- func (*OrgsResponse) Descriptor() ([]byte, []int)
- func (x *OrgsResponse) GetNextPage() *NextPage
- func (x *OrgsResponse) GetOrgs() []*Org
- func (msg *OrgsResponse) MarshalJSON() ([]byte, error)
- func (r *OrgsResponse) Print(w io.Writer)
- func (*OrgsResponse) ProtoMessage()
- func (x *OrgsResponse) ProtoReflect() protoreflect.Message
- func (x *OrgsResponse) Reset()
- func (x *OrgsResponse) String() string
- func (msg *OrgsResponse) UnmarshalJSON(b []byte) error
- type OrgsServer
- type ProfilesResponse
- func (*ProfilesResponse) Descriptor() ([]byte, []int)
- func (m *ProfilesResponse) GetMessageDescription() *api.MessageDescription
- func (x *ProfilesResponse) GetNextPage() *NextPage
- func (x *ProfilesResponse) GetProfiles() []*CertProfile
- func (msg *ProfilesResponse) MarshalJSON() ([]byte, error)
- func (r *ProfilesResponse) Print(w io.Writer)
- func (*ProfilesResponse) ProtoMessage()
- func (x *ProfilesResponse) ProtoReflect() protoreflect.Message
- func (x *ProfilesResponse) Reset()
- func (x *ProfilesResponse) String() string
- func (msg *ProfilesResponse) UnmarshalJSON(b []byte) error
- type Project
- func (*Project) Descriptor() ([]byte, []int)
- func (x *Project) GetAlias() string
- func (x *Project) GetCreatedAt() string
- func (x *Project) GetDescription() string
- func (x *Project) GetID() string
- func (m *Project) GetMessageDescription() *api.MessageDescription
- func (x *Project) GetName() string
- func (x *Project) GetOrgID() string
- func (x *Project) GetStatus() ItemStatus_Enum
- func (x *Project) GetUpdatedAt() string
- func (msg *Project) MarshalJSON() ([]byte, error)
- func (r *Project) Print(w io.Writer)
- func (*Project) ProtoMessage()
- func (x *Project) ProtoReflect() protoreflect.Message
- func (x *Project) Reset()
- func (x *Project) String() string
- func (msg *Project) UnmarshalJSON(b []byte) error
- type ProjectsResponse
- func (*ProjectsResponse) Descriptor() ([]byte, []int)
- func (m *ProjectsResponse) GetMessageDescription() *api.MessageDescription
- func (x *ProjectsResponse) GetNextPage() *NextPage
- func (x *ProjectsResponse) GetProjects() []*Project
- func (msg *ProjectsResponse) MarshalJSON() ([]byte, error)
- func (r *ProjectsResponse) Print(w io.Writer)
- func (*ProjectsResponse) ProtoMessage()
- func (x *ProjectsResponse) ProtoReflect() protoreflect.Message
- func (x *ProjectsResponse) Reset()
- func (x *ProjectsResponse) String() string
- func (msg *ProjectsResponse) UnmarshalJSON(b []byte) error
- type PublishCrlsRequest
- func (*PublishCrlsRequest) Descriptor() ([]byte, []int)
- func (x *PublishCrlsRequest) GetForce() bool
- func (x *PublishCrlsRequest) GetIKID() string
- func (x *PublishCrlsRequest) GetProjectID() string
- func (msg *PublishCrlsRequest) MarshalJSON() ([]byte, error)
- func (*PublishCrlsRequest) ProtoMessage()
- func (x *PublishCrlsRequest) ProtoReflect() protoreflect.Message
- func (x *PublishCrlsRequest) Reset()
- func (x *PublishCrlsRequest) String() string
- func (msg *PublishCrlsRequest) UnmarshalJSON(b []byte) error
- func (m *PublishCrlsRequest) Validate(ctx context.Context) error
- type ReasonCode
- func (*ReasonCode) Descriptor() ([]byte, []int)
- func (msg *ReasonCode) MarshalJSON() ([]byte, error)
- func (*ReasonCode) ProtoMessage()
- func (x *ReasonCode) ProtoReflect() protoreflect.Message
- func (x *ReasonCode) Reset()
- func (x *ReasonCode) String() string
- func (msg *ReasonCode) UnmarshalJSON(b []byte) error
- type ReasonCode_Enum
- func (s ReasonCode_Enum) Describe() map[ReasonCode_Enum]*api.EnumMeta
- func (ReasonCode_Enum) Descriptor() protoreflect.EnumDescriptor
- func (s ReasonCode_Enum) DisplayName() string
- func (s ReasonCode_Enum) DisplayNames() []string
- func (s ReasonCode_Enum) DisplayNamesMap() map[int32]string
- func (x ReasonCode_Enum) Enum() *ReasonCode_Enum
- func (ReasonCode_Enum) EnumDescriptor() ([]byte, []int)
- func (s ReasonCode_Enum) Flags() []ReasonCode_Enum
- func (s ReasonCode_Enum) FlagsInt() []int32
- func (s ReasonCode_Enum) GetDescription() *api.EnumDescription
- func (s ReasonCode_Enum) Meta() *api.EnumMeta
- func (s ReasonCode_Enum) NamesMap() map[int32]string
- func (x ReasonCode_Enum) Number() protoreflect.EnumNumber
- func (_ ReasonCode_Enum) Parse(val any) ReasonCode_Enum
- func (x ReasonCode_Enum) String() string
- func (s ReasonCode_Enum) SupportedNames() string
- func (ReasonCode_Enum) Type() protoreflect.EnumType
- func (s *ReasonCode_Enum) UnmarshalJSON(b []byte) error
- func (s *ReasonCode_Enum) UnmarshalYAML(unmarshal func(any) error) error
- func (s ReasonCode_Enum) ValueNames() []string
- func (s ReasonCode_Enum) ValueString() string
- func (s ReasonCode_Enum) ValuesMap() map[string]int32
- type ReasonCode_EnumSlice
- type RecordsResult
- func (*RecordsResult) Descriptor() ([]byte, []int)
- func (x *RecordsResult) GetCreated() int64
- func (x *RecordsResult) GetDeleted() int64
- func (m *RecordsResult) GetMessageDescription() *api.MessageDescription
- func (x *RecordsResult) GetUpdated() int64
- func (msg *RecordsResult) MarshalJSON() ([]byte, error)
- func (*RecordsResult) ProtoMessage()
- func (x *RecordsResult) ProtoReflect() protoreflect.Message
- func (x *RecordsResult) Reset()
- func (x *RecordsResult) String() string
- func (msg *RecordsResult) UnmarshalJSON(b []byte) error
- type RegisterIssuerRequest
- func (*RegisterIssuerRequest) Descriptor() ([]byte, []int)
- func (x *RegisterIssuerRequest) GetConfig() *IssuerConfig
- func (x *RegisterIssuerRequest) GetExtensions() []*X509Extension
- func (x *RegisterIssuerRequest) GetKeyProvider() string
- func (x *RegisterIssuerRequest) GetKeySpec() *KeySpec
- func (x *RegisterIssuerRequest) GetLabel() string
- func (x *RegisterIssuerRequest) GetParentID() string
- func (x *RegisterIssuerRequest) GetProfile() string
- func (x *RegisterIssuerRequest) GetProjectID() string
- func (x *RegisterIssuerRequest) GetSAN() []string
- func (x *RegisterIssuerRequest) GetSubject() *X509Subject
- func (x *RegisterIssuerRequest) GetType() AuthorityType_Enum
- func (msg *RegisterIssuerRequest) MarshalJSON() ([]byte, error)
- func (*RegisterIssuerRequest) ProtoMessage()
- func (x *RegisterIssuerRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterIssuerRequest) Reset()
- func (x *RegisterIssuerRequest) String() string
- func (msg *RegisterIssuerRequest) UnmarshalJSON(b []byte) error
- func (m *RegisterIssuerRequest) Validate(ctx context.Context) error
- type RegisterOrgRequest
- func (*RegisterOrgRequest) Descriptor() ([]byte, []int)
- func (x *RegisterOrgRequest) GetDescription() string
- func (x *RegisterOrgRequest) GetName() string
- func (msg *RegisterOrgRequest) MarshalJSON() ([]byte, error)
- func (*RegisterOrgRequest) ProtoMessage()
- func (x *RegisterOrgRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterOrgRequest) Reset()
- func (x *RegisterOrgRequest) String() string
- func (msg *RegisterOrgRequest) UnmarshalJSON(b []byte) error
- func (m *RegisterOrgRequest) Validate(ctx context.Context) error
- type RegisterProfileRequest
- func (*RegisterProfileRequest) Descriptor() ([]byte, []int)
- func (x *RegisterProfileRequest) GetProfile() *CertProfile
- func (x *RegisterProfileRequest) GetProjectID() string
- func (msg *RegisterProfileRequest) MarshalJSON() ([]byte, error)
- func (*RegisterProfileRequest) ProtoMessage()
- func (x *RegisterProfileRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterProfileRequest) Reset()
- func (x *RegisterProfileRequest) String() string
- func (msg *RegisterProfileRequest) UnmarshalJSON(b []byte) error
- func (m *RegisterProfileRequest) Validate(ctx context.Context) error
- type RegisterProjectRequest
- func (*RegisterProjectRequest) Descriptor() ([]byte, []int)
- func (x *RegisterProjectRequest) GetAlias() string
- func (x *RegisterProjectRequest) GetDescription() string
- func (x *RegisterProjectRequest) GetName() string
- func (msg *RegisterProjectRequest) MarshalJSON() ([]byte, error)
- func (*RegisterProjectRequest) ProtoMessage()
- func (x *RegisterProjectRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterProjectRequest) Reset()
- func (x *RegisterProjectRequest) String() string
- func (msg *RegisterProjectRequest) UnmarshalJSON(b []byte) error
- func (m *RegisterProjectRequest) Validate(ctx context.Context) error
- type RegisterRootRequest
- func (*RegisterRootRequest) Descriptor() ([]byte, []int)
- func (x *RegisterRootRequest) GetPem() string
- func (x *RegisterRootRequest) GetTrust() Trust_Enum
- func (msg *RegisterRootRequest) MarshalJSON() ([]byte, error)
- func (*RegisterRootRequest) ProtoMessage()
- func (x *RegisterRootRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterRootRequest) Reset()
- func (x *RegisterRootRequest) String() string
- func (msg *RegisterRootRequest) UnmarshalJSON(b []byte) error
- func (m *RegisterRootRequest) Validate(ctx context.Context) error
- type RequestAllocator
- type RevokeCertificateRequest
- func (*RevokeCertificateRequest) Descriptor() ([]byte, []int)
- func (x *RevokeCertificateRequest) GetID() string
- func (x *RevokeCertificateRequest) GetIssuerSerial() *IssuerSerial
- func (x *RevokeCertificateRequest) GetProjectID() string
- func (x *RevokeCertificateRequest) GetReason() ReasonCode_Enum
- func (x *RevokeCertificateRequest) GetReasonText() string
- func (x *RevokeCertificateRequest) GetSKID() string
- func (msg *RevokeCertificateRequest) MarshalJSON() ([]byte, error)
- func (*RevokeCertificateRequest) ProtoMessage()
- func (x *RevokeCertificateRequest) ProtoReflect() protoreflect.Message
- func (x *RevokeCertificateRequest) Reset()
- func (x *RevokeCertificateRequest) String() string
- func (msg *RevokeCertificateRequest) UnmarshalJSON(b []byte) error
- func (m *RevokeCertificateRequest) Validate(ctx context.Context) error
- type RevokedCertificate
- func (*RevokedCertificate) Descriptor() ([]byte, []int)
- func (x *RevokedCertificate) GetCertificate() *Certificate
- func (x *RevokedCertificate) GetReason() ReasonCode_Enum
- func (x *RevokedCertificate) GetReasonText() string
- func (x *RevokedCertificate) GetRevokedAt() string
- func (msg *RevokedCertificate) MarshalJSON() ([]byte, error)
- func (r *RevokedCertificate) Print(w io.Writer)
- func (*RevokedCertificate) ProtoMessage()
- func (x *RevokedCertificate) ProtoReflect() protoreflect.Message
- func (x *RevokedCertificate) Reset()
- func (x *RevokedCertificate) String() string
- func (msg *RevokedCertificate) UnmarshalJSON(b []byte) error
- type RevokedCertificateResponse
- func (*RevokedCertificateResponse) Descriptor() ([]byte, []int)
- func (m *RevokedCertificateResponse) GetMessageDescription() *api.MessageDescription
- func (x *RevokedCertificateResponse) GetRevoked() *RevokedCertificate
- func (msg *RevokedCertificateResponse) MarshalJSON() ([]byte, error)
- func (r *RevokedCertificateResponse) Print(w io.Writer)
- func (*RevokedCertificateResponse) ProtoMessage()
- func (x *RevokedCertificateResponse) ProtoReflect() protoreflect.Message
- func (x *RevokedCertificateResponse) Reset()
- func (x *RevokedCertificateResponse) String() string
- func (msg *RevokedCertificateResponse) UnmarshalJSON(b []byte) error
- type RevokedCertificatesResponse
- func (*RevokedCertificatesResponse) Descriptor() ([]byte, []int)
- func (m *RevokedCertificatesResponse) GetMessageDescription() *api.MessageDescription
- func (x *RevokedCertificatesResponse) GetNextPage() *NextPage
- func (x *RevokedCertificatesResponse) GetRevokedCertificates() []*RevokedCertificate
- func (msg *RevokedCertificatesResponse) MarshalJSON() ([]byte, error)
- func (r *RevokedCertificatesResponse) Print(w io.Writer)
- func (*RevokedCertificatesResponse) ProtoMessage()
- func (x *RevokedCertificatesResponse) ProtoReflect() protoreflect.Message
- func (x *RevokedCertificatesResponse) Reset()
- func (x *RevokedCertificatesResponse) String() string
- func (msg *RevokedCertificatesResponse) UnmarshalJSON(b []byte) error
- type Role
- type RoleSource
- func (*RoleSource) Descriptor() ([]byte, []int)
- func (msg *RoleSource) MarshalJSON() ([]byte, error)
- func (*RoleSource) ProtoMessage()
- func (x *RoleSource) ProtoReflect() protoreflect.Message
- func (x *RoleSource) Reset()
- func (x *RoleSource) String() string
- func (msg *RoleSource) UnmarshalJSON(b []byte) error
- type RoleSource_Enum
- func (s RoleSource_Enum) Describe() map[RoleSource_Enum]*api.EnumMeta
- func (RoleSource_Enum) Descriptor() protoreflect.EnumDescriptor
- func (s RoleSource_Enum) DisplayName() string
- func (s RoleSource_Enum) DisplayNames() []string
- func (s RoleSource_Enum) DisplayNamesMap() map[int32]string
- func (x RoleSource_Enum) Enum() *RoleSource_Enum
- func (RoleSource_Enum) EnumDescriptor() ([]byte, []int)
- func (s RoleSource_Enum) Flags() []RoleSource_Enum
- func (s RoleSource_Enum) FlagsInt() []int32
- func (s RoleSource_Enum) GetDescription() *api.EnumDescription
- func (s RoleSource_Enum) Meta() *api.EnumMeta
- func (s RoleSource_Enum) NamesMap() map[int32]string
- func (x RoleSource_Enum) Number() protoreflect.EnumNumber
- func (_ RoleSource_Enum) Parse(val any) RoleSource_Enum
- func (x RoleSource_Enum) String() string
- func (s RoleSource_Enum) SupportedNames() string
- func (RoleSource_Enum) Type() protoreflect.EnumType
- func (s *RoleSource_Enum) UnmarshalJSON(b []byte) error
- func (s *RoleSource_Enum) UnmarshalYAML(unmarshal func(any) error) error
- func (s RoleSource_Enum) ValueNames() []string
- func (s RoleSource_Enum) ValueString() string
- func (s RoleSource_Enum) ValuesMap() map[string]int32
- type RoleSource_EnumSlice
- type Role_Enum
- func (s Role_Enum) Describe() map[Role_Enum]*api.EnumMeta
- func (Role_Enum) Descriptor() protoreflect.EnumDescriptor
- func (s Role_Enum) DisplayName() string
- func (s Role_Enum) DisplayNames() []string
- func (s Role_Enum) DisplayNamesMap() map[int32]string
- func (x Role_Enum) Enum() *Role_Enum
- func (Role_Enum) EnumDescriptor() ([]byte, []int)
- func (s Role_Enum) Flags() []Role_Enum
- func (s Role_Enum) FlagsInt() []int32
- func (s Role_Enum) GetDescription() *api.EnumDescription
- func (s Role_Enum) Meta() *api.EnumMeta
- func (s Role_Enum) NamesMap() map[int32]string
- func (x Role_Enum) Number() protoreflect.EnumNumber
- func (_ Role_Enum) Parse(val any) Role_Enum
- func (x Role_Enum) String() string
- func (s Role_Enum) SupportedNames() string
- func (Role_Enum) Type() protoreflect.EnumType
- func (s *Role_Enum) UnmarshalJSON(b []byte) error
- func (s *Role_Enum) UnmarshalYAML(unmarshal func(any) error) error
- func (s Role_Enum) ValueNames() []string
- func (s Role_Enum) ValueString() string
- func (s Role_Enum) ValuesMap() map[string]int32
- type Role_EnumSlice
- type RootCertificate
- func (*RootCertificate) Descriptor() ([]byte, []int)
- func (x *RootCertificate) GetCreatedAt() string
- func (x *RootCertificate) GetID() string
- func (m *RootCertificate) GetMessageDescription() *api.MessageDescription
- func (x *RootCertificate) GetNotAfter() string
- func (x *RootCertificate) GetNotBefore() string
- func (x *RootCertificate) GetOrgID() string
- func (x *RootCertificate) GetPem() string
- func (x *RootCertificate) GetSKID() string
- func (x *RootCertificate) GetSha256() string
- func (x *RootCertificate) GetSubject() string
- func (x *RootCertificate) GetTrust() Trust_Enum
- func (msg *RootCertificate) MarshalJSON() ([]byte, error)
- func (r *RootCertificate) Print(w io.Writer)
- func (*RootCertificate) ProtoMessage()
- func (x *RootCertificate) ProtoReflect() protoreflect.Message
- func (x *RootCertificate) Reset()
- func (x *RootCertificate) String() string
- func (msg *RootCertificate) UnmarshalJSON(b []byte) error
- type RootsResponse
- func (*RootsResponse) Descriptor() ([]byte, []int)
- func (m *RootsResponse) GetMessageDescription() *api.MessageDescription
- func (x *RootsResponse) GetNextPage() *NextPage
- func (x *RootsResponse) GetRoots() []*RootCertificate
- func (msg *RootsResponse) MarshalJSON() ([]byte, error)
- func (r *RootsResponse) Print(w io.Writer)
- func (*RootsResponse) ProtoMessage()
- func (x *RootsResponse) ProtoReflect() protoreflect.Message
- func (x *RootsResponse) Reset()
- func (x *RootsResponse) String() string
- func (msg *RootsResponse) UnmarshalJSON(b []byte) error
- type Scope
- type Scope_Enum
- func (s Scope_Enum) Describe() map[Scope_Enum]*api.EnumMeta
- func (Scope_Enum) Descriptor() protoreflect.EnumDescriptor
- func (s Scope_Enum) DisplayName() string
- func (s Scope_Enum) DisplayNames() []string
- func (s Scope_Enum) DisplayNamesMap() map[int32]string
- func (x Scope_Enum) Enum() *Scope_Enum
- func (Scope_Enum) EnumDescriptor() ([]byte, []int)
- func (s Scope_Enum) Flags() []Scope_Enum
- func (s Scope_Enum) FlagsInt() []int32
- func (s Scope_Enum) GetDescription() *api.EnumDescription
- func (s Scope_Enum) Meta() *api.EnumMeta
- func (s Scope_Enum) NamesMap() map[int32]string
- func (x Scope_Enum) Number() protoreflect.EnumNumber
- func (_ Scope_Enum) Parse(val any) Scope_Enum
- func (x Scope_Enum) String() string
- func (s Scope_Enum) SupportedNames() string
- func (Scope_Enum) Type() protoreflect.EnumType
- func (s *Scope_Enum) UnmarshalJSON(b []byte) error
- func (s *Scope_Enum) UnmarshalYAML(unmarshal func(any) error) error
- func (s Scope_Enum) ValueNames() []string
- func (s Scope_Enum) ValueString() string
- func (s Scope_Enum) ValuesMap() map[string]int32
- type Scope_EnumSlice
- type SelectOrgRequest
- func (*SelectOrgRequest) Descriptor() ([]byte, []int)
- func (x *SelectOrgRequest) GetOrgID() string
- func (x *SelectOrgRequest) GetRememberMe() bool
- func (msg *SelectOrgRequest) MarshalJSON() ([]byte, error)
- func (*SelectOrgRequest) ProtoMessage()
- func (x *SelectOrgRequest) ProtoReflect() protoreflect.Message
- func (x *SelectOrgRequest) Reset()
- func (x *SelectOrgRequest) String() string
- func (msg *SelectOrgRequest) UnmarshalJSON(b []byte) error
- func (m *SelectOrgRequest) Validate(ctx context.Context) error
- type ServerStatus
- func (*ServerStatus) Descriptor() ([]byte, []int)
- func (x *ServerStatus) GetHostname() string
- func (x *ServerStatus) GetListenUrls() []string
- func (x *ServerStatus) GetName() string
- func (x *ServerStatus) GetNodename() string
- func (x *ServerStatus) GetStartedAt() string
- func (msg *ServerStatus) MarshalJSON() ([]byte, error)
- func (*ServerStatus) ProtoMessage()
- func (x *ServerStatus) ProtoReflect() protoreflect.Message
- func (x *ServerStatus) Reset()
- func (x *ServerStatus) String() string
- func (msg *ServerStatus) UnmarshalJSON(b []byte) error
- type ServerStatusResponse
- func (*ServerStatusResponse) Descriptor() ([]byte, []int)
- func (m *ServerStatusResponse) GetMessageDescription() *api.MessageDescription
- func (x *ServerStatusResponse) GetPods() map[string]string
- func (x *ServerStatusResponse) GetStatus() *ServerStatus
- func (x *ServerStatusResponse) GetVersion() *ServerVersion
- func (msg *ServerStatusResponse) MarshalJSON() ([]byte, error)
- func (r *ServerStatusResponse) Print(w io.Writer)
- func (*ServerStatusResponse) ProtoMessage()
- func (x *ServerStatusResponse) ProtoReflect() protoreflect.Message
- func (x *ServerStatusResponse) Reset()
- func (x *ServerStatusResponse) String() string
- func (msg *ServerStatusResponse) UnmarshalJSON(b []byte) error
- type ServerVersion
- func (*ServerVersion) Descriptor() ([]byte, []int)
- func (x *ServerVersion) GetBuild() string
- func (m *ServerVersion) GetMessageDescription() *api.MessageDescription
- func (x *ServerVersion) GetRuntime() string
- func (msg *ServerVersion) MarshalJSON() ([]byte, error)
- func (r *ServerVersion) Print(w io.Writer)
- func (*ServerVersion) ProtoMessage()
- func (x *ServerVersion) ProtoReflect() protoreflect.Message
- func (x *ServerVersion) Reset()
- func (x *ServerVersion) String() string
- func (msg *ServerVersion) UnmarshalJSON(b []byte) error
- type ServiceAccessInfo
- func (*ServiceAccessInfo) Descriptor() ([]byte, []int)
- func (x *ServiceAccessInfo) GetAllowed() []*AllowedMethods
- func (m *ServiceAccessInfo) GetMessageDescription() *api.MessageDescription
- func (msg *ServiceAccessInfo) MarshalJSON() ([]byte, error)
- func (*ServiceAccessInfo) ProtoMessage()
- func (x *ServiceAccessInfo) ProtoReflect() protoreflect.Message
- func (x *ServiceAccessInfo) Reset()
- func (x *ServiceAccessInfo) String() string
- func (msg *ServiceAccessInfo) UnmarshalJSON(b []byte) error
- type SignCertificateRequest
- func (*SignCertificateRequest) Descriptor() ([]byte, []int)
- func (x *SignCertificateRequest) GetExtensions() []*X509Extension
- func (x *SignCertificateRequest) GetIssuerLabel() string
- func (x *SignCertificateRequest) GetLabel() string
- func (x *SignCertificateRequest) GetMetadata() map[string]string
- func (x *SignCertificateRequest) GetNotAfter() string
- func (x *SignCertificateRequest) GetNotBefore() string
- func (x *SignCertificateRequest) GetProfile() string
- func (x *SignCertificateRequest) GetProjectID() string
- func (x *SignCertificateRequest) GetRequest() []byte
- func (x *SignCertificateRequest) GetRequestFormat() EncodingFormat_Enum
- func (x *SignCertificateRequest) GetSAN() []string
- func (x *SignCertificateRequest) GetSubject() *X509Subject
- func (msg *SignCertificateRequest) MarshalJSON() ([]byte, error)
- func (*SignCertificateRequest) ProtoMessage()
- func (x *SignCertificateRequest) ProtoReflect() protoreflect.Message
- func (x *SignCertificateRequest) Reset()
- func (x *SignCertificateRequest) String() string
- func (msg *SignCertificateRequest) UnmarshalJSON(b []byte) error
- func (m *SignCertificateRequest) Validate(ctx context.Context) error
- type StatusClient
- type StatusServer
- type SummaryResponse
- func (*SummaryResponse) Descriptor() ([]byte, []int)
- func (x *SummaryResponse) GetAt() string
- func (x *SummaryResponse) GetCertificates() []*CertificateStatusCount
- func (x *SummaryResponse) GetCrls() *CrlCounts
- func (x *SummaryResponse) GetExpiring() []*ExpiryBucket
- func (x *SummaryResponse) GetIssuers() []*IssuerStatusCount
- func (m *SummaryResponse) GetMessageDescription() *api.MessageDescription
- func (msg *SummaryResponse) MarshalJSON() ([]byte, error)
- func (r *SummaryResponse) Print(w io.Writer)
- func (*SummaryResponse) ProtoMessage()
- func (x *SummaryResponse) ProtoReflect() protoreflect.Message
- func (x *SummaryResponse) Reset()
- func (x *SummaryResponse) String() string
- func (msg *SummaryResponse) UnmarshalJSON(b []byte) error
- type Token
- func (*Token) Descriptor() ([]byte, []int)
- func (x *Token) GetAccessToken() string
- func (x *Token) GetAudience() string
- func (x *Token) GetExpiresAt() string
- func (x *Token) GetExpiresIn() uint32
- func (x *Token) GetIssuedAt() string
- func (x *Token) GetIssuer() string
- func (x *Token) GetJkt() string
- func (m *Token) GetMessageDescription() *api.MessageDescription
- func (x *Token) GetProvider() IDP_Enum
- func (x *Token) GetTokenType() string
- func (msg *Token) MarshalJSON() ([]byte, error)
- func (r *Token) Print(w io.Writer)
- func (*Token) ProtoMessage()
- func (x *Token) ProtoReflect() protoreflect.Message
- func (x *Token) Reset()
- func (x *Token) String() string
- func (msg *Token) UnmarshalJSON(b []byte) error
- type Trust
- type Trust_Enum
- func (s Trust_Enum) Describe() map[Trust_Enum]*api.EnumMeta
- func (Trust_Enum) Descriptor() protoreflect.EnumDescriptor
- func (s Trust_Enum) DisplayName() string
- func (s Trust_Enum) DisplayNames() []string
- func (s Trust_Enum) DisplayNamesMap() map[int32]string
- func (x Trust_Enum) Enum() *Trust_Enum
- func (Trust_Enum) EnumDescriptor() ([]byte, []int)
- func (s Trust_Enum) Flags() []Trust_Enum
- func (s Trust_Enum) FlagsInt() []int32
- func (s Trust_Enum) GetDescription() *api.EnumDescription
- func (s Trust_Enum) Meta() *api.EnumMeta
- func (s Trust_Enum) NamesMap() map[int32]string
- func (x Trust_Enum) Number() protoreflect.EnumNumber
- func (_ Trust_Enum) Parse(val any) Trust_Enum
- func (x Trust_Enum) String() string
- func (s Trust_Enum) SupportedNames() string
- func (Trust_Enum) Type() protoreflect.EnumType
- func (s *Trust_Enum) UnmarshalJSON(b []byte) error
- func (s *Trust_Enum) UnmarshalYAML(unmarshal func(any) error) error
- func (s Trust_Enum) ValueNames() []string
- func (s Trust_Enum) ValueString() string
- func (s Trust_Enum) ValuesMap() map[string]int32
- type Trust_EnumSlice
- type UnimplementedAuthServer
- func (UnimplementedAuthServer) AuthenticateAPIKey(context.Context, *emptypb.Empty) (*UserTokenResponse, error)
- func (UnimplementedAuthServer) Caller(context.Context, *emptypb.Empty) (*CallerStatusResponse, error)
- func (UnimplementedAuthServer) ExchangeCode(context.Context, *ExchangeCodeRequest) (*Token, error)
- func (UnimplementedAuthServer) GetAllowedMethods(context.Context, *emptypb.Empty) (*ServiceAccessInfo, error)
- func (UnimplementedAuthServer) GetCallerScope(context.Context, *emptypb.Empty) (*CallerScope, error)
- func (UnimplementedAuthServer) GetProviders(context.Context, *AuthProvidersRequest) (*AuthProvidersResponse, error)
- func (UnimplementedAuthServer) GetUserToken(context.Context, *emptypb.Empty) (*UserTokenResponse, error)
- func (UnimplementedAuthServer) RevokeToken(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- func (UnimplementedAuthServer) SelectOrg(context.Context, *SelectOrgRequest) (*UserTokenResponse, error)
- type UnimplementedCAServer
- func (UnimplementedCAServer) ActivateIssuer(context.Context, *ActivateIssuerRequest) (*Issuer, error)
- func (UnimplementedCAServer) DeleteProfile(context.Context, *DeleteProfileRequest) (*emptypb.Empty, error)
- func (UnimplementedCAServer) GetCRL(context.Context, *GetCrlRequest) (*CrlResponse, error)
- func (UnimplementedCAServer) GetCertificate(context.Context, *GetCertificateRequest) (*CertificateResponse, error)
- func (UnimplementedCAServer) GetIssuer(context.Context, *GetIssuerRequest) (*Issuer, error)
- func (UnimplementedCAServer) GetProfile(context.Context, *GetProfileRequest) (*CertProfile, error)
- func (UnimplementedCAServer) GetSummary(context.Context, *GetSummaryRequest) (*SummaryResponse, error)
- func (UnimplementedCAServer) ImportIssuer(context.Context, *ImportIssuerRequest) (*Issuer, error)
- func (UnimplementedCAServer) ListCertificates(context.Context, *ListCertificatesRequest) (*CertificatesResponse, error)
- func (UnimplementedCAServer) ListIssuers(context.Context, *ListIssuersRequest) (*IssuersResponse, error)
- func (UnimplementedCAServer) ListProfiles(context.Context, *ListProfilesRequest) (*ProfilesResponse, error)
- func (UnimplementedCAServer) ListRevokedCertificates(context.Context, *ListRevokedCertificatesRequest) (*RevokedCertificatesResponse, error)
- func (UnimplementedCAServer) ListRoots(context.Context, *ListRootsRequest) (*RootsResponse, error)
- func (UnimplementedCAServer) PublishCrls(context.Context, *PublishCrlsRequest) (*CrlsResponse, error)
- func (UnimplementedCAServer) RegisterIssuer(context.Context, *RegisterIssuerRequest) (*Issuer, error)
- func (UnimplementedCAServer) RegisterProfile(context.Context, *RegisterProfileRequest) (*CertProfile, error)
- func (UnimplementedCAServer) RegisterRoot(context.Context, *RegisterRootRequest) (*RootCertificate, error)
- func (UnimplementedCAServer) RevokeCertificate(context.Context, *RevokeCertificateRequest) (*RevokedCertificateResponse, error)
- func (UnimplementedCAServer) SignCertificate(context.Context, *SignCertificateRequest) (*CertificateResponse, error)
- func (UnimplementedCAServer) SignOCSP(context.Context, *OCSPRequest) (*OCSPResponse, error)
- func (UnimplementedCAServer) UpdateCertificateLabel(context.Context, *UpdateCertificateLabelRequest) (*CertificateResponse, error)
- func (UnimplementedCAServer) UpdateIssuer(context.Context, *UpdateIssuerRequest) (*Issuer, error)
- type UnimplementedCISServer
- func (UnimplementedCISServer) GetCRL(context.Context, *GetCrlRequest) (*CrlResponse, error)
- func (UnimplementedCISServer) GetCertificate(context.Context, *GetCertificateInfoRequest) (*CertificateResponse, error)
- func (UnimplementedCISServer) GetCertificateStatus(context.Context, *GetCertificateInfoRequest) (*CertificateStatusResponse, error)
- func (UnimplementedCISServer) GetIssuer(context.Context, *GetIssuerInfoRequest) (*IssuerInfo, error)
- func (UnimplementedCISServer) GetRoots(context.Context, *GetRootsRequest) (*RootsResponse, error)
- type UnimplementedOrgsServer
- func (UnimplementedOrgsServer) AddMember(context.Context, *AddMemberRequest) (*AddMemberResponse, error)
- func (UnimplementedOrgsServer) ChangeMemberRole(context.Context, *ChangeMemberRoleRequest) (*Membership, error)
- func (UnimplementedOrgsServer) CreateAPIKey(context.Context, *CreateAPIKeyRequest) (*APIKey, error)
- func (UnimplementedOrgsServer) DeleteAPIKey(context.Context, *APIKeyRequest) (*RecordsResult, error)
- func (UnimplementedOrgsServer) DeleteInvite(context.Context, *DeleteInviteRequest) (*emptypb.Empty, error)
- func (UnimplementedOrgsServer) DeleteMember(context.Context, *DeleteMemberRequest) (*emptypb.Empty, error)
- func (UnimplementedOrgsServer) DeleteOrg(context.Context, *emptypb.Empty) (*Org, error)
- func (UnimplementedOrgsServer) DeleteProject(context.Context, *DeleteProjectRequest) (*Project, error)
- func (UnimplementedOrgsServer) GetMembers(context.Context, *GetMembersRequest) (*MembersResponse, error)
- func (UnimplementedOrgsServer) GetOrg(context.Context, *emptypb.Empty) (*Org, error)
- func (UnimplementedOrgsServer) GetProject(context.Context, *GetProjectRequest) (*Project, error)
- func (UnimplementedOrgsServer) GetUserMemberships(context.Context, *emptypb.Empty) (*UserMemberships, error)
- func (UnimplementedOrgsServer) GetUserOrgs(context.Context, *emptypb.Empty) (*UserOrgsResponse, error)
- func (UnimplementedOrgsServer) ListAPIKeys(context.Context, *ListAPIKeysRequest) (*APIKeysResponse, error)
- func (UnimplementedOrgsServer) ListEvents(context.Context, *ListEventsRequest) (*EventsResponse, error)
- func (UnimplementedOrgsServer) ListProjects(context.Context, *ListProjectsRequest) (*ProjectsResponse, error)
- func (UnimplementedOrgsServer) RegisterOrg(context.Context, *RegisterOrgRequest) (*Org, error)
- func (UnimplementedOrgsServer) RegisterProject(context.Context, *RegisterProjectRequest) (*Project, error)
- func (UnimplementedOrgsServer) UpdateOrg(context.Context, *UpdateOrgRequest) (*Org, error)
- func (UnimplementedOrgsServer) UpdateProject(context.Context, *UpdateProjectRequest) (*Project, error)
- type UnimplementedStatusServer
- type UnsafeAuthServer
- type UnsafeCAServer
- type UnsafeCISServer
- type UnsafeOrgsServer
- type UnsafeStatusServer
- type UpdateCertificateLabelRequest
- func (*UpdateCertificateLabelRequest) Descriptor() ([]byte, []int)
- func (x *UpdateCertificateLabelRequest) GetID() string
- func (x *UpdateCertificateLabelRequest) GetLabel() string
- func (x *UpdateCertificateLabelRequest) GetMetadata() map[string]string
- func (x *UpdateCertificateLabelRequest) GetProjectID() string
- func (msg *UpdateCertificateLabelRequest) MarshalJSON() ([]byte, error)
- func (*UpdateCertificateLabelRequest) ProtoMessage()
- func (x *UpdateCertificateLabelRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateCertificateLabelRequest) Reset()
- func (x *UpdateCertificateLabelRequest) String() string
- func (msg *UpdateCertificateLabelRequest) UnmarshalJSON(b []byte) error
- func (m *UpdateCertificateLabelRequest) Validate(ctx context.Context) error
- type UpdateIssuerRequest
- func (*UpdateIssuerRequest) Descriptor() ([]byte, []int)
- func (x *UpdateIssuerRequest) GetConfig() *IssuerConfig
- func (x *UpdateIssuerRequest) GetID() string
- func (x *UpdateIssuerRequest) GetProjectID() string
- func (x *UpdateIssuerRequest) GetStatus() IssuerStatus_Enum
- func (msg *UpdateIssuerRequest) MarshalJSON() ([]byte, error)
- func (*UpdateIssuerRequest) ProtoMessage()
- func (x *UpdateIssuerRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateIssuerRequest) Reset()
- func (x *UpdateIssuerRequest) String() string
- func (msg *UpdateIssuerRequest) UnmarshalJSON(b []byte) error
- func (m *UpdateIssuerRequest) Validate(ctx context.Context) error
- type UpdateOrgRequest
- func (*UpdateOrgRequest) Descriptor() ([]byte, []int)
- func (x *UpdateOrgRequest) GetDescription() string
- func (x *UpdateOrgRequest) GetName() string
- func (msg *UpdateOrgRequest) MarshalJSON() ([]byte, error)
- func (*UpdateOrgRequest) ProtoMessage()
- func (x *UpdateOrgRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateOrgRequest) Reset()
- func (x *UpdateOrgRequest) String() string
- func (msg *UpdateOrgRequest) UnmarshalJSON(b []byte) error
- func (m *UpdateOrgRequest) Validate(ctx context.Context) error
- type UpdateProjectRequest
- func (*UpdateProjectRequest) Descriptor() ([]byte, []int)
- func (x *UpdateProjectRequest) GetDescription() string
- func (x *UpdateProjectRequest) GetName() string
- func (x *UpdateProjectRequest) GetProjectID() string
- func (msg *UpdateProjectRequest) MarshalJSON() ([]byte, error)
- func (*UpdateProjectRequest) ProtoMessage()
- func (x *UpdateProjectRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateProjectRequest) Reset()
- func (x *UpdateProjectRequest) String() string
- func (msg *UpdateProjectRequest) UnmarshalJSON(b []byte) error
- func (m *UpdateProjectRequest) Validate(ctx context.Context) error
- type UserInfo
- func (*UserInfo) Descriptor() ([]byte, []int)
- func (x *UserInfo) GetEmail() string
- func (x *UserInfo) GetEmailVerified() bool
- func (x *UserInfo) GetID() string
- func (x *UserInfo) GetName() string
- func (x *UserInfo) GetOrgID() string
- func (x *UserInfo) GetOrgRole() string
- func (x *UserInfo) GetOrgRoleSource() string
- func (x *UserInfo) GetOrgs() map[string]string
- func (x *UserInfo) GetRole() string
- func (msg *UserInfo) MarshalJSON() ([]byte, error)
- func (r *UserInfo) Print(w io.Writer)
- func (*UserInfo) ProtoMessage()
- func (x *UserInfo) ProtoReflect() protoreflect.Message
- func (x *UserInfo) Reset()
- func (x *UserInfo) String() string
- func (msg *UserInfo) UnmarshalJSON(b []byte) error
- type UserMemberships
- func (*UserMemberships) Descriptor() ([]byte, []int)
- func (x *UserMemberships) GetMemberships() []*Membership
- func (m *UserMemberships) GetMessageDescription() *api.MessageDescription
- func (x *UserMemberships) GetOrg() *OrgAccess
- func (msg *UserMemberships) MarshalJSON() ([]byte, error)
- func (r *UserMemberships) Print(w io.Writer)
- func (*UserMemberships) ProtoMessage()
- func (x *UserMemberships) ProtoReflect() protoreflect.Message
- func (x *UserMemberships) Reset()
- func (x *UserMemberships) String() string
- func (msg *UserMemberships) UnmarshalJSON(b []byte) error
- type UserOrgsResponse
- func (*UserOrgsResponse) Descriptor() ([]byte, []int)
- func (m *UserOrgsResponse) GetMessageDescription() *api.MessageDescription
- func (x *UserOrgsResponse) GetOrgs() []*OrgAccess
- func (msg *UserOrgsResponse) MarshalJSON() ([]byte, error)
- func (r *UserOrgsResponse) Print(w io.Writer)
- func (*UserOrgsResponse) ProtoMessage()
- func (x *UserOrgsResponse) ProtoReflect() protoreflect.Message
- func (x *UserOrgsResponse) Reset()
- func (x *UserOrgsResponse) String() string
- func (msg *UserOrgsResponse) UnmarshalJSON(b []byte) error
- type UserTokenResponse
- func (*UserTokenResponse) Descriptor() ([]byte, []int)
- func (m *UserTokenResponse) GetMessageDescription() *api.MessageDescription
- func (x *UserTokenResponse) GetToken() *Token
- func (x *UserTokenResponse) GetUserInfo() *UserInfo
- func (msg *UserTokenResponse) MarshalJSON() ([]byte, error)
- func (r *UserTokenResponse) Print(w io.Writer)
- func (*UserTokenResponse) ProtoMessage()
- func (x *UserTokenResponse) ProtoReflect() protoreflect.Message
- func (x *UserTokenResponse) Reset()
- func (x *UserTokenResponse) String() string
- func (msg *UserTokenResponse) UnmarshalJSON(b []byte) error
- type X509Extension
- func (*X509Extension) Descriptor() ([]byte, []int)
- func (x *X509Extension) GetCritical() bool
- func (x *X509Extension) GetID() string
- func (x *X509Extension) GetValue() string
- func (msg *X509Extension) MarshalJSON() ([]byte, error)
- func (*X509Extension) ProtoMessage()
- func (x *X509Extension) ProtoReflect() protoreflect.Message
- func (x *X509Extension) Reset()
- func (x *X509Extension) String() string
- func (msg *X509Extension) UnmarshalJSON(b []byte) error
- type X509Name
- func (*X509Name) Descriptor() ([]byte, []int)
- func (x *X509Name) GetCountry() string
- func (x *X509Name) GetLocality() string
- func (x *X509Name) GetOrganisation() string
- func (x *X509Name) GetOrganisationalUnit() string
- func (x *X509Name) GetSerialNumber() string
- func (x *X509Name) GetState() string
- func (msg *X509Name) MarshalJSON() ([]byte, error)
- func (*X509Name) ProtoMessage()
- func (x *X509Name) ProtoReflect() protoreflect.Message
- func (x *X509Name) Reset()
- func (x *X509Name) String() string
- func (msg *X509Name) UnmarshalJSON(b []byte) error
- type X509Subject
- func (*X509Subject) Descriptor() ([]byte, []int)
- func (x *X509Subject) GetCommonName() string
- func (x *X509Subject) GetNames() []*X509Name
- func (x *X509Subject) GetSerialNumber() string
- func (msg *X509Subject) MarshalJSON() ([]byte, error)
- func (*X509Subject) ProtoMessage()
- func (x *X509Subject) ProtoReflect() protoreflect.Message
- func (x *X509Subject) Reset()
- func (x *X509Subject) String() string
- func (msg *X509Subject) UnmarshalJSON(b []byte) error
Constants
const (
Auth_GetProviders_FullMethodName = "/pb.Auth/GetProviders"
Auth_GetUserToken_FullMethodName = "/pb.Auth/GetUserToken"
Auth_RevokeToken_FullMethodName = "/pb.Auth/RevokeToken"
Auth_Caller_FullMethodName = "/pb.Auth/Caller"
Auth_ExchangeCode_FullMethodName = "/pb.Auth/ExchangeCode"
Auth_SelectOrg_FullMethodName = "/pb.Auth/SelectOrg"
Auth_AuthenticateAPIKey_FullMethodName = "/pb.Auth/AuthenticateAPIKey"
Auth_GetAllowedMethods_FullMethodName = "/pb.Auth/GetAllowedMethods"
Auth_GetCallerScope_FullMethodName = "/pb.Auth/GetCallerScope"
)
const (
CA_RegisterIssuer_FullMethodName = "/pb.CA/RegisterIssuer"
CA_UpdateIssuer_FullMethodName = "/pb.CA/UpdateIssuer"
CA_ImportIssuer_FullMethodName = "/pb.CA/ImportIssuer"
CA_ActivateIssuer_FullMethodName = "/pb.CA/ActivateIssuer"
CA_GetIssuer_FullMethodName = "/pb.CA/GetIssuer"
CA_ListIssuers_FullMethodName = "/pb.CA/ListIssuers"
CA_RegisterRoot_FullMethodName = "/pb.CA/RegisterRoot"
CA_ListRoots_FullMethodName = "/pb.CA/ListRoots"
CA_RegisterProfile_FullMethodName = "/pb.CA/RegisterProfile"
CA_GetProfile_FullMethodName = "/pb.CA/GetProfile"
CA_ListProfiles_FullMethodName = "/pb.CA/ListProfiles"
CA_DeleteProfile_FullMethodName = "/pb.CA/DeleteProfile"
CA_SignCertificate_FullMethodName = "/pb.CA/SignCertificate"
CA_GetCertificate_FullMethodName = "/pb.CA/GetCertificate"
CA_ListCertificates_FullMethodName = "/pb.CA/ListCertificates"
CA_UpdateCertificateLabel_FullMethodName = "/pb.CA/UpdateCertificateLabel"
CA_RevokeCertificate_FullMethodName = "/pb.CA/RevokeCertificate"
CA_ListRevokedCertificates_FullMethodName = "/pb.CA/ListRevokedCertificates"
CA_GetCRL_FullMethodName = "/pb.CA/GetCRL"
CA_PublishCrls_FullMethodName = "/pb.CA/PublishCrls"
CA_SignOCSP_FullMethodName = "/pb.CA/SignOCSP"
CA_GetSummary_FullMethodName = "/pb.CA/GetSummary"
)
const (
CIS_GetRoots_FullMethodName = "/pb.CIS/GetRoots"
CIS_GetIssuer_FullMethodName = "/pb.CIS/GetIssuer"
CIS_GetCertificate_FullMethodName = "/pb.CIS/GetCertificate"
CIS_GetCertificateStatus_FullMethodName = "/pb.CIS/GetCertificateStatus"
CIS_GetCRL_FullMethodName = "/pb.CIS/GetCRL"
)
const (
Display_AuthorityType_Unknown = "Unknown"
Display_AuthorityType_Root = "Root"
Display_AuthorityType_Intermediate = "Intermediate"
Display_AuthorityType_Issuing = "Issuing"
Display_AuthorityType_Shaken = "Shaken"
Display_AuthorityType_ShakenDelegated = "Shaken Delegated"
Display_CertificateStatus_Unknown = "Unknown"
Display_CertificateStatus_Active = "Active"
Display_CertificateStatus_Expired = "Expired"
Display_CertificateStatus_Revoked = "Revoked"
Display_EncodingFormat_PEM = "PEM"
Display_EncodingFormat_DER = "DER"
Display_EncodingFormat_PKCS7 = "PKCS7"
Display_EventType_Unknown = "Unknown"
Display_EventType_OrgCreated = "Org Created"
Display_EventType_OrgUpdated = "Org Updated"
Display_EventType_OrgDeleted = "Org Deleted"
Display_EventType_OrgMemberAdded = "Org Member Added"
Display_EventType_OrgMemberRemoved = "Org Member Removed"
Display_EventType_OrgMemberRoleChanged = "Org Member Role Changed"
Display_EventType_OrgMemberInvited = "Org Member Invited"
Display_EventType_OrgMemberAccepted = "Org Member Accepted"
Display_EventType_ProjectCreated = "Project Created"
Display_EventType_ProjectUpdated = "Project Updated"
Display_EventType_ProjectDeleted = "Project Deleted"
Display_EventType_ProjectMemberAdded = "Project Member Added"
Display_EventType_ProjectMemberRemoved = "Project Member Removed"
Display_EventType_ProjectMemberRoleChanged = "Project Member Role Changed"
Display_EventType_ProjectMemberInvited = "Project Member Invited"
Display_EventType_ProjectMemberAccepted = "Project Member Accepted"
Display_EventType_UserSignup = "User Signup"
Display_EventType_UserSignedOut = "User Signed Out"
Display_EventType_UserSignedIn = "User Signed In"
Display_EventType_UserDisabled = "User Disabled"
Display_EventType_UserEnabled = "User Enabled"
Display_EventType_TokenRevoked = "Token Revoked"
Display_EventType_APIKeyCreated = "API Key Created"
Display_EventType_APIKeyDeleted = "API Key Deleted"
Display_EventType_APIKeyLogin = "API Key Login"
Display_EventType_OrganizationDisabled = "Organization Disabled"
Display_EventType_OrganizationEnabled = "Organization Enabled"
Display_EventType_IssuerRegistered = "Issuer Registered"
Display_EventType_IssuerActivated = "Issuer Activated"
Display_EventType_IssuerUpdated = "Issuer Updated"
Display_EventType_ProfileRegistered = "Profile Registered"
Display_EventType_ProfileDeleted = "Profile Deleted"
Display_EventType_CertificateIssued = "Certificate Issued"
Display_EventType_CertificateRevoked = "Certificate Revoked"
Display_EventType_CrlPublished = "Crl Published"
Display_EventType_RootRegistered = "Root Registered"
Display_IDP_Undefined = "undefined"
Display_IDP_Google = "google"
Display_IDP_Github = "github"
Display_IDP_Gitlab = "gitlab"
Display_IDP_Local = "local"
Display_IssuerStatus_Unknown = "Unknown"
Display_IssuerStatus_Pending = "Pending"
Display_IssuerStatus_Active = "Active"
Display_IssuerStatus_Archived = "Archived"
Display_IssuerStatus_Destroyed = "Destroyed"
Display_ItemStatus_Unknown = "Unknown"
Display_ItemStatus_Inactive = "Inactive"
Display_ItemStatus_Active = "Active"
Display_ItemStatus_Invalid = "Invalid"
Display_ReasonCode_Unspecified = "Unspecified"
Display_ReasonCode_KeyCompromise = "Key Compromise"
Display_ReasonCode_CACompromise = "CA Compromise"
Display_ReasonCode_AffiliationChanged = "Affiliation Changed"
Display_ReasonCode_Superseded = "Superseded"
Display_ReasonCode_CessationOfOperation = "Cessation of Operation"
Display_ReasonCode_CertificateHold = "Certificate Hold"
Display_ReasonCode_RemoveFromCRL = "Remove From CRL"
Display_ReasonCode_PrivilegeWithdrawn = "Privilege Withdrawn"
Display_ReasonCode_AACompromise = "AA Compromise"
Display_Role_None = "None"
Display_Role_APIKey = "API Key"
Display_Role_Viewer = "Viewer"
Display_Role_User = "User"
Display_Role_Support = "Support"
Display_Role_Billing = "Billing"
Display_Role_Security = "Security"
Display_Role_Admin = "Admin"
Display_Role_Owner = "Owner"
Display_RoleSource_Unknown = "Unknown"
Display_RoleSource_Direct = "Direct"
Display_RoleSource_Project = "Project"
Display_Scope_Undefined = "Undefined"
Display_Scope_Org = "Org"
Display_Scope_Project = "Project"
Display_Trust_Any = "Any"
Display_Trust_Public = "Public"
Display_Trust_Private = "Private"
)
const (
Orgs_RegisterOrg_FullMethodName = "/pb.Orgs/RegisterOrg"
Orgs_GetOrg_FullMethodName = "/pb.Orgs/GetOrg"
Orgs_UpdateOrg_FullMethodName = "/pb.Orgs/UpdateOrg"
Orgs_DeleteOrg_FullMethodName = "/pb.Orgs/DeleteOrg"
Orgs_GetUserOrgs_FullMethodName = "/pb.Orgs/GetUserOrgs"
Orgs_GetUserMemberships_FullMethodName = "/pb.Orgs/GetUserMemberships"
Orgs_GetMembers_FullMethodName = "/pb.Orgs/GetMembers"
Orgs_AddMember_FullMethodName = "/pb.Orgs/AddMember"
Orgs_ChangeMemberRole_FullMethodName = "/pb.Orgs/ChangeMemberRole"
Orgs_DeleteMember_FullMethodName = "/pb.Orgs/DeleteMember"
Orgs_DeleteInvite_FullMethodName = "/pb.Orgs/DeleteInvite"
Orgs_RegisterProject_FullMethodName = "/pb.Orgs/RegisterProject"
Orgs_UpdateProject_FullMethodName = "/pb.Orgs/UpdateProject"
Orgs_GetProject_FullMethodName = "/pb.Orgs/GetProject"
Orgs_ListProjects_FullMethodName = "/pb.Orgs/ListProjects"
Orgs_DeleteProject_FullMethodName = "/pb.Orgs/DeleteProject"
Orgs_ListEvents_FullMethodName = "/pb.Orgs/ListEvents"
Orgs_CreateAPIKey_FullMethodName = "/pb.Orgs/CreateAPIKey"
Orgs_ListAPIKeys_FullMethodName = "/pb.Orgs/ListAPIKeys"
Orgs_DeleteAPIKey_FullMethodName = "/pb.Orgs/DeleteAPIKey"
)
const (
// PathForStatus is base path for the Status service
PathForStatus = "/v1/status"
// PathForStatusVersion returns ServerVersion,
// that proviodes the version of the installed package.
//
// Verbs: GET
// Response: v1.ServerVersion
PathForStatusVersion = "/v1/status/version"
// PathForStatusServer returns ServerStatusResponse.
//
// Verbs: GET
// Response: v1.ServerStatusResponse
PathForStatusServer = "/v1/status/server"
// PathForStatusNode returns `ALIVE` if the server is ready to server,
// or 503 Service Unavailable otherwise.
// This end-point can be used with Load Balancers
//
// Verbs: GET
// Response: string
// Content-Type: text/plain
PathForStatusNode = "/v1/status/node"
// PathForSwagger returns swagger file.
//
// Verbs: GET
// Response: JSON
PathForSwagger = "/v1/swagger/:service"
)
const (
// PathForAuth provides the base path for auth service
PathForAuth = "/pb.Auth/:actions"
// PathForAuthProviders provides list of supported providers
PathForAuthProviders = "/v1/auth/providers"
// PathForAuthCallback is auth callback for OAuth flow
PathForAuthCallback = "/v1/auth/callback"
// PathForAuthorize starts authorization flow
//
// Verbs: GET
// Response: 303
PathForAuthorize = "/v1/auth/authorize"
// PathForAuthOrg selects the org of the session, as Auth.SelectOrg does,
// and writes the new token into the auth cookie of a cookie session
//
// Verbs: POST
// Request: SelectOrgRequest
// Response: UserTokenResponse
PathForAuthOrg = "/v1/auth/org"
// PathForAuthUserinfo returns UserInfo for the caller
// Verbs: GET
// Response: JWT token or JSON encoded claims
PathForAuthUserinfo = "/v1/auth/userinfo"
// PathForAuthUserToken returns Token and UserInfo
// Verbs: GET
// Response: UserTokenResponse
PathForAuthUserToken = "/v1/auth/usertoken"
// PathForStatusCaller returns CallerStatusResponse.
//
// Verbs: GET
// Response: v1.CallerStatusResponse
PathForStatusCaller = "/v1/auth/caller"
// PathForRemoveCookie returns NoContent status.
//
// Verbs: DELETE
// Response: 204
PathForRemoveCookie = "/v1/auth/removecookie"
)
AIA service API: the binary endpoints the issued certificates reference (the AIA and CDP extensions), served by the aia service over plain HTTP to any caller:
GET /v1/cert/{ikid} application/pkix-cert issuer certificate
GET /v1/crl/{ikid} application/pkix-crl current CRL (DER)
GET /v1/ocspi/{ikid}/{req} application/ocsp-response (request in the path)
POST /v1/ocspi/{ikid} application/ocsp-response (issuer by KID)
POST /v1/ocsp application/ocsp-response
GET /v1/ocsp/{req} application/ocsp-response (request body in GET)
The issuer and CRL paths are the AIA and CDP templates of the issuers (`issuer_url`, `crl_url`): a renamed path leaves the URLs embedded in the issued certificates without a route.
const (
// PathForCert provides the issuer certificate by IKID
//
// Verbs: GET
// Content-Type: application/pkix-cert
// Response: CertificateResponse
PathForCert = "/v1/cert/:ikid"
// PathForCRL provides the current CRL by IKID
//
// Verbs: GET
// Content-Type: application/pkix-crl
// Response: CrlResponse
PathForCRL = "/v1/crl/:ikid"
// PathForOCSP provides the OCSP response by issuer KID
//
// Verbs: POST
// Content-Type: application/ocsp-response
// Response: OCSPResponse
PathForOCSP = "/v1/ocsp"
// PathForGetOCSPByBody provides the OCSP response by the request body in
// GET (RFC 6960 A.1): the URL-encoded base64 of the DER request, which
// contains '/' and '+'. Go decodes the path before routing, so the body
// is a catch-all segment, with a leading slash the handler strips.
//
// Verbs: GET
// Content-Type: application/ocsp-response
// Response: OCSPResponse
PathForGetOCSPByBody = "/v1/ocsp/*body"
// PathForGetOCSP provides the OCSP response by IKID and request: the
// URL-encoded base64 of the DER request is a catch-all segment, as in
// PathForGetOCSPByBody
//
// Verbs: GET
// Content-Type: application/ocsp-response
// Response: OCSPResponse
PathForGetOCSP = "/v1/ocspi/:ikid/*body"
// PathForOCSPByIssuerID provides the OCSP response by IKID
//
// Verbs: POST
// Content-Type: application/ocsp-response
// Response: OCSPResponse
PathForOCSPByIssuerID = "/v1/ocspi/:ikid"
)
const (
OAuthResponseTypeIDToken = "id_token"
OAuthResponseTypeCode = "code"
OAuthResponseTypeToken = "token"
OAuthResponseTypeCookie = "cookie"
)
The error of a failed authorization (RFC 6749 section 4.1.2.1): the callback answers a login that fails after its state is decoded on the redirect URI of the client, with the code in OAuthParamError and the reason in OAuthParamErrorDescription; an IdP answers the callback the same way.
const (
OAuthParamError = "error"
OAuthParamErrorDescription = "error_description"
OAuthErrorInvalidRequest = "invalid_request"
OAuthErrorUnauthorizedClient = "unauthorized_client"
OAuthErrorAccessDenied = "access_denied"
OAuthErrorUnsupportedResponseType = "unsupported_response_type"
OAuthErrorInvalidScope = "invalid_scope"
OAuthErrorServerError = "server_error"
OAuthErrorTemporarilyUnavailable = "temporarily_unavailable"
)
Web pages served by the ui service. These are plain HTML test pages, not API end-points.
const (
// PathForLoginPage renders the login page that lists the ID providers
// and starts the OAuth flow via PathForAuthorize.
//
// Verbs: GET
// Response: text/html
PathForLoginPage = "/login"
// PathForAuthenticatedPage is the default redirect target
// after a successful login from PathForLoginPage.
//
// Verbs: GET
// Response: text/html
PathForAuthenticatedPage = "/authenticated"
)
const (
Status_Version_FullMethodName = "/pb.Status/Version"
Status_Server_FullMethodName = "/pb.Status/Server"
)
const AuthorityType_Enum_SupportedNamesHelp = "Unknown,Root,Intermediate,Issuing,Shaken,ShakenDelegated"
const CertificateStatus_Enum_SupportedNamesHelp = "Unknown,Active,Expired,Revoked"
const EncodingFormat_Enum_SupportedNamesHelp = "PEM,DER,PKCS7"
const EventType_Enum_SupportedNamesHelp = "Unknown,OrgCreated,OrgUpdated,OrgDeleted,OrgMemberAdded,OrgMemberRemoved,OrgMemberRoleChanged,OrgMemberInvited,OrgMemberAccepted,ProjectCreated,ProjectUpdated,ProjectDeleted,ProjectMemberAdded,ProjectMemberRemoved,ProjectMemberRoleChanged,ProjectMemberInvited,ProjectMemberAccepted,UserSignup,UserSignedOut,UserSignedIn,UserDisabled,UserEnabled,TokenRevoked,APIKeyCreated,APIKeyDeleted,APIKeyLogin,OrganizationDisabled,OrganizationEnabled,IssuerRegistered,IssuerActivated,IssuerUpdated,ProfileRegistered,ProfileDeleted,CertificateIssued,CertificateRevoked,CrlPublished,RootRegistered"
const IDP_Enum_SupportedNamesHelp = "Undefined,Google,Github,Gitlab,Local"
const IssuerStatus_Enum_SupportedNamesHelp = "Unknown,Pending,Active,Archived,Destroyed"
const ItemStatus_Enum_SupportedNamesHelp = "Unknown,Inactive,Active,Invalid"
CIS service API: the JSON API of the Certificate Information Service, served by the wfe listener to authenticated callers
const (
// PathForCIS provides the base path of the JSON API of the CIS service
//
// Verbs: POST
PathForCIS = "/pb.CIS/:action"
)
const (
// PathForWebhooks provides the base path for webhooks
PathForWebhooks = "/v1/webhooks/:actions"
)
const ReasonCode_Enum_SupportedNamesHelp = "Unspecified,KeyCompromise,CACompromise,AffiliationChanged,Superseded,CessationOfOperation,CertificateHold,RemoveFromCRL,PrivilegeWithdrawn,AACompromise"
const RoleSource_Enum_SupportedNamesHelp = "Unknown,Direct,Project"
const Role_Enum_SupportedNamesHelp = "None,APIKey,Viewer,User,Support,Billing,Security,Admin,Owner"
const Scope_Enum_SupportedNamesHelp = "Undefined,Org,Project"
const Trust_Enum_SupportedNamesHelp = "Any,Public,Private"
Variables
var (
IDP_Enum_name = map[int32]string{
0: "Undefined",
1: "Google",
2: "Github",
3: "Gitlab",
1000: "Local",
}
IDP_Enum_value = map[string]int32{
"Undefined": 0,
"Google": 1,
"Github": 2,
"Gitlab": 3,
"Local": 1000,
}
)
Enum value maps for Role_Enum.
var (
Role_Enum_name = map[int32]string{
0: "None",
1: "APIKey",
2: "Viewer",
3: "User",
4: "Support",
5: "Billing",
6: "Security",
7: "Admin",
8: "Owner",
}
Role_Enum_value = map[string]int32{
"None": 0,
"APIKey": 1,
"Viewer": 2,
"User": 3,
"Support": 4,
"Billing": 5,
"Security": 6,
"Admin": 7,
"Owner": 8,
}
)
Enum value maps for RoleSource_Enum.
var (
RoleSource_Enum_name = map[int32]string{
0: "Unknown",
1: "Direct",
2: "Project",
}
RoleSource_Enum_value = map[string]int32{
"Unknown": 0,
"Direct": 1,
"Project": 2,
}
)
Enum value maps for Trust_Enum.
var (
Trust_Enum_name = map[int32]string{
0: "Any",
1: "Public",
2: "Private",
}
Trust_Enum_value = map[string]int32{
"Any": 0,
"Public": 1,
"Private": 2,
}
)
Enum value maps for EncodingFormat_Enum.
var (
EncodingFormat_Enum_name = map[int32]string{
0: "PEM",
1: "DER",
2: "PKCS7",
}
EncodingFormat_Enum_value = map[string]int32{
"PEM": 0,
"DER": 1,
"PKCS7": 2,
}
)
Enum value maps for ReasonCode_Enum.
var (
ReasonCode_Enum_name = map[int32]string{
0: "Unspecified",
1: "KeyCompromise",
2: "CACompromise",
3: "AffiliationChanged",
4: "Superseded",
5: "CessationOfOperation",
6: "CertificateHold",
8: "RemoveFromCRL",
9: "PrivilegeWithdrawn",
10: "AACompromise",
}
ReasonCode_Enum_value = map[string]int32{
"Unspecified": 0,
"KeyCompromise": 1,
"CACompromise": 2,
"AffiliationChanged": 3,
"Superseded": 4,
"CessationOfOperation": 5,
"CertificateHold": 6,
"RemoveFromCRL": 8,
"PrivilegeWithdrawn": 9,
"AACompromise": 10,
}
)
Enum value maps for CertificateStatus_Enum.
var (
CertificateStatus_Enum_name = map[int32]string{
0: "Unknown",
1: "Active",
2: "Expired",
3: "Revoked",
}
CertificateStatus_Enum_value = map[string]int32{
"Unknown": 0,
"Active": 1,
"Expired": 2,
"Revoked": 3,
}
)
Enum value maps for IssuerStatus_Enum.
var (
IssuerStatus_Enum_name = map[int32]string{
0: "Unknown",
1: "Pending",
2: "Active",
3: "Archived",
4: "Destroyed",
}
IssuerStatus_Enum_value = map[string]int32{
"Unknown": 0,
"Pending": 1,
"Active": 2,
"Archived": 3,
"Destroyed": 4,
}
)
Enum value maps for AuthorityType_Enum.
var (
AuthorityType_Enum_name = map[int32]string{
0: "Unknown",
1: "Root",
2: "Intermediate",
3: "Issuing",
4: "Shaken",
5: "ShakenDelegated",
}
AuthorityType_Enum_value = map[string]int32{
"Unknown": 0,
"Root": 1,
"Intermediate": 2,
"Issuing": 3,
"Shaken": 4,
"ShakenDelegated": 5,
}
)
Enum value maps for ItemStatus_Enum.
var (
ItemStatus_Enum_name = map[int32]string{
0: "Unknown",
1: "Inactive",
2: "Active",
4: "Invalid",
}
ItemStatus_Enum_value = map[string]int32{
"Unknown": 0,
"Inactive": 1,
"Active": 2,
"Invalid": 4,
}
)
Enum value maps for Scope_Enum.
var (
Scope_Enum_name = map[int32]string{
0: "Undefined",
1: "Org",
2: "Project",
}
Scope_Enum_value = map[string]int32{
"Undefined": 0,
"Org": 1,
"Project": 2,
}
)
Enum value maps for EventType_Enum.
var (
EventType_Enum_name = map[int32]string{
0: "Unknown",
1: "OrgCreated",
2: "OrgUpdated",
3: "OrgDeleted",
4: "OrgMemberAdded",
5: "OrgMemberRemoved",
6: "OrgMemberRoleChanged",
7: "OrgMemberInvited",
8: "OrgMemberAccepted",
9: "ProjectCreated",
10: "ProjectUpdated",
11: "ProjectDeleted",
12: "ProjectMemberAdded",
13: "ProjectMemberRemoved",
14: "ProjectMemberRoleChanged",
15: "ProjectMemberInvited",
16: "ProjectMemberAccepted",
20: "UserSignup",
21: "UserSignedOut",
22: "UserSignedIn",
23: "UserDisabled",
24: "UserEnabled",
25: "TokenRevoked",
31: "APIKeyCreated",
32: "APIKeyDeleted",
33: "APIKeyLogin",
36: "OrganizationDisabled",
37: "OrganizationEnabled",
100: "IssuerRegistered",
101: "IssuerActivated",
102: "IssuerUpdated",
103: "ProfileRegistered",
104: "ProfileDeleted",
105: "CertificateIssued",
106: "CertificateRevoked",
107: "CrlPublished",
108: "RootRegistered",
}
EventType_Enum_value = map[string]int32{
"Unknown": 0,
"OrgCreated": 1,
"OrgUpdated": 2,
"OrgDeleted": 3,
"OrgMemberAdded": 4,
"OrgMemberRemoved": 5,
"OrgMemberRoleChanged": 6,
"OrgMemberInvited": 7,
"OrgMemberAccepted": 8,
"ProjectCreated": 9,
"ProjectUpdated": 10,
"ProjectDeleted": 11,
"ProjectMemberAdded": 12,
"ProjectMemberRemoved": 13,
"ProjectMemberRoleChanged": 14,
"ProjectMemberInvited": 15,
"ProjectMemberAccepted": 16,
"UserSignup": 20,
"UserSignedOut": 21,
"UserSignedIn": 22,
"UserDisabled": 23,
"UserEnabled": 24,
"TokenRevoked": 25,
"APIKeyCreated": 31,
"APIKeyDeleted": 32,
"APIKeyLogin": 33,
"OrganizationDisabled": 36,
"OrganizationEnabled": 37,
"IssuerRegistered": 100,
"IssuerActivated": 101,
"IssuerUpdated": 102,
"ProfileRegistered": 103,
"ProfileDeleted": 104,
"CertificateIssued": 105,
"CertificateRevoked": 106,
"CrlPublished": 107,
"RootRegistered": 108,
}
)
var APIKeyRequest_MessageDescription = &api.MessageDescription{
Name: "APIKeyRequest",
Display: "API Key Request",
FullName: "pb.APIKeyRequest",
Fields: []*api.FieldMeta{
{
Name: "ProjectID",
FullName: "pb.APIKeyRequest.ProjectID",
Display: "Project ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `ProjectID is optional for project scope.
It must match the project of the API key.`,
},
{
Name: "ID",
FullName: "pb.APIKeyRequest.ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Required: true,
},
},
}
var APIKey_MessageDescription = &api.MessageDescription{
Name: "APIKey",
Display: "API Key",
FullName: "pb.APIKey",
Fields: []*api.FieldMeta{
{
Name: "ID",
FullName: "pb.APIKey.ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
},
{
Name: "OrgID",
FullName: "pb.APIKey.OrgID",
Display: "Org ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
},
{
Name: "ProjectID",
FullName: "pb.APIKey.ProjectID",
Display: "Project ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
},
{
Name: "Label",
FullName: "pb.APIKey.Label",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Max: 260,
},
{
Name: "Key",
FullName: "pb.APIKey.Key",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Max: 128,
},
{
Name: "Secret",
FullName: "pb.APIKey.Secret",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Max: 128,
},
{
Name: "Scopes",
FullName: "pb.APIKey.Scopes",
Type: "[]string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
},
{
Name: "Metadata",
FullName: "pb.APIKey.Metadata",
Type: "[]struct",
StructName: "pb.KVPair",
SearchType: "flat_object",
},
{
Name: "Status",
FullName: "pb.APIKey.Status",
Type: "int32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
EnumDescription: ItemStatus_Enum_EnumDescription,
},
{
Name: "CreatedAt",
FullName: "pb.APIKey.CreatedAt",
Display: "Created At",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
},
{
Name: "ExpiresAt",
FullName: "pb.APIKey.ExpiresAt",
Display: "Expires At",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
},
{
Name: "UsedAt",
FullName: "pb.APIKey.UsedAt",
Display: "Used At",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
},
{
Name: "UsedCount",
FullName: "pb.APIKey.UsedCount",
Display: "Used Count",
Type: "uint32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
},
},
}
var APIKeysResponse_MessageDescription = &api.MessageDescription{
Name: "APIKeysResponse",
Display: "API Keys Response",
FullName: "pb.APIKeysResponse",
Fields: []*api.FieldMeta{
{
Name: "APIKeys",
FullName: "pb.APIKeysResponse.APIKeys",
Display: "API Keys",
Type: "[]struct",
StructName: "pb.APIKey",
SearchType: "flat_object",
},
{
Name: "NextPage",
FullName: "pb.APIKeysResponse.NextPage",
Display: "Next Page",
Type: "struct",
StructName: "pb.NextPage",
SearchType: "flat_object",
Documentation: `NextPage specifies pagination information, if there are more pages to
fetch. If there are no more pages to fetch, NextPage will be empty.`,
},
},
}
var ActivateIssuerRequest_MessageDescription = &api.MessageDescription{
Name: "ActivateIssuerRequest",
Display: "Activate Issuer Request",
FullName: "pb.ActivateIssuerRequest",
Documentation: `ActivateIssuerRequest specifies the externally signed certificate for a
Pending issuer`,
Fields: []*api.FieldMeta{
{
Name: "ID",
FullName: "pb.ActivateIssuerRequest.ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Required: true,
Documentation: `ID of the Pending issuer`,
},
{
Name: "Certificate",
FullName: "pb.ActivateIssuerRequest.Certificate",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Required: true,
Documentation: `Certificate provides the issuer certificate in PEM format`,
},
{
Name: "Intermediates",
FullName: "pb.ActivateIssuerRequest.Intermediates",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Intermediates provides the intermediate CA certificates in PEM format`,
},
{
Name: "Root",
FullName: "pb.ActivateIssuerRequest.Root",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Root provides the Root CA certificate in PEM format`,
},
{
Name: "ProjectID",
FullName: "pb.ActivateIssuerRequest.ProjectID",
Display: "Project ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `ProjectID of the issuer's project. A caller whose role is granted
in the project only must name it, since the request is authorized at
that scope; the issuer must belong to it.`,
},
},
}
var AddMemberRequest_MessageDescription = &api.MessageDescription{
Name: "AddMemberRequest",
Display: "Add Member Request",
FullName: "pb.AddMemberRequest",
Documentation: `AddMemberRequest specifies request to grant a role in the org selected in
the token (empty ProjectID) or in a project.
If the user does not exist, an invite is created instead.`,
Fields: []*api.FieldMeta{
{
Name: "Email",
FullName: "pb.AddMemberRequest.Email",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Required: true,
Max: 160,
Documentation: `Email specifies user email to search.`,
},
{
Name: "Role",
FullName: "pb.AddMemberRequest.Role",
Type: "int32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
EnumDescription: Role_Enum_EnumDescription,
Required: true,
Documentation: `Role specifies the role to grant. The caller must be allowed to grant
it at the requested scope; only an org Owner can grant Owner.`,
},
{
Name: "ProjectID",
FullName: "pb.AddMemberRequest.ProjectID",
Display: "Project ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `ProjectID specifies the project for a Project scope grant;
empty for an org-wide grant`,
},
},
}
var AddMemberResponse_MessageDescription = &api.MessageDescription{
Name: "AddMemberResponse",
Display: "Add Member Response",
FullName: "pb.AddMemberResponse",
Documentation: `AddMemberResponse provides response for AddMember request.
If a user already exists, the Membership is returned.
If a user is invited, the Invite is returned.`,
Fields: []*api.FieldMeta{
{
Name: "Invite",
FullName: "pb.AddMemberResponse.Invite",
Type: "struct",
StructName: "pb.Invite",
SearchType: "flat_object",
},
{
Name: "Membership",
FullName: "pb.AddMemberResponse.Membership",
Type: "struct",
StructName: "pb.Membership",
SearchType: "flat_object",
},
},
}
var AllowedMethods_MessageDescription = &api.MessageDescription{
Name: "AllowedMethods",
Display: "Allowed Methods",
FullName: "pb.AllowedMethods",
Fields: []*api.FieldMeta{
{
Name: "Service",
FullName: "pb.AllowedMethods.Service",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Service is the name of the service`,
},
{
Name: "Methods",
FullName: "pb.AllowedMethods.Methods",
Type: "[]struct",
StructName: "pb.KVPair",
SearchType: "flat_object",
Documentation: `Methods is the list of methods that are allowed.
The key is the short method name, the value is the full method name.`,
},
},
}
var AuthProvidersRequest_MessageDescription = &api.MessageDescription{
Name: "AuthProvidersRequest",
Display: "Auth Providers Request",
FullName: "pb.AuthProvidersRequest",
Documentation: `AuthProvidersRequest specifies request to get list of supported IDP`,
Fields: []*api.FieldMeta{
{
Name: "Email",
FullName: "pb.AuthProvidersRequest.Email",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Max: 160,
Documentation: `Email specifies optional email to use for login`,
},
},
}
var AuthProvidersResponse_MessageDescription = &api.MessageDescription{
Name: "AuthProvidersResponse",
Display: "Auth Providers Response",
FullName: "pb.AuthProvidersResponse",
Documentation: `AuthProvidersResponse provides list of supported IDP`,
Fields: []*api.FieldMeta{
{
Name: "AuthURL",
FullName: "pb.AuthProvidersResponse.AuthURL",
Display: "Auth URL",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `AuthURL specifies URL to start authentication flow`,
},
{
Name: "Providers",
FullName: "pb.AuthProvidersResponse.Providers",
Type: "[]int32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
EnumDescription: IDP_Enum_EnumDescription,
Documentation: `Providers specifies the list of supported IDPs`,
},
{
Name: "ProviderNames",
FullName: "pb.AuthProvidersResponse.ProviderNames",
Display: "Provider Names",
Type: "[]string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `ProviderNames specifies the list of supported IDP names,
this can be used to display the list of supported IDPs to the user,
or for REST clients that are not aware of enum values.`,
},
},
}
Auth_ServiceDesc is the grpc.ServiceDesc for Auth service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Auth_ServiceDesc = grpc.ServiceDesc{
ServiceName: "pb.Auth",
HandlerType: (*AuthServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "GetProviders",
Handler: _Auth_GetProviders_Handler,
},
{
MethodName: "GetUserToken",
Handler: _Auth_GetUserToken_Handler,
},
{
MethodName: "RevokeToken",
Handler: _Auth_RevokeToken_Handler,
},
{
MethodName: "Caller",
Handler: _Auth_Caller_Handler,
},
{
MethodName: "ExchangeCode",
Handler: _Auth_ExchangeCode_Handler,
},
{
MethodName: "SelectOrg",
Handler: _Auth_SelectOrg_Handler,
},
{
MethodName: "AuthenticateAPIKey",
Handler: _Auth_AuthenticateAPIKey_Handler,
},
{
MethodName: "GetAllowedMethods",
Handler: _Auth_GetAllowedMethods_Handler,
},
{
MethodName: "GetCallerScope",
Handler: _Auth_GetCallerScope_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "auth.proto",
}
var AuthorityType_Enum_DisplayName = map[AuthorityType_Enum]string{
AuthorityType_Unknown: Display_AuthorityType_Unknown,
AuthorityType_Root: Display_AuthorityType_Root,
AuthorityType_Intermediate: Display_AuthorityType_Intermediate,
AuthorityType_Issuing: Display_AuthorityType_Issuing,
AuthorityType_Shaken: Display_AuthorityType_Shaken,
AuthorityType_ShakenDelegated: Display_AuthorityType_ShakenDelegated,
}
var AuthorityType_Enum_EnumDescription = &api.EnumDescription{
Name: "AuthorityType_Enum",
FullName: "pb.AuthorityType.Enum",
IsBitmask: false,
Enums: []*api.EnumMeta{
{
Value: 0,
Name: "Unknown",
FullName: "pb.AuthorityType.Unknown",
Display: Display_AuthorityType_Unknown,
Documentation: `Unknown indicates that the authority type is unknown`,
},
{
Value: 1,
Name: "Root",
FullName: "pb.AuthorityType.Root",
Display: Display_AuthorityType_Root,
Documentation: `Root indicates a self-signed root authority`,
},
{
Value: 2,
Name: "Intermediate",
FullName: "pb.AuthorityType.Intermediate",
Display: Display_AuthorityType_Intermediate,
Documentation: `Intermediate indicates an intermediate authority that only signs
subordinate CAs`,
},
{
Value: 3,
Name: "Issuing",
FullName: "pb.AuthorityType.Issuing",
Display: Display_AuthorityType_Issuing,
Documentation: `Issuing indicates an issuing authority for end-entity certificates`,
},
{
Value: 4,
Name: "Shaken",
FullName: "pb.AuthorityType.Shaken",
Display: Display_AuthorityType_Shaken,
Documentation: `Shaken indicates a STIR/SHAKEN authority`,
},
{
Value: 5,
Name: "ShakenDelegated",
FullName: "pb.AuthorityType.ShakenDelegated",
Display: Display_AuthorityType_ShakenDelegated,
Documentation: `ShakenDelegated indicates a STIR/SHAKEN Delegated authority`,
},
},
Documentation: `AuthorityType defines type constants for authorities`,
}
var AuthorityType_Enum_Meta = map[AuthorityType_Enum]*api.EnumMeta{
AuthorityType_Unknown: AuthorityType_Enum_EnumDescription.Enums[0],
AuthorityType_Root: AuthorityType_Enum_EnumDescription.Enums[1],
AuthorityType_Intermediate: AuthorityType_Enum_EnumDescription.Enums[2],
AuthorityType_Issuing: AuthorityType_Enum_EnumDescription.Enums[3],
AuthorityType_Shaken: AuthorityType_Enum_EnumDescription.Enums[4],
AuthorityType_ShakenDelegated: AuthorityType_Enum_EnumDescription.Enums[5],
}
var AuthorityType_Enum_Name = map[AuthorityType_Enum]string{
AuthorityType_Unknown: "Unknown",
AuthorityType_Root: "Root",
AuthorityType_Intermediate: "Intermediate",
AuthorityType_Issuing: "Issuing",
AuthorityType_Shaken: "Shaken",
AuthorityType_ShakenDelegated: "ShakenDelegated",
}
var AuthorityType_Enum_Value = map[string]AuthorityType_Enum{
"Unknown": AuthorityType_Unknown,
"Root": AuthorityType_Root,
"Intermediate": AuthorityType_Intermediate,
"Issuing": AuthorityType_Issuing,
"Shaken": AuthorityType_Shaken,
"ShakenDelegated": AuthorityType_ShakenDelegated,
}
var AuthorityType_Enum_displayName = map[int32]string{
0: Display_AuthorityType_Unknown,
1: Display_AuthorityType_Root,
2: Display_AuthorityType_Intermediate,
3: Display_AuthorityType_Issuing,
4: Display_AuthorityType_Shaken,
5: Display_AuthorityType_ShakenDelegated,
}
var CAConstraint_MessageDescription = &api.MessageDescription{
Name: "CAConstraint",
Display: "CA Constraint",
FullName: "pb.CAConstraint",
Documentation: `CAConstraint specifies various CA constraints on the signed certificate.
CAConstraint would verify against (and override) the CA
extensions in the given CSR.`,
Fields: []*api.FieldMeta{
{
Name: "IsCA",
FullName: "pb.CAConstraint.IsCA",
Display: "Is CA",
Type: "bool",
SearchType: "boolean",
SearchOptions: api.SearchOption_Sortable,
},
{
Name: "MaxPathLen",
FullName: "pb.CAConstraint.MaxPathLen",
Display: "Max Path Len",
Type: "int32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
},
},
}
CA_ServiceDesc is the grpc.ServiceDesc for CA service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var CA_ServiceDesc = grpc.ServiceDesc{
ServiceName: "pb.CA",
HandlerType: (*CAServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "RegisterIssuer",
Handler: _CA_RegisterIssuer_Handler,
},
{
MethodName: "UpdateIssuer",
Handler: _CA_UpdateIssuer_Handler,
},
{
MethodName: "ImportIssuer",
Handler: _CA_ImportIssuer_Handler,
},
{
MethodName: "ActivateIssuer",
Handler: _CA_ActivateIssuer_Handler,
},
{
MethodName: "GetIssuer",
Handler: _CA_GetIssuer_Handler,
},
{
MethodName: "ListIssuers",
Handler: _CA_ListIssuers_Handler,
},
{
MethodName: "RegisterRoot",
Handler: _CA_RegisterRoot_Handler,
},
{
MethodName: "ListRoots",
Handler: _CA_ListRoots_Handler,
},
{
MethodName: "RegisterProfile",
Handler: _CA_RegisterProfile_Handler,
},
{
MethodName: "GetProfile",
Handler: _CA_GetProfile_Handler,
},
{
MethodName: "ListProfiles",
Handler: _CA_ListProfiles_Handler,
},
{
MethodName: "DeleteProfile",
Handler: _CA_DeleteProfile_Handler,
},
{
MethodName: "SignCertificate",
Handler: _CA_SignCertificate_Handler,
},
{
MethodName: "GetCertificate",
Handler: _CA_GetCertificate_Handler,
},
{
MethodName: "ListCertificates",
Handler: _CA_ListCertificates_Handler,
},
{
MethodName: "UpdateCertificateLabel",
Handler: _CA_UpdateCertificateLabel_Handler,
},
{
MethodName: "RevokeCertificate",
Handler: _CA_RevokeCertificate_Handler,
},
{
MethodName: "ListRevokedCertificates",
Handler: _CA_ListRevokedCertificates_Handler,
},
{
MethodName: "GetCRL",
Handler: _CA_GetCRL_Handler,
},
{
MethodName: "PublishCrls",
Handler: _CA_PublishCrls_Handler,
},
{
MethodName: "SignOCSP",
Handler: _CA_SignOCSP_Handler,
},
{
MethodName: "GetSummary",
Handler: _CA_GetSummary_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "ca.proto",
}
CIS_ServiceDesc is the grpc.ServiceDesc for CIS service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var CIS_ServiceDesc = grpc.ServiceDesc{
ServiceName: "pb.CIS",
HandlerType: (*CISServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "GetRoots",
Handler: _CIS_GetRoots_Handler,
},
{
MethodName: "GetIssuer",
Handler: _CIS_GetIssuer_Handler,
},
{
MethodName: "GetCertificate",
Handler: _CIS_GetCertificate_Handler,
},
{
MethodName: "GetCertificateStatus",
Handler: _CIS_GetCertificateStatus_Handler,
},
{
MethodName: "GetCRL",
Handler: _CIS_GetCRL_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "cis.proto",
}
var CSRAllowedFields_MessageDescription = &api.MessageDescription{
Name: "CSRAllowedFields",
Display: "CSR Allowed Fields",
FullName: "pb.CSRAllowedFields",
Documentation: `CSRAllowedFields specifies which fields may be copied from a CSR`,
Fields: []*api.FieldMeta{
{
Name: "Subject",
FullName: "pb.CSRAllowedFields.Subject",
Type: "bool",
SearchType: "boolean",
SearchOptions: api.SearchOption_Sortable,
},
{
Name: "Dns",
FullName: "pb.CSRAllowedFields.Dns",
Type: "bool",
SearchType: "boolean",
SearchOptions: api.SearchOption_Sortable,
},
{
Name: "Ip",
FullName: "pb.CSRAllowedFields.Ip",
Type: "bool",
SearchType: "boolean",
SearchOptions: api.SearchOption_Sortable,
},
{
Name: "Email",
FullName: "pb.CSRAllowedFields.Email",
Type: "bool",
SearchType: "boolean",
SearchOptions: api.SearchOption_Sortable,
},
{
Name: "Uri",
FullName: "pb.CSRAllowedFields.Uri",
Type: "bool",
SearchType: "boolean",
SearchOptions: api.SearchOption_Sortable,
},
},
}
var CallerScope_MessageDescription = &api.MessageDescription{
Name: "CallerScope",
Display: "Caller Scope",
FullName: "pb.CallerScope",
Documentation: `CallerScope is the resolved scope of the caller in the selected org`,
Fields: []*api.FieldMeta{
{
Name: "OrgID",
FullName: "pb.CallerScope.OrgID",
Display: "Org ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `OrgID is the org selected in the token`,
},
{
Name: "ProjectID",
FullName: "pb.CallerScope.ProjectID",
Display: "Project ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `ProjectID is the project an API key is restricted to`,
},
{
Name: "Role",
FullName: "pb.CallerScope.Role",
Type: "int32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
EnumDescription: Role_Enum_EnumDescription,
Documentation: `Role is the resolved role at org scope`,
},
{
Name: "RoleSource",
FullName: "pb.CallerScope.RoleSource",
Display: "Role Source",
Type: "int32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
EnumDescription: RoleSource_Enum_EnumDescription,
Documentation: `RoleSource tells how the org role was resolved`,
},
{
Name: "ProjectRoles",
FullName: "pb.CallerScope.ProjectRoles",
Display: "Project Roles",
Type: "map",
StructName: "pb.CallerScope.ProjectRolesEntry",
SearchType: "flat_object",
Documentation: `ProjectRoles maps the IDs of the projects with an explicit grant to
the granted role`,
},
{
Name: "Scopes",
FullName: "pb.CallerScope.Scopes",
Type: "[]string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Scopes are the scopes of an API key or a scoped token`,
},
{
Name: "IsAPIKey",
FullName: "pb.CallerScope.IsAPIKey",
Display: "Is API Key",
Type: "bool",
SearchType: "boolean",
SearchOptions: api.SearchOption_Sortable,
Documentation: `IsAPIKey is true when the caller is an API key`,
},
{
Name: "Methods",
FullName: "pb.CallerScope.Methods",
Type: "[]struct",
StructName: "pb.MethodAccess",
SearchType: "flat_object",
Documentation: `Methods lists the access rules of every public method`,
},
},
}
var CallerScope_ProjectRolesEntry_MessageDescription = &api.MessageDescription{
Name: "CallerScope_ProjectRolesEntry",
Display: "Project Roles Entry",
FullName: "pb.CallerScope.ProjectRolesEntry",
Fields: []*api.FieldMeta{
{
Name: "Key",
FullName: "pb.CallerScope.ProjectRolesEntry.Key",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Required: true,
},
{
Name: "Value",
FullName: "pb.CallerScope.ProjectRolesEntry.Value",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Required: true,
},
},
}
var CallerStatusResponse_MessageDescription = &api.MessageDescription{
Name: "CallerStatusResponse",
Display: "Caller Status Response",
FullName: "pb.CallerStatusResponse",
Documentation: `CallerStatusResponse returns the caller information`,
Fields: []*api.FieldMeta{
{
Name: "Subject",
FullName: "pb.CallerStatusResponse.Subject",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Subject of the caller.`,
},
{
Name: "Role",
FullName: "pb.CallerStatusResponse.Role",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Role is the application of the caller.
The role of a specific Org can be found in Claims.`,
},
{
Name: "Claims",
FullName: "pb.CallerStatusResponse.Claims",
Type: "[]struct",
StructName: "pb.KVPair",
SearchType: "flat_object",
Documentation: `Claims from the token, converted to KVPair.`,
},
},
}
var CertProfile_MessageDescription = &api.MessageDescription{
Name: "CertProfile",
Display: "Cert Profile",
FullName: "pb.CertProfile",
Documentation: `CertProfile provides certificate profile.
The shape matches the YAML profiles in ca-config files.`,
Fields: []*api.FieldMeta{
{
Name: "ID",
FullName: "pb.CertProfile.ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `ID of the profile; empty for profiles loaded from files`,
},
{
Name: "OrgID",
FullName: "pb.CertProfile.OrgID",
Display: "Org ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `OrgID of the owning org; empty for platform profiles`,
},
{
Name: "ProjectID",
FullName: "pb.CertProfile.ProjectID",
Display: "Project ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `ProjectID of the owning project; empty for org-wide profiles`,
},
{
Name: "Label",
FullName: "pb.CertProfile.Label",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Label is the profile name, unique per (Org, Project)`,
},
{
Name: "IssuerLabel",
FullName: "pb.CertProfile.IssuerLabel",
Display: "Issuer Label",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `IssuerLabel binds the profile to an issuer of the same org.
"*" allows any issuer that lists the profile in AllowedProfiles.`,
},
{
Name: "Description",
FullName: "pb.CertProfile.Description",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Description of the profile`,
},
{
Name: "Usages",
FullName: "pb.CertProfile.Usages",
Type: "[]string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Usages provides a list of key usages and extended key usages`,
},
{
Name: "CAConstraint",
FullName: "pb.CertProfile.CAConstraint",
Display: "CA Constraint",
Type: "struct",
StructName: "pb.CAConstraint",
SearchType: "flat_object",
Documentation: `CAConstraint specifies the basic constraints for CA certificates`,
},
{
Name: "OcspNoCheck",
FullName: "pb.CertProfile.OcspNoCheck",
Display: "Ocsp No Check",
Type: "bool",
SearchType: "boolean",
SearchOptions: api.SearchOption_Sortable,
Documentation: `OcspNoCheck specifies to add id-pkix-ocsp-nocheck extension`,
},
{
Name: "Expiry",
FullName: "pb.CertProfile.Expiry",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Expiry specifies the validity duration, e.g. 168h`,
},
{
Name: "Backdate",
FullName: "pb.CertProfile.Backdate",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Backdate specifies the NotBefore backdate duration, e.g. 30m`,
},
{
Name: "Extensions",
FullName: "pb.CertProfile.Extensions",
Type: "[]struct",
StructName: "pb.X509Extension",
SearchType: "flat_object",
Documentation: `Extensions specifies extensions to always add to the certificate`,
},
{
Name: "AllowedExtensions",
FullName: "pb.CertProfile.AllowedExtensions",
Display: "Allowed Extensions",
Type: "[]string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `AllowedExtensions specifies OIDs of extensions allowed from the request`,
},
{
Name: "AllowedNames",
FullName: "pb.CertProfile.AllowedNames",
Display: "Allowed Names",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `AllowedNames specifies a RegExp to check for allowed names.
If not provided, then all values are allowed`,
},
{
Name: "AllowedDns",
FullName: "pb.CertProfile.AllowedDns",
Display: "Allowed Dns",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `AllowedDns specifies a RegExp to check for allowed DNS.
If not provided, then all values are allowed`,
},
{
Name: "AllowedEmail",
FullName: "pb.CertProfile.AllowedEmail",
Display: "Allowed Email",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `AllowedEmail specifies a RegExp to check for allowed email.
If not provided, then all values are allowed`,
},
{
Name: "AllowedUri",
FullName: "pb.CertProfile.AllowedUri",
Display: "Allowed Uri",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `AllowedUri specifies a RegExp to check for allowed URI.
If not provided, then all values are allowed`,
},
{
Name: "AllowedFields",
FullName: "pb.CertProfile.AllowedFields",
Display: "Allowed Fields",
Type: "struct",
StructName: "pb.CSRAllowedFields",
SearchType: "flat_object",
Documentation: `AllowedFields provides booleans for fields in the CSR.
If AllowedFields is not present in a CertProfile,
all of these fields may be copied from the CSR into the signed
certificate. If AllowedFields *is* present in a CertProfile, only those
fields with a 'true' value in the AllowedFields may be copied from the
CSR to the signed certificate. Note that some of these fields, like
Subject, can be provided or partially provided through the API. Since API
clients are expected to be trusted, but CSRs are not, fields provided
through the API are not subject to validation through this mechanism.`,
},
{
Name: "Policies",
FullName: "pb.CertProfile.Policies",
Type: "[]struct",
StructName: "pb.CertificatePolicy",
SearchType: "flat_object",
Documentation: `Policies specifies Certificate Policies to include`,
},
{
Name: "PoliciesCritical",
FullName: "pb.CertProfile.PoliciesCritical",
Display: "Policies Critical",
Type: "bool",
SearchType: "boolean",
SearchOptions: api.SearchOption_Sortable,
Documentation: `PoliciesCritical specifies to mark Policies as Critical extension`,
},
{
Name: "AllowedRoles",
FullName: "pb.CertProfile.AllowedRoles",
Display: "Allowed Roles",
Type: "[]string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `AllowedRoles specifies caller roles allowed to request the profile`,
},
{
Name: "DeniedRoles",
FullName: "pb.CertProfile.DeniedRoles",
Display: "Denied Roles",
Type: "[]string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `DeniedRoles specifies caller roles denied to request the profile`,
},
{
Name: "Status",
FullName: "pb.CertProfile.Status",
Type: "int32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
EnumDescription: ItemStatus_Enum_EnumDescription,
Documentation: `Status of the profile`,
},
{
Name: "CreatedAt",
FullName: "pb.CertProfile.CreatedAt",
Display: "Created At",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `CreatedAt in RFC3339 format`,
},
{
Name: "UpdatedAt",
FullName: "pb.CertProfile.UpdatedAt",
Display: "Updated At",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `UpdatedAt in RFC3339 format`,
},
},
}
var CertificatePolicyQualifier_MessageDescription = &api.MessageDescription{
Name: "CertificatePolicyQualifier",
Display: "Certificate Policy Qualifier",
FullName: "pb.CertificatePolicyQualifier",
Documentation: `CertificatePolicyQualifier specifies a policy qualifier: id-qt-cps or
id-qt-unotice`,
Fields: []*api.FieldMeta{
{
Name: "Type",
FullName: "pb.CertificatePolicyQualifier.Type",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
},
{
Name: "Value",
FullName: "pb.CertificatePolicyQualifier.Value",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
},
},
}
var CertificatePolicy_MessageDescription = &api.MessageDescription{
Name: "CertificatePolicy",
Display: "Certificate Policy",
FullName: "pb.CertificatePolicy",
Documentation: `CertificatePolicy specifies a Certificate Policy extension entry`,
Fields: []*api.FieldMeta{
{
Name: "ID",
FullName: "pb.CertificatePolicy.ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `ID is OID of Certificate Policy`,
},
{
Name: "Qualifiers",
FullName: "pb.CertificatePolicy.Qualifiers",
Type: "[]struct",
StructName: "pb.CertificatePolicyQualifier",
SearchType: "flat_object",
},
},
}
var CertificateResponse_MessageDescription = &api.MessageDescription{
Name: "CertificateResponse",
Display: "Certificate Response",
FullName: "pb.CertificateResponse",
Documentation: `CertificateResponse returns Certificate`,
Fields: []*api.FieldMeta{
{
Name: "Certificate",
FullName: "pb.CertificateResponse.Certificate",
Type: "struct",
StructName: "pb.Certificate",
SearchType: "flat_object",
},
},
}
var CertificateStatusCount_MessageDescription = &api.MessageDescription{
Name: "CertificateStatusCount",
Display: "Certificate Status Count",
FullName: "pb.CertificateStatusCount",
Documentation: `CertificateStatusCount is the number of certificates of a status`,
Fields: []*api.FieldMeta{
{
Name: "Status",
FullName: "pb.CertificateStatusCount.Status",
Type: "int32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
EnumDescription: CertificateStatus_Enum_EnumDescription,
Documentation: `Status of the certificates`,
},
{
Name: "Count",
FullName: "pb.CertificateStatusCount.Count",
Type: "uint32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Count of the certificates of the status`,
},
},
}
var CertificateStatusResponse_MessageDescription = &api.MessageDescription{
Name: "CertificateStatusResponse",
Display: "Certificate Status Response",
FullName: "pb.CertificateStatusResponse",
Documentation: `CertificateStatusResponse returns the revocation status of a certificate`,
Fields: []*api.FieldMeta{
{
Name: "IKID",
FullName: "pb.CertificateStatusResponse.IKID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `IKID provides Issuer Key Identifier`,
},
{
Name: "SerialNumber",
FullName: "pb.CertificateStatusResponse.SerialNumber",
Display: "Serial Number",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `SerialNumber provides Serial Number`,
},
{
Name: "Status",
FullName: "pb.CertificateStatusResponse.Status",
Type: "int32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
EnumDescription: CertificateStatus_Enum_EnumDescription,
Documentation: `Status of the certificate`,
},
{
Name: "NotAfter",
FullName: "pb.CertificateStatusResponse.NotAfter",
Display: "Not After",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `NotAfter in RFC3339 format`,
},
{
Name: "RevokedAt",
FullName: "pb.CertificateStatusResponse.RevokedAt",
Display: "Revoked At",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `RevokedAt in RFC3339 format, when revoked`,
},
{
Name: "Reason",
FullName: "pb.CertificateStatusResponse.Reason",
Type: "int32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
EnumDescription: ReasonCode_Enum_EnumDescription,
Documentation: `Reason of the revocation, when revoked`,
},
},
}
var CertificateStatus_Enum_DisplayName = map[CertificateStatus_Enum]string{
CertificateStatus_Unknown: Display_CertificateStatus_Unknown,
CertificateStatus_Active: Display_CertificateStatus_Active,
CertificateStatus_Expired: Display_CertificateStatus_Expired,
CertificateStatus_Revoked: Display_CertificateStatus_Revoked,
}
var CertificateStatus_Enum_EnumDescription = &api.EnumDescription{
Name: "CertificateStatus_Enum",
FullName: "pb.CertificateStatus.Enum",
IsBitmask: false,
Enums: []*api.EnumMeta{
{
Value: 0,
Name: "Unknown",
FullName: "pb.CertificateStatus.Unknown",
Display: Display_CertificateStatus_Unknown,
Documentation: `Unknown indicates that the certificate status is unknown`,
},
{
Value: 1,
Name: "Active",
FullName: "pb.CertificateStatus.Active",
Display: Display_CertificateStatus_Active,
Documentation: `Active indicates that the certificate is active and ready to use`,
},
{
Value: 2,
Name: "Expired",
FullName: "pb.CertificateStatus.Expired",
Display: Display_CertificateStatus_Expired,
Documentation: `Expired indicates that the certificate is expired`,
},
{
Value: 3,
Name: "Revoked",
FullName: "pb.CertificateStatus.Revoked",
Display: Display_CertificateStatus_Revoked,
Documentation: `Revoked indicates that the certificate is revoked`,
},
},
Documentation: `CertificateStatus defines status constants for certificates`,
}
var CertificateStatus_Enum_Meta = map[CertificateStatus_Enum]*api.EnumMeta{
CertificateStatus_Unknown: CertificateStatus_Enum_EnumDescription.Enums[0],
CertificateStatus_Active: CertificateStatus_Enum_EnumDescription.Enums[1],
CertificateStatus_Expired: CertificateStatus_Enum_EnumDescription.Enums[2],
CertificateStatus_Revoked: CertificateStatus_Enum_EnumDescription.Enums[3],
}
var CertificateStatus_Enum_Name = map[CertificateStatus_Enum]string{
CertificateStatus_Unknown: "Unknown",
CertificateStatus_Active: "Active",
CertificateStatus_Expired: "Expired",
CertificateStatus_Revoked: "Revoked",
}
var CertificateStatus_Enum_Value = map[string]CertificateStatus_Enum{
"Unknown": CertificateStatus_Unknown,
"Active": CertificateStatus_Active,
"Expired": CertificateStatus_Expired,
"Revoked": CertificateStatus_Revoked,
}
var CertificateStatus_Enum_displayName = map[int32]string{
0: Display_CertificateStatus_Unknown,
1: Display_CertificateStatus_Active,
2: Display_CertificateStatus_Expired,
3: Display_CertificateStatus_Revoked,
}
var Certificate_MessageDescription = &api.MessageDescription{
Name: "Certificate",
FullName: "pb.Certificate",
Documentation: `Certificate provides X509 Certificate information`,
Fields: []*api.FieldMeta{
{
Name: "ID",
FullName: "pb.Certificate.ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `ID of the certificate`,
},
{
Name: "OrgID",
FullName: "pb.Certificate.OrgID",
Display: "Org ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `OrgID of the owning org`,
},
{
Name: "ProjectID",
FullName: "pb.Certificate.ProjectID",
Display: "Project ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `ProjectID of the owning project; empty for org-wide certificates`,
},
{
Name: "SKID",
FullName: "pb.Certificate.SKID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `SKID provides Subject Key Identifier`,
},
{
Name: "IKID",
FullName: "pb.Certificate.IKID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `IKID provides Issuer Key Identifier`,
},
{
Name: "SerialNumber",
FullName: "pb.Certificate.SerialNumber",
Display: "Serial Number",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `SerialNumber provides Serial Number`,
},
{
Name: "NotBefore",
FullName: "pb.Certificate.NotBefore",
Display: "Not Before",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `NotBefore is the time when the validity period starts in RFC3339 format`,
},
{
Name: "NotAfter",
FullName: "pb.Certificate.NotAfter",
Display: "Not After",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `NotAfter is the time when the validity period ends in RFC3339 format`,
},
{
Name: "Subject",
FullName: "pb.Certificate.Subject",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Subject name`,
},
{
Name: "Issuer",
FullName: "pb.Certificate.Issuer",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Issuer name`,
},
{
Name: "Sha256",
FullName: "pb.Certificate.Sha256",
Display: "Sha 256",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Sha256 thumbprint of the cert`,
},
{
Name: "Profile",
FullName: "pb.Certificate.Profile",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Profile used to issue the certificate`,
},
{
Name: "Pem",
FullName: "pb.Certificate.Pem",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Pem encoded certificate`,
},
{
Name: "IssuersPem",
FullName: "pb.Certificate.IssuersPem",
Display: "Issuers Pem",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `IssuersPem provides PEM encoded issuers chain`,
},
{
Name: "Locations",
FullName: "pb.Certificate.Locations",
Type: "[]string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Locations of the published certificate`,
},
{
Name: "Label",
FullName: "pb.Certificate.Label",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Label of the certificate provided by the client`,
},
{
Name: "Metadata",
FullName: "pb.Certificate.Metadata",
Type: "map",
StructName: "pb.Certificate.MetadataEntry",
SearchType: "flat_object",
Documentation: `Metadata of the certificate provided by the client`,
},
{
Name: "Status",
FullName: "pb.Certificate.Status",
Type: "int32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
EnumDescription: CertificateStatus_Enum_EnumDescription,
Documentation: `Status of the certificate`,
},
{
Name: "CreatedAt",
FullName: "pb.Certificate.CreatedAt",
Display: "Created At",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `CreatedAt is the issuance time in RFC3339 format`,
},
},
}
var Certificate_MetadataEntry_MessageDescription = &api.MessageDescription{
Name: "Certificate_MetadataEntry",
Display: "Metadata Entry",
FullName: "pb.Certificate.MetadataEntry",
Fields: []*api.FieldMeta{
{
Name: "Key",
FullName: "pb.Certificate.MetadataEntry.Key",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Required: true,
},
{
Name: "Value",
FullName: "pb.Certificate.MetadataEntry.Value",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Required: true,
},
},
}
var CertificatesResponse_MessageDescription = &api.MessageDescription{
Name: "CertificatesResponse",
Display: "Certificates Response",
FullName: "pb.CertificatesResponse",
Documentation: `CertificatesResponse returns Certificates list`,
Fields: []*api.FieldMeta{
{
Name: "Certificates",
FullName: "pb.CertificatesResponse.Certificates",
Type: "[]struct",
StructName: "pb.Certificate",
SearchType: "flat_object",
},
{
Name: "NextPage",
FullName: "pb.CertificatesResponse.NextPage",
Display: "Next Page",
Type: "struct",
StructName: "pb.NextPage",
SearchType: "flat_object",
Documentation: `NextPage specifies pagination information, if there are more pages to
fetch. If there are no more pages to fetch, NextPage will be empty.`,
},
},
}
var ChangeMemberRoleRequest_MessageDescription = &api.MessageDescription{
Name: "ChangeMemberRoleRequest",
Display: "Change Member Role Request",
FullName: "pb.ChangeMemberRoleRequest",
Documentation: `ChangeMemberRoleRequest specifies request to change the role of an
existing grant at the requested scope`,
Fields: []*api.FieldMeta{
{
Name: "UserID",
FullName: "pb.ChangeMemberRoleRequest.UserID",
Display: "User ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
RequiredOr: []string{"Email"},
Documentation: `UserID specifies user ID, if Email is empty`,
},
{
Name: "Email",
FullName: "pb.ChangeMemberRoleRequest.Email",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
RequiredOr: []string{"UserID"},
Max: 160,
Documentation: `Email specifies user email, if UserID is empty`,
},
{
Name: "Role",
FullName: "pb.ChangeMemberRoleRequest.Role",
Type: "int32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
EnumDescription: Role_Enum_EnumDescription,
Required: true,
},
{
Name: "ProjectID",
FullName: "pb.ChangeMemberRoleRequest.ProjectID",
Display: "Project ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `ProjectID specifies the project for a Project scope grant;
empty for the org-wide grant`,
},
},
}
var CreateAPIKeyRequest_MessageDescription = &api.MessageDescription{
Name: "CreateAPIKeyRequest",
Display: "Create API Key Request",
FullName: "pb.CreateAPIKeyRequest",
Fields: []*api.FieldMeta{
{
Name: "ProjectID",
FullName: "pb.CreateAPIKeyRequest.ProjectID",
Display: "Project ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `ProjectID is optional for project scope.
If not provided, will use Org scope for the current token.`,
},
{
Name: "Label",
FullName: "pb.CreateAPIKeyRequest.Label",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Required: true,
Max: 260,
},
{
Name: "Scopes",
FullName: "pb.CreateAPIKeyRequest.Scopes",
Type: "[]string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Required: true,
},
{
Name: "ExpiresAt",
FullName: "pb.CreateAPIKeyRequest.ExpiresAt",
Display: "Expires At",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
},
},
}
var CrlCounts_MessageDescription = &api.MessageDescription{
Name: "CrlCounts",
Display: "Crl Counts",
FullName: "pb.CrlCounts",
Documentation: `CrlCounts counts the issuers that publish CRLs, the Active and Archived
issuers whose certificate is valid, by the state of their current CRL at
the time of the summary: Issuers is Current, Due, Overdue and Missing
together.`,
Fields: []*api.FieldMeta{
{
Name: "Issuers",
FullName: "pb.CrlCounts.Issuers",
Type: "uint32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Issuers is the number of issuers that publish CRLs`,
},
{
Name: "Current",
FullName: "pb.CrlCounts.Current",
Type: "uint32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Current is the number of CRLs whose next update is later than the
renewal period of their issuer`,
},
{
Name: "Due",
FullName: "pb.CrlCounts.Due",
Type: "uint32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Due is the number of CRLs whose next update is within the renewal
period of their issuer; the renewal task publishes them on its next
run`,
},
{
Name: "Overdue",
FullName: "pb.CrlCounts.Overdue",
Type: "uint32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Overdue is the number of CRLs whose next update has passed: relying
parties see a stale CRL until it is published`,
},
{
Name: "Missing",
FullName: "pb.CrlCounts.Missing",
Type: "uint32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Missing is the number of issuers that have published no CRL yet`,
},
},
}
var CrlResponse_MessageDescription = &api.MessageDescription{
Name: "CrlResponse",
Display: "Crl Response",
FullName: "pb.CrlResponse",
Documentation: `CrlResponse returns CRL`,
Fields: []*api.FieldMeta{
{
Name: "Crl",
FullName: "pb.CrlResponse.Crl",
Type: "struct",
StructName: "pb.Crl",
SearchType: "flat_object",
},
},
}
var Crl_MessageDescription = &api.MessageDescription{
Name: "Crl",
FullName: "pb.Crl",
Documentation: `Crl provides X509 CRL information`,
Fields: []*api.FieldMeta{
{
Name: "ID",
FullName: "pb.Crl.ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `ID of the CRL`,
},
{
Name: "OrgID",
FullName: "pb.Crl.OrgID",
Display: "Org ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `OrgID of the issuer's org`,
},
{
Name: "IssuerID",
FullName: "pb.Crl.IssuerID",
Display: "Issuer ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `IssuerID of the issuer`,
},
{
Name: "IKID",
FullName: "pb.Crl.IKID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `IKID provides Issuer Key Identifier`,
},
{
Name: "Number",
FullName: "pb.Crl.Number",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Number is the monotonic CRL number`,
},
{
Name: "ThisUpdate",
FullName: "pb.Crl.ThisUpdate",
Display: "This Update",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `ThisUpdate is the time when the CRL was issued in RFC3339 format`,
},
{
Name: "NextUpdate",
FullName: "pb.Crl.NextUpdate",
Display: "Next Update",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `NextUpdate is the time for the next update in RFC3339 format`,
},
{
Name: "Issuer",
FullName: "pb.Crl.Issuer",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Issuer name`,
},
{
Name: "Pem",
FullName: "pb.Crl.Pem",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Pem encoded CRL`,
},
{
Name: "Locations",
FullName: "pb.Crl.Locations",
Type: "[]string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Locations of the published CRL`,
},
},
}
var CrlsResponse_MessageDescription = &api.MessageDescription{
Name: "CrlsResponse",
Display: "Crls Response",
FullName: "pb.CrlsResponse",
Documentation: `CrlsResponse returns published CRLs`,
Fields: []*api.FieldMeta{
{
Name: "Crls",
FullName: "pb.CrlsResponse.Crls",
Type: "[]struct",
StructName: "pb.Crl",
SearchType: "flat_object",
},
},
}
var DeleteInviteRequest_MessageDescription = &api.MessageDescription{
Name: "DeleteInviteRequest",
Display: "Delete Invite Request",
FullName: "pb.DeleteInviteRequest",
Documentation: `DeleteInviteRequest specifies request to remove an invite at the given
scope`,
Fields: []*api.FieldMeta{
{
Name: "Email",
FullName: "pb.DeleteInviteRequest.Email",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Required: true,
},
{
Name: "ProjectID",
FullName: "pb.DeleteInviteRequest.ProjectID",
Display: "Project ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `ProjectID specifies the project for a Project scope invite;
empty for an org-wide invite`,
},
},
}
var DeleteMemberRequest_MessageDescription = &api.MessageDescription{
Name: "DeleteMemberRequest",
Display: "Delete Member Request",
FullName: "pb.DeleteMemberRequest",
Documentation: `DeleteMemberRequest specifies request to remove a grant.
With ProjectID only the project grant is removed;
without ProjectID only the org-wide grant is removed.`,
Fields: []*api.FieldMeta{
{
Name: "UserID",
FullName: "pb.DeleteMemberRequest.UserID",
Display: "User ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Required: true,
},
{
Name: "ProjectID",
FullName: "pb.DeleteMemberRequest.ProjectID",
Display: "Project ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `ProjectID specifies the project for a Project scope grant;
empty for the org-wide grant`,
},
},
}
var DeleteProfileRequest_MessageDescription = &api.MessageDescription{
Name: "DeleteProfileRequest",
Display: "Delete Profile Request",
FullName: "pb.DeleteProfileRequest",
Documentation: `DeleteProfileRequest deletes a profile`,
Fields: []*api.FieldMeta{
{
Name: "ID",
FullName: "pb.DeleteProfileRequest.ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Required: true,
Documentation: `ID of the profile`,
},
{
Name: "ProjectID",
FullName: "pb.DeleteProfileRequest.ProjectID",
Display: "Project ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `ProjectID of the profile's project. A caller whose role is granted
in the project only must name it, since the request is authorized at
that scope; the profile must belong to it.`,
},
},
}
var DeleteProjectRequest_MessageDescription = &api.MessageDescription{
Name: "DeleteProjectRequest",
Display: "Delete Project Request",
FullName: "pb.DeleteProjectRequest",
Documentation: `DeleteProjectRequest specifies request to deactivate a project`,
Fields: []*api.FieldMeta{
{
Name: "ProjectID",
FullName: "pb.DeleteProjectRequest.ProjectID",
Display: "Project ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Required: true,
},
},
}
var Empty_MessageDescription = &api.MessageDescription{
Name: "Empty",
FullName: "google.protobuf.Empty",
Documentation: `A generic empty message that you can re-use to avoid defining duplicated
empty messages in your APIs. A typical example is to use it as the request
or the response type of an API method. For instance:
service Foo {
rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
}`,
Fields: []*api.FieldMeta{},
}
var EncodingFormat_Enum_DisplayName = map[EncodingFormat_Enum]string{
EncodingFormat_PEM: Display_EncodingFormat_PEM,
EncodingFormat_DER: Display_EncodingFormat_DER,
EncodingFormat_PKCS7: Display_EncodingFormat_PKCS7,
}
var EncodingFormat_Enum_EnumDescription = &api.EnumDescription{
Name: "EncodingFormat_Enum",
FullName: "pb.EncodingFormat.Enum",
IsBitmask: false,
Enums: []*api.EnumMeta{
{
Value: 0,
Name: "PEM",
FullName: "pb.EncodingFormat.PEM",
Display: Display_EncodingFormat_PEM,
Documentation: `PEM indicates that the encoding format is PEM`,
},
{
Value: 1,
Name: "DER",
FullName: "pb.EncodingFormat.DER",
Display: Display_EncodingFormat_DER,
Documentation: `DER indicates that the encoding format is DER`,
},
{
Value: 2,
Name: "PKCS7",
FullName: "pb.EncodingFormat.PKCS7",
Display: Display_EncodingFormat_PKCS7,
Documentation: `PKCS7 indicates that the encoding format is PKCS7`,
},
},
}
var EncodingFormat_Enum_Meta = map[EncodingFormat_Enum]*api.EnumMeta{
EncodingFormat_PEM: EncodingFormat_Enum_EnumDescription.Enums[0],
EncodingFormat_DER: EncodingFormat_Enum_EnumDescription.Enums[1],
EncodingFormat_PKCS7: EncodingFormat_Enum_EnumDescription.Enums[2],
}
var EncodingFormat_Enum_Name = map[EncodingFormat_Enum]string{
EncodingFormat_PEM: "PEM",
EncodingFormat_DER: "DER",
EncodingFormat_PKCS7: "PKCS7",
}
var EncodingFormat_Enum_Value = map[string]EncodingFormat_Enum{
"PEM": EncodingFormat_PEM,
"DER": EncodingFormat_DER,
"PKCS7": EncodingFormat_PKCS7,
}
var EncodingFormat_Enum_displayName = map[int32]string{
0: Display_EncodingFormat_PEM,
1: Display_EncodingFormat_DER,
2: Display_EncodingFormat_PKCS7,
}
var EnumNameTypes = map[string]reflect.Type{
"pb.AuthorityType.Enum": reflect.TypeOf(AuthorityType_Enum(0)),
"pb.CertificateStatus.Enum": reflect.TypeOf(CertificateStatus_Enum(0)),
"pb.EncodingFormat.Enum": reflect.TypeOf(EncodingFormat_Enum(0)),
"pb.EventType.Enum": reflect.TypeOf(EventType_Enum(0)),
"pb.IDP.Enum": reflect.TypeOf(IDP_Enum(0)),
"pb.IssuerStatus.Enum": reflect.TypeOf(IssuerStatus_Enum(0)),
"pb.ItemStatus.Enum": reflect.TypeOf(ItemStatus_Enum(0)),
"pb.ReasonCode.Enum": reflect.TypeOf(ReasonCode_Enum(0)),
"pb.Role.Enum": reflect.TypeOf(Role_Enum(0)),
"pb.RoleSource.Enum": reflect.TypeOf(RoleSource_Enum(0)),
"pb.Scope.Enum": reflect.TypeOf(Scope_Enum(0)),
"pb.Trust.Enum": reflect.TypeOf(Trust_Enum(0)),
}
var EventType_Enum_DisplayName = map[EventType_Enum]string{
EventType_Unknown: Display_EventType_Unknown,
EventType_OrgCreated: Display_EventType_OrgCreated,
EventType_OrgUpdated: Display_EventType_OrgUpdated,
EventType_OrgDeleted: Display_EventType_OrgDeleted,
EventType_OrgMemberAdded: Display_EventType_OrgMemberAdded,
EventType_OrgMemberRemoved: Display_EventType_OrgMemberRemoved,
EventType_OrgMemberRoleChanged: Display_EventType_OrgMemberRoleChanged,
EventType_OrgMemberInvited: Display_EventType_OrgMemberInvited,
EventType_OrgMemberAccepted: Display_EventType_OrgMemberAccepted,
EventType_ProjectCreated: Display_EventType_ProjectCreated,
EventType_ProjectUpdated: Display_EventType_ProjectUpdated,
EventType_ProjectDeleted: Display_EventType_ProjectDeleted,
EventType_ProjectMemberAdded: Display_EventType_ProjectMemberAdded,
EventType_ProjectMemberRemoved: Display_EventType_ProjectMemberRemoved,
EventType_ProjectMemberRoleChanged: Display_EventType_ProjectMemberRoleChanged,
EventType_ProjectMemberInvited: Display_EventType_ProjectMemberInvited,
EventType_ProjectMemberAccepted: Display_EventType_ProjectMemberAccepted,
EventType_UserSignup: Display_EventType_UserSignup,
EventType_UserSignedOut: Display_EventType_UserSignedOut,
EventType_UserSignedIn: Display_EventType_UserSignedIn,
EventType_UserDisabled: Display_EventType_UserDisabled,
EventType_UserEnabled: Display_EventType_UserEnabled,
EventType_TokenRevoked: Display_EventType_TokenRevoked,
EventType_APIKeyCreated: Display_EventType_APIKeyCreated,
EventType_APIKeyDeleted: Display_EventType_APIKeyDeleted,
EventType_APIKeyLogin: Display_EventType_APIKeyLogin,
EventType_OrganizationDisabled: Display_EventType_OrganizationDisabled,
EventType_OrganizationEnabled: Display_EventType_OrganizationEnabled,
EventType_IssuerRegistered: Display_EventType_IssuerRegistered,
EventType_IssuerActivated: Display_EventType_IssuerActivated,
EventType_IssuerUpdated: Display_EventType_IssuerUpdated,
EventType_ProfileRegistered: Display_EventType_ProfileRegistered,
EventType_ProfileDeleted: Display_EventType_ProfileDeleted,
EventType_CertificateIssued: Display_EventType_CertificateIssued,
EventType_CertificateRevoked: Display_EventType_CertificateRevoked,
EventType_CrlPublished: Display_EventType_CrlPublished,
EventType_RootRegistered: Display_EventType_RootRegistered,
}
var EventType_Enum_EnumDescription = &api.EnumDescription{
Name: "EventType_Enum",
FullName: "pb.EventType.Enum",
IsBitmask: false,
Enums: []*api.EnumMeta{
{
Value: 0,
Name: "Unknown",
FullName: "pb.EventType.Unknown",
Display: Display_EventType_Unknown,
Documentation: `Unknown indicates that the event type is unknown`,
},
{
Value: 1,
Name: "OrgCreated",
FullName: "pb.EventType.OrgCreated",
Display: Display_EventType_OrgCreated,
Documentation: `OrgCreated indicates that an org was created`,
},
{
Value: 2,
Name: "OrgUpdated",
FullName: "pb.EventType.OrgUpdated",
Display: Display_EventType_OrgUpdated,
Documentation: `OrgUpdated indicates that an org was updated`,
},
{
Value: 3,
Name: "OrgDeleted",
FullName: "pb.EventType.OrgDeleted",
Display: Display_EventType_OrgDeleted,
Documentation: `OrgDeleted indicates that an org was deleted`,
},
{
Value: 4,
Name: "OrgMemberAdded",
FullName: "pb.EventType.OrgMemberAdded",
Display: Display_EventType_OrgMemberAdded,
Documentation: `OrgMemberAdded indicates that an org member was added`,
},
{
Value: 5,
Name: "OrgMemberRemoved",
FullName: "pb.EventType.OrgMemberRemoved",
Display: Display_EventType_OrgMemberRemoved,
Documentation: `OrgMemberRemoved indicates that an org member was removed`,
},
{
Value: 6,
Name: "OrgMemberRoleChanged",
FullName: "pb.EventType.OrgMemberRoleChanged",
Display: Display_EventType_OrgMemberRoleChanged,
Documentation: `OrgMemberRoleChanged indicates that an org member role was
changed`,
},
{
Value: 7,
Name: "OrgMemberInvited",
FullName: "pb.EventType.OrgMemberInvited",
Display: Display_EventType_OrgMemberInvited,
Documentation: `OrgMemberInvited indicates that an org member was invited`,
},
{
Value: 8,
Name: "OrgMemberAccepted",
FullName: "pb.EventType.OrgMemberAccepted",
Display: Display_EventType_OrgMemberAccepted,
Documentation: `OrgMemberAccepted indicates that an org member accepted an
invitation`,
},
{
Value: 9,
Name: "ProjectCreated",
FullName: "pb.EventType.ProjectCreated",
Display: Display_EventType_ProjectCreated,
Documentation: `ProjectCreated indicates that a project was created`,
},
{
Value: 10,
Name: "ProjectUpdated",
FullName: "pb.EventType.ProjectUpdated",
Display: Display_EventType_ProjectUpdated,
Documentation: `ProjectUpdated indicates that a project was updated`,
},
{
Value: 11,
Name: "ProjectDeleted",
FullName: "pb.EventType.ProjectDeleted",
Display: Display_EventType_ProjectDeleted,
Documentation: `ProjectDeleted indicates that a project was deleted`,
},
{
Value: 12,
Name: "ProjectMemberAdded",
FullName: "pb.EventType.ProjectMemberAdded",
Display: Display_EventType_ProjectMemberAdded,
Documentation: `ProjectMemberAdded indicates that a project member was added`,
},
{
Value: 13,
Name: "ProjectMemberRemoved",
FullName: "pb.EventType.ProjectMemberRemoved",
Display: Display_EventType_ProjectMemberRemoved,
Documentation: `ProjectMemberRemoved indicates that a project member was removed`,
},
{
Value: 14,
Name: "ProjectMemberRoleChanged",
FullName: "pb.EventType.ProjectMemberRoleChanged",
Display: Display_EventType_ProjectMemberRoleChanged,
Documentation: `ProjectMemberRoleChanged indicates that a project member role was
changed`,
},
{
Value: 15,
Name: "ProjectMemberInvited",
FullName: "pb.EventType.ProjectMemberInvited",
Display: Display_EventType_ProjectMemberInvited,
Documentation: `ProjectMemberInvited indicates that a project member was invited`,
},
{
Value: 16,
Name: "ProjectMemberAccepted",
FullName: "pb.EventType.ProjectMemberAccepted",
Display: Display_EventType_ProjectMemberAccepted,
Documentation: `ProjectMemberAccepted indicates that a project member accepted an
invitation`,
},
{
Value: 20,
Name: "UserSignup",
FullName: "pb.EventType.UserSignup",
Display: Display_EventType_UserSignup,
Documentation: `UserSignup indicates that a user signed up on the platform`,
},
{
Value: 21,
Name: "UserSignedOut",
FullName: "pb.EventType.UserSignedOut",
Display: Display_EventType_UserSignedOut,
Documentation: `UserSignedOut indicates that a user signed out of the platform and
revoked the token`,
},
{
Value: 22,
Name: "UserSignedIn",
FullName: "pb.EventType.UserSignedIn",
Display: Display_EventType_UserSignedIn,
Documentation: `UserSignedIn indicates that a user signed in to the platform, or
selected an organization for the session`,
},
{
Value: 23,
Name: "UserDisabled",
FullName: "pb.EventType.UserDisabled",
Display: Display_EventType_UserDisabled,
Documentation: `UserDisabled indicates that a service admin disabled a user: the
user can no longer sign in or call the API`,
},
{
Value: 24,
Name: "UserEnabled",
FullName: "pb.EventType.UserEnabled",
Display: Display_EventType_UserEnabled,
Documentation: `UserEnabled indicates that a service admin enabled a disabled user
again`,
},
{
Value: 25,
Name: "TokenRevoked",
FullName: "pb.EventType.TokenRevoked",
Display: Display_EventType_TokenRevoked,
Documentation: `TokenRevoked indicates that a token was revoked`,
},
{
Value: 31,
Name: "APIKeyCreated",
FullName: "pb.EventType.APIKeyCreated",
Display: Display_EventType_APIKeyCreated,
Documentation: `APIKeyCreated indicates that an API key was created`,
},
{
Value: 32,
Name: "APIKeyDeleted",
FullName: "pb.EventType.APIKeyDeleted",
Display: Display_EventType_APIKeyDeleted,
Documentation: `APIKeyDeleted indicates that an API key was deleted`,
},
{
Value: 33,
Name: "APIKeyLogin",
FullName: "pb.EventType.APIKeyLogin",
Display: Display_EventType_APIKeyLogin,
Documentation: `APIKeyLogin indicates that an API key was used to sign in to the
platform`,
},
{
Value: 36,
Name: "OrganizationDisabled",
FullName: "pb.EventType.OrganizationDisabled",
Display: Display_EventType_OrganizationDisabled,
Documentation: `OrganizationDisabled indicates that a service admin disabled an
organization with its projects and API keys`,
},
{
Value: 37,
Name: "OrganizationEnabled",
FullName: "pb.EventType.OrganizationEnabled",
Display: Display_EventType_OrganizationEnabled,
Documentation: `OrganizationEnabled indicates that a service admin enabled a
disabled organization with the projects and API keys it disabled`,
},
{
Value: 100,
Name: "IssuerRegistered",
FullName: "pb.EventType.IssuerRegistered",
Display: Display_EventType_IssuerRegistered,
Documentation: `IssuerRegistered indicates that an issuer was registered or imported`,
},
{
Value: 101,
Name: "IssuerActivated",
FullName: "pb.EventType.IssuerActivated",
Display: Display_EventType_IssuerActivated,
Documentation: `IssuerActivated indicates that a Pending issuer was activated`,
},
{
Value: 102,
Name: "IssuerUpdated",
FullName: "pb.EventType.IssuerUpdated",
Display: Display_EventType_IssuerUpdated,
Documentation: `IssuerUpdated indicates that an issuer config or status changed`,
},
{
Value: 103,
Name: "ProfileRegistered",
FullName: "pb.EventType.ProfileRegistered",
Display: Display_EventType_ProfileRegistered,
Documentation: `ProfileRegistered indicates that a certificate profile was created
or replaced`,
},
{
Value: 104,
Name: "ProfileDeleted",
FullName: "pb.EventType.ProfileDeleted",
Display: Display_EventType_ProfileDeleted,
Documentation: `ProfileDeleted indicates that a certificate profile was deleted`,
},
{
Value: 105,
Name: "CertificateIssued",
FullName: "pb.EventType.CertificateIssued",
Display: Display_EventType_CertificateIssued,
Documentation: `CertificateIssued indicates that a certificate was issued`,
},
{
Value: 106,
Name: "CertificateRevoked",
FullName: "pb.EventType.CertificateRevoked",
Display: Display_EventType_CertificateRevoked,
Documentation: `CertificateRevoked indicates that a certificate was revoked`,
},
{
Value: 107,
Name: "CrlPublished",
FullName: "pb.EventType.CrlPublished",
Display: Display_EventType_CrlPublished,
Documentation: `CrlPublished indicates that a CRL was published`,
},
{
Value: 108,
Name: "RootRegistered",
FullName: "pb.EventType.RootRegistered",
Display: Display_EventType_RootRegistered,
Documentation: `RootRegistered indicates that a trust anchor was registered`,
},
},
Documentation: `EventType defines event types`,
}
var EventType_Enum_Meta = map[EventType_Enum]*api.EnumMeta{
EventType_Unknown: EventType_Enum_EnumDescription.Enums[0],
EventType_OrgCreated: EventType_Enum_EnumDescription.Enums[1],
EventType_OrgUpdated: EventType_Enum_EnumDescription.Enums[2],
EventType_OrgDeleted: EventType_Enum_EnumDescription.Enums[3],
EventType_OrgMemberAdded: EventType_Enum_EnumDescription.Enums[4],
EventType_OrgMemberRemoved: EventType_Enum_EnumDescription.Enums[5],
EventType_OrgMemberRoleChanged: EventType_Enum_EnumDescription.Enums[6],
EventType_OrgMemberInvited: EventType_Enum_EnumDescription.Enums[7],
EventType_OrgMemberAccepted: EventType_Enum_EnumDescription.Enums[8],
EventType_ProjectCreated: EventType_Enum_EnumDescription.Enums[9],
EventType_ProjectUpdated: EventType_Enum_EnumDescription.Enums[10],
EventType_ProjectDeleted: EventType_Enum_EnumDescription.Enums[11],
EventType_ProjectMemberAdded: EventType_Enum_EnumDescription.Enums[12],
EventType_ProjectMemberRemoved: EventType_Enum_EnumDescription.Enums[13],
EventType_ProjectMemberRoleChanged: EventType_Enum_EnumDescription.Enums[14],
EventType_ProjectMemberInvited: EventType_Enum_EnumDescription.Enums[15],
EventType_ProjectMemberAccepted: EventType_Enum_EnumDescription.Enums[16],
EventType_UserSignup: EventType_Enum_EnumDescription.Enums[17],
EventType_UserSignedOut: EventType_Enum_EnumDescription.Enums[18],
EventType_UserSignedIn: EventType_Enum_EnumDescription.Enums[19],
EventType_UserDisabled: EventType_Enum_EnumDescription.Enums[20],
EventType_UserEnabled: EventType_Enum_EnumDescription.Enums[21],
EventType_TokenRevoked: EventType_Enum_EnumDescription.Enums[22],
EventType_APIKeyCreated: EventType_Enum_EnumDescription.Enums[23],
EventType_APIKeyDeleted: EventType_Enum_EnumDescription.Enums[24],
EventType_APIKeyLogin: EventType_Enum_EnumDescription.Enums[25],
EventType_OrganizationDisabled: EventType_Enum_EnumDescription.Enums[26],
EventType_OrganizationEnabled: EventType_Enum_EnumDescription.Enums[27],
EventType_IssuerRegistered: EventType_Enum_EnumDescription.Enums[28],
EventType_IssuerActivated: EventType_Enum_EnumDescription.Enums[29],
EventType_IssuerUpdated: EventType_Enum_EnumDescription.Enums[30],
EventType_ProfileRegistered: EventType_Enum_EnumDescription.Enums[31],
EventType_ProfileDeleted: EventType_Enum_EnumDescription.Enums[32],
EventType_CertificateIssued: EventType_Enum_EnumDescription.Enums[33],
EventType_CertificateRevoked: EventType_Enum_EnumDescription.Enums[34],
EventType_CrlPublished: EventType_Enum_EnumDescription.Enums[35],
EventType_RootRegistered: EventType_Enum_EnumDescription.Enums[36],
}
var EventType_Enum_Name = map[EventType_Enum]string{
EventType_Unknown: "Unknown",
EventType_OrgCreated: "OrgCreated",
EventType_OrgUpdated: "OrgUpdated",
EventType_OrgDeleted: "OrgDeleted",
EventType_OrgMemberAdded: "OrgMemberAdded",
EventType_OrgMemberRemoved: "OrgMemberRemoved",
EventType_OrgMemberRoleChanged: "OrgMemberRoleChanged",
EventType_OrgMemberInvited: "OrgMemberInvited",
EventType_OrgMemberAccepted: "OrgMemberAccepted",
EventType_ProjectCreated: "ProjectCreated",
EventType_ProjectUpdated: "ProjectUpdated",
EventType_ProjectDeleted: "ProjectDeleted",
EventType_ProjectMemberAdded: "ProjectMemberAdded",
EventType_ProjectMemberRemoved: "ProjectMemberRemoved",
EventType_ProjectMemberRoleChanged: "ProjectMemberRoleChanged",
EventType_ProjectMemberInvited: "ProjectMemberInvited",
EventType_ProjectMemberAccepted: "ProjectMemberAccepted",
EventType_UserSignup: "UserSignup",
EventType_UserSignedOut: "UserSignedOut",
EventType_UserSignedIn: "UserSignedIn",
EventType_UserDisabled: "UserDisabled",
EventType_UserEnabled: "UserEnabled",
EventType_TokenRevoked: "TokenRevoked",
EventType_APIKeyCreated: "APIKeyCreated",
EventType_APIKeyDeleted: "APIKeyDeleted",
EventType_APIKeyLogin: "APIKeyLogin",
EventType_OrganizationDisabled: "OrganizationDisabled",
EventType_OrganizationEnabled: "OrganizationEnabled",
EventType_IssuerRegistered: "IssuerRegistered",
EventType_IssuerActivated: "IssuerActivated",
EventType_IssuerUpdated: "IssuerUpdated",
EventType_ProfileRegistered: "ProfileRegistered",
EventType_ProfileDeleted: "ProfileDeleted",
EventType_CertificateIssued: "CertificateIssued",
EventType_CertificateRevoked: "CertificateRevoked",
EventType_CrlPublished: "CrlPublished",
EventType_RootRegistered: "RootRegistered",
}
var EventType_Enum_Value = map[string]EventType_Enum{
"Unknown": EventType_Unknown,
"OrgCreated": EventType_OrgCreated,
"OrgUpdated": EventType_OrgUpdated,
"OrgDeleted": EventType_OrgDeleted,
"OrgMemberAdded": EventType_OrgMemberAdded,
"OrgMemberRemoved": EventType_OrgMemberRemoved,
"OrgMemberRoleChanged": EventType_OrgMemberRoleChanged,
"OrgMemberInvited": EventType_OrgMemberInvited,
"OrgMemberAccepted": EventType_OrgMemberAccepted,
"ProjectCreated": EventType_ProjectCreated,
"ProjectUpdated": EventType_ProjectUpdated,
"ProjectDeleted": EventType_ProjectDeleted,
"ProjectMemberAdded": EventType_ProjectMemberAdded,
"ProjectMemberRemoved": EventType_ProjectMemberRemoved,
"ProjectMemberRoleChanged": EventType_ProjectMemberRoleChanged,
"ProjectMemberInvited": EventType_ProjectMemberInvited,
"ProjectMemberAccepted": EventType_ProjectMemberAccepted,
"UserSignup": EventType_UserSignup,
"UserSignedOut": EventType_UserSignedOut,
"UserSignedIn": EventType_UserSignedIn,
"UserDisabled": EventType_UserDisabled,
"UserEnabled": EventType_UserEnabled,
"TokenRevoked": EventType_TokenRevoked,
"APIKeyCreated": EventType_APIKeyCreated,
"APIKeyDeleted": EventType_APIKeyDeleted,
"APIKeyLogin": EventType_APIKeyLogin,
"OrganizationDisabled": EventType_OrganizationDisabled,
"OrganizationEnabled": EventType_OrganizationEnabled,
"IssuerRegistered": EventType_IssuerRegistered,
"IssuerActivated": EventType_IssuerActivated,
"IssuerUpdated": EventType_IssuerUpdated,
"ProfileRegistered": EventType_ProfileRegistered,
"ProfileDeleted": EventType_ProfileDeleted,
"CertificateIssued": EventType_CertificateIssued,
"CertificateRevoked": EventType_CertificateRevoked,
"CrlPublished": EventType_CrlPublished,
"RootRegistered": EventType_RootRegistered,
}
var EventType_Enum_displayName = map[int32]string{
0: Display_EventType_Unknown,
1: Display_EventType_OrgCreated,
2: Display_EventType_OrgUpdated,
3: Display_EventType_OrgDeleted,
4: Display_EventType_OrgMemberAdded,
5: Display_EventType_OrgMemberRemoved,
6: Display_EventType_OrgMemberRoleChanged,
7: Display_EventType_OrgMemberInvited,
8: Display_EventType_OrgMemberAccepted,
9: Display_EventType_ProjectCreated,
10: Display_EventType_ProjectUpdated,
11: Display_EventType_ProjectDeleted,
12: Display_EventType_ProjectMemberAdded,
13: Display_EventType_ProjectMemberRemoved,
14: Display_EventType_ProjectMemberRoleChanged,
15: Display_EventType_ProjectMemberInvited,
16: Display_EventType_ProjectMemberAccepted,
20: Display_EventType_UserSignup,
21: Display_EventType_UserSignedOut,
22: Display_EventType_UserSignedIn,
23: Display_EventType_UserDisabled,
24: Display_EventType_UserEnabled,
25: Display_EventType_TokenRevoked,
31: Display_EventType_APIKeyCreated,
32: Display_EventType_APIKeyDeleted,
33: Display_EventType_APIKeyLogin,
36: Display_EventType_OrganizationDisabled,
37: Display_EventType_OrganizationEnabled,
100: Display_EventType_IssuerRegistered,
101: Display_EventType_IssuerActivated,
102: Display_EventType_IssuerUpdated,
103: Display_EventType_ProfileRegistered,
104: Display_EventType_ProfileDeleted,
105: Display_EventType_CertificateIssued,
106: Display_EventType_CertificateRevoked,
107: Display_EventType_CrlPublished,
108: Display_EventType_RootRegistered,
}
var Event_MessageDescription = &api.MessageDescription{
Name: "Event",
FullName: "pb.Event",
Documentation: `Event describes event`,
Fields: []*api.FieldMeta{
{
Name: "ID",
FullName: "pb.Event.ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `ID is the event ID`,
},
{
Name: "OrgID",
FullName: "pb.Event.OrgID",
Display: "Org ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `OrgID is the org ID if the event is related to a org.`,
},
{
Name: "Type",
FullName: "pb.Event.Type",
Type: "int32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
EnumDescription: EventType_Enum_EnumDescription,
},
{
Name: "Title",
FullName: "pb.Event.Title",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
},
{
Name: "Description",
FullName: "pb.Event.Description",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
},
{
Name: "ReferenceID",
FullName: "pb.Event.ReferenceID",
Display: "Reference ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `ReferenceID is the ID of the referenced entity.`,
},
{
Name: "Email",
FullName: "pb.Event.Email",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Email is the email of the user who performed the action, optional`,
},
{
Name: "Source",
FullName: "pb.Event.Source",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Source is the source of the event, optional`,
},
{
Name: "Metadata",
FullName: "pb.Event.Metadata",
Type: "[]struct",
StructName: "pb.KVPair",
SearchType: "flat_object",
Documentation: `Metadata is additional data of the event. Orgs.ListEvents returns it
to the members of the org, so an emitter records only values the
tenant may see; no emitter records any today`,
},
{
Name: "CreatedAt",
FullName: "pb.Event.CreatedAt",
Display: "Created At",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `CreatedAt is the timestamp of the event creation in RFC3339 format.`,
},
{
Name: "ProjectID",
FullName: "pb.Event.ProjectID",
Display: "Project ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `ProjectID is the project ID if the event is related to a project.`,
},
},
}
var EventsResponse_MessageDescription = &api.MessageDescription{
Name: "EventsResponse",
Display: "Events Response",
FullName: "pb.EventsResponse",
Documentation: `EventsResponse returns a page of events, newest first`,
Fields: []*api.FieldMeta{
{
Name: "Events",
FullName: "pb.EventsResponse.Events",
Type: "[]struct",
StructName: "pb.Event",
SearchType: "flat_object",
Documentation: `Events is the list of events`,
},
{
Name: "NextPage",
FullName: "pb.EventsResponse.NextPage",
Display: "Next Page",
Type: "struct",
StructName: "pb.NextPage",
SearchType: "flat_object",
Documentation: `NextPage specifies pagination information, if there are more pages to
fetch. If there are no more pages to fetch, NextPage will be empty.`,
},
},
}
var ExchangeCodeRequest_MessageDescription = &api.MessageDescription{
Name: "ExchangeCodeRequest",
Display: "Exchange Code Request",
FullName: "pb.ExchangeCodeRequest",
Documentation: `ExchangeCodeRequest exchanges the one-time code for a token.
The Code is returned as part of OAuth flow and valid for 30 seconds.
It must be exchanged to Access Token following code_challenge verification.`,
Fields: []*api.FieldMeta{
{
Name: "Code",
FullName: "pb.ExchangeCodeRequest.Code",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Code is the code to be exchanged for a token`,
},
{
Name: "Verifier",
FullName: "pb.ExchangeCodeRequest.Verifier",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Verifier is the code verifier for the code_challenge`,
},
},
}
var ExpiryBucket_MessageDescription = &api.MessageDescription{
Name: "ExpiryBucket",
Display: "Expiry Bucket",
FullName: "pb.ExpiryBucket",
Documentation: `ExpiryBucket is the number of Active certificates whose validity ends
within a number of days after the time of the summary`,
Fields: []*api.FieldMeta{
{
Name: "Days",
FullName: "pb.ExpiryBucket.Days",
Type: "uint32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Days after the time of the summary`,
},
{
Name: "Count",
FullName: "pb.ExpiryBucket.Count",
Type: "uint32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Count of the Active certificates that expire within the days`,
},
},
}
var File_auth_proto protoreflect.FileDescriptor
var File_ca_proto protoreflect.FileDescriptor
var File_cis_proto protoreflect.FileDescriptor
var File_orgs_proto protoreflect.FileDescriptor
var File_pkix_proto protoreflect.FileDescriptor
var File_status_proto protoreflect.FileDescriptor
var File_types_proto protoreflect.FileDescriptor
var GetCertificateInfoRequest_MessageDescription = &api.MessageDescription{
Name: "GetCertificateInfoRequest",
Display: "Get Certificate Info Request",
FullName: "pb.GetCertificateInfoRequest",
Documentation: `GetCertificateInfoRequest specifies a certificate by ID, SKID, Sha256 or
issuer and serial number`,
Fields: []*api.FieldMeta{
{
Name: "ID",
FullName: "pb.GetCertificateInfoRequest.ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
RequiredOr: []string{"SKID", "Sha256", "IssuerSerial"},
Documentation: `ID specifies certificate ID`,
},
{
Name: "SKID",
FullName: "pb.GetCertificateInfoRequest.SKID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
RequiredOr: []string{"ID", "Sha256", "IssuerSerial"},
Documentation: `SKID specifies Subject Key ID to search`,
},
{
Name: "Sha256",
FullName: "pb.GetCertificateInfoRequest.Sha256",
Display: "Sha 256",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
RequiredOr: []string{"ID", "SKID", "IssuerSerial"},
Documentation: `Sha256 specifies the certificate thumbprint to search`,
},
{
Name: "IssuerSerial",
FullName: "pb.GetCertificateInfoRequest.IssuerSerial",
Display: "Issuer Serial",
Type: "struct",
StructName: "pb.IssuerSerial",
SearchType: "flat_object",
RequiredOr: []string{"ID", "SKID", "Sha256"},
Documentation: `IssuerSerial specifies Issuer Key ID and certificate serial number`,
},
},
}
var GetCertificateRequest_MessageDescription = &api.MessageDescription{
Name: "GetCertificateRequest",
Display: "Get Certificate Request",
FullName: "pb.GetCertificateRequest",
Documentation: `GetCertificateRequest specifies certificate by ID, SKID, Sha256 or issuer
and serial number`,
Fields: []*api.FieldMeta{
{
Name: "ID",
FullName: "pb.GetCertificateRequest.ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
RequiredOr: []string{"SKID", "Sha256", "IssuerSerial"},
Documentation: `ID specifies certificate ID`,
},
{
Name: "SKID",
FullName: "pb.GetCertificateRequest.SKID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
RequiredOr: []string{"ID", "Sha256", "IssuerSerial"},
Documentation: `SKID specifies Subject Key ID to search`,
},
{
Name: "Sha256",
FullName: "pb.GetCertificateRequest.Sha256",
Display: "Sha 256",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
RequiredOr: []string{"ID", "SKID", "IssuerSerial"},
Documentation: `Sha256 specifies the certificate thumbprint to search`,
},
{
Name: "IssuerSerial",
FullName: "pb.GetCertificateRequest.IssuerSerial",
Display: "Issuer Serial",
Type: "struct",
StructName: "pb.IssuerSerial",
SearchType: "flat_object",
RequiredOr: []string{"ID", "SKID", "Sha256"},
Documentation: `IssuerSerial specifies Issuer Key ID and certificate serial number`,
},
},
}
var GetCrlRequest_MessageDescription = &api.MessageDescription{
Name: "GetCrlRequest",
Display: "Get Crl Request",
FullName: "pb.GetCrlRequest",
Documentation: `GetCrlRequest specifies CRL request by IKID`,
Fields: []*api.FieldMeta{
{
Name: "IKID",
FullName: "pb.GetCrlRequest.IKID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Required: true,
Documentation: `IKID specifies Issuer Key ID`,
},
},
}
var GetIssuerInfoRequest_MessageDescription = &api.MessageDescription{
Name: "GetIssuerInfoRequest",
Display: "Get Issuer Info Request",
FullName: "pb.GetIssuerInfoRequest",
Documentation: `GetIssuerInfoRequest specifies an issuer by IKID`,
Fields: []*api.FieldMeta{
{
Name: "IKID",
FullName: "pb.GetIssuerInfoRequest.IKID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Required: true,
Documentation: `IKID specifies Issuer Key ID`,
},
},
}
var GetIssuerRequest_MessageDescription = &api.MessageDescription{
Name: "GetIssuerRequest",
Display: "Get Issuer Request",
FullName: "pb.GetIssuerRequest",
Documentation: `GetIssuerRequest specifies an issuer by ID, label or IKID`,
Fields: []*api.FieldMeta{
{
Name: "ProjectID",
FullName: "pb.GetIssuerRequest.ProjectID",
Display: "Project ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `ProjectID of the owning project; used with Label`,
},
{
Name: "ID",
FullName: "pb.GetIssuerRequest.ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
RequiredOr: []string{"Label", "IKID"},
Documentation: `ID of the issuer`,
},
{
Name: "Label",
FullName: "pb.GetIssuerRequest.Label",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
RequiredOr: []string{"ID", "IKID"},
Documentation: `Label of the issuer, resolved as (Org, Project) then (Org)`,
},
{
Name: "IKID",
FullName: "pb.GetIssuerRequest.IKID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
RequiredOr: []string{"ID", "Label"},
Documentation: `IKID specifies Issuer Key ID`,
},
},
}
var GetMembersRequest_MessageDescription = &api.MessageDescription{
Name: "GetMembersRequest",
Display: "Get Members Request",
FullName: "pb.GetMembersRequest",
Documentation: `GetMembersRequest specifies request to list members and invites of the
org selected in the token. Without ProjectID and Scope, grants of all
scopes are returned.`,
Fields: []*api.FieldMeta{
{
Name: "ProjectID",
FullName: "pb.GetMembersRequest.ProjectID",
Display: "Project ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `ProjectID limits the result to Project scope grants of the project`,
},
{
Name: "Scope",
FullName: "pb.GetMembersRequest.Scope",
Type: "int32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
EnumDescription: Scope_Enum_EnumDescription,
Documentation: `Scope limits the result to Org scope grants when set to Org`,
},
},
}
var GetProfileRequest_MessageDescription = &api.MessageDescription{
Name: "GetProfileRequest",
Display: "Get Profile Request",
FullName: "pb.GetProfileRequest",
Documentation: `GetProfileRequest specifies a profile by ID or label`,
Fields: []*api.FieldMeta{
{
Name: "ProjectID",
FullName: "pb.GetProfileRequest.ProjectID",
Display: "Project ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `ProjectID of the owning project; used with Label`,
},
{
Name: "ID",
FullName: "pb.GetProfileRequest.ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
RequiredOr: []string{"Label"},
Documentation: `ID of the profile`,
},
{
Name: "Label",
FullName: "pb.GetProfileRequest.Label",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
RequiredOr: []string{"ID"},
Documentation: `Label of the profile, resolved as (Org, Project) then (Org)`,
},
},
}
var GetProjectRequest_MessageDescription = &api.MessageDescription{
Name: "GetProjectRequest",
Display: "Get Project Request",
FullName: "pb.GetProjectRequest",
Documentation: `GetProjectRequest specifies a project by ID or alias`,
Fields: []*api.FieldMeta{
{
Name: "ProjectID",
FullName: "pb.GetProjectRequest.ProjectID",
Display: "Project ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
RequiredOr: []string{"Alias"},
},
{
Name: "Alias",
FullName: "pb.GetProjectRequest.Alias",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
RequiredOr: []string{"ProjectID"},
},
},
}
var GetRootsRequest_MessageDescription = &api.MessageDescription{
Name: "GetRootsRequest",
Display: "Get Roots Request",
FullName: "pb.GetRootsRequest",
Documentation: `GetRootsRequest specifies a list of the published trust anchors`,
Fields: []*api.FieldMeta{
{
Name: "OrgID",
FullName: "pb.GetRootsRequest.OrgID",
Display: "Org ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `OrgID selects the anchors of an org; empty lists the platform
anchors. It is a lookup, not a tenant scope: the anchors are public
and any authenticated caller reads those of any org.`,
},
{
Name: "Limit",
FullName: "pb.GetRootsRequest.Limit",
Type: "uint32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Limit specifies maximum number of records to return`,
},
{
Name: "Offset",
FullName: "pb.GetRootsRequest.Offset",
Type: "uint32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Offset specifies offset for the offset-based pagination`,
},
{
Name: "Cursor",
FullName: "pb.GetRootsRequest.Cursor",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Cursor specifies cursor for the cursor-based pagination`,
},
},
}
var GetSummaryRequest_MessageDescription = &api.MessageDescription{
Name: "GetSummaryRequest",
Display: "Get Summary Request",
FullName: "pb.GetSummaryRequest",
Documentation: `GetSummaryRequest specifies the scope of the summary`,
Fields: []*api.FieldMeta{
{
Name: "ProjectID",
FullName: "pb.GetSummaryRequest.ProjectID",
Display: "Project ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `ProjectID limits the summary to the project; empty summarizes the
org-wide rows and the projects the caller may read. An API key
restricted to a project gets its project.`,
},
},
}
var IDP_Enum_DisplayName = map[IDP_Enum]string{
IDP_Undefined: Display_IDP_Undefined,
IDP_Google: Display_IDP_Google,
IDP_Github: Display_IDP_Github,
IDP_Gitlab: Display_IDP_Gitlab,
IDP_Local: Display_IDP_Local,
}
var IDP_Enum_EnumDescription = &api.EnumDescription{
Name: "IDP_Enum",
FullName: "pb.IDP.Enum",
IsBitmask: false,
Enums: []*api.EnumMeta{
{
Value: 0,
Name: "Undefined",
FullName: "pb.IDP.Undefined",
Display: Display_IDP_Undefined,
Documentation: `Undefined indicates that the IDP is undefined`,
},
{
Value: 1,
Name: "Google",
FullName: "pb.IDP.Google",
Display: Display_IDP_Google,
Documentation: `Google indicates that the IDP is Google`,
},
{
Value: 2,
Name: "Github",
FullName: "pb.IDP.Github",
Display: Display_IDP_Github,
Documentation: `Github indicates that the IDP is Github`,
},
{
Value: 3,
Name: "Gitlab",
FullName: "pb.IDP.Gitlab",
Display: Display_IDP_Gitlab,
Documentation: `Gitlab indicates that the IDP is Gitlab`,
},
{
Value: 1000,
Name: "Local",
FullName: "pb.IDP.Local",
Display: Display_IDP_Local,
Documentation: `Local indicates that the IDP is local for testing`,
},
},
}
var IDP_Enum_Meta = map[IDP_Enum]*api.EnumMeta{
IDP_Undefined: IDP_Enum_EnumDescription.Enums[0],
IDP_Google: IDP_Enum_EnumDescription.Enums[1],
IDP_Github: IDP_Enum_EnumDescription.Enums[2],
IDP_Gitlab: IDP_Enum_EnumDescription.Enums[3],
IDP_Local: IDP_Enum_EnumDescription.Enums[4],
}
var IDP_Enum_Name = map[IDP_Enum]string{
IDP_Undefined: "Undefined",
IDP_Google: "Google",
IDP_Github: "Github",
IDP_Gitlab: "Gitlab",
IDP_Local: "Local",
}
var IDP_Enum_Value = map[string]IDP_Enum{
"Undefined": IDP_Undefined,
"Google": IDP_Google,
"Github": IDP_Github,
"Gitlab": IDP_Gitlab,
"Local": IDP_Local,
}
var IDP_Enum_displayName = map[int32]string{
0: Display_IDP_Undefined,
1: Display_IDP_Google,
2: Display_IDP_Github,
3: Display_IDP_Gitlab,
1000: Display_IDP_Local,
}
var ImportIssuerRequest_MessageDescription = &api.MessageDescription{
Name: "ImportIssuerRequest",
Display: "Import Issuer Request",
FullName: "pb.ImportIssuerRequest",
Documentation: `ImportIssuerRequest specifies a request to import an existing issuer`,
Fields: []*api.FieldMeta{
{
Name: "ProjectID",
FullName: "pb.ImportIssuerRequest.ProjectID",
Display: "Project ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `ProjectID of the owning project; empty for an org-wide issuer`,
},
{
Name: "Label",
FullName: "pb.ImportIssuerRequest.Label",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Required: true,
Max: 64,
Documentation: `Label of the issuer, unique per (Org, Project)`,
},
{
Name: "Type",
FullName: "pb.ImportIssuerRequest.Type",
Type: "int32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
EnumDescription: AuthorityType_Enum_EnumDescription,
Required: true,
Documentation: `Type of the authority`,
},
{
Name: "Certificate",
FullName: "pb.ImportIssuerRequest.Certificate",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Required: true,
Documentation: `Certificate provides the issuer certificate in PEM format`,
},
{
Name: "Intermediates",
FullName: "pb.ImportIssuerRequest.Intermediates",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Intermediates provides the intermediate CA certificates in PEM format`,
},
{
Name: "Root",
FullName: "pb.ImportIssuerRequest.Root",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Root provides the Root CA certificate in PEM format`,
},
{
Name: "KeyURI",
FullName: "pb.ImportIssuerRequest.KeyURI",
Display: "Key URI",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
RequiredOr: []string{"KeyPem"},
Documentation: `KeyURI references an existing key in a crypto provider,
e.g. awskms://..., gcpkms://..., pkcs11:...`,
},
{
Name: "KeyPem",
FullName: "pb.ImportIssuerRequest.KeyPem",
Display: "Key Pem",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
RequiredOr: []string{"KeyURI"},
Documentation: `KeyPem provides the private key in PEM format.
It is stored protected by the data protection provider.`,
},
{
Name: "Config",
FullName: "pb.ImportIssuerRequest.Config",
Type: "struct",
StructName: "pb.IssuerConfig",
SearchType: "flat_object",
Documentation: `Config provides runtime settings`,
},
},
}
var Invite_MessageDescription = &api.MessageDescription{
Name: "Invite",
FullName: "pb.Invite",
Documentation: `Invite provides an org or project invite`,
Fields: []*api.FieldMeta{
{
Name: "ID",
FullName: "pb.Invite.ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
},
{
Name: "OrgID",
FullName: "pb.Invite.OrgID",
Display: "Org ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
},
{
Name: "InviterID",
FullName: "pb.Invite.InviterID",
Display: "Inviter ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
},
{
Name: "Email",
FullName: "pb.Invite.Email",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
},
{
Name: "CreatedAt",
FullName: "pb.Invite.CreatedAt",
Display: "Created At",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
},
{
Name: "Role",
FullName: "pb.Invite.Role",
Type: "int32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
EnumDescription: Role_Enum_EnumDescription,
},
{
Name: "Scope",
FullName: "pb.Invite.Scope",
Type: "int32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
EnumDescription: Scope_Enum_EnumDescription,
Documentation: `Scope of the invite: Org or Project`,
},
{
Name: "ProjectID",
FullName: "pb.Invite.ProjectID",
Display: "Project ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `ProjectID is set for Project scope invites`,
},
{
Name: "ExpiresAt",
FullName: "pb.Invite.ExpiresAt",
Display: "Expires At",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `ExpiresAt in RFC3339 format; expired invites grant nothing`,
},
},
}
var IssuerConfig_MessageDescription = &api.MessageDescription{
Name: "IssuerConfig",
Display: "Issuer Config",
FullName: "pb.IssuerConfig",
Documentation: `IssuerConfig provides runtime settings of an issuer.
The shape matches the 'issuers[].aia' section of ca-config files.
The URL templates name the issuer with ':ISSUER_ID', which is replaced
with the issuer's SKID. The API also accepts '${ISSUER_ID}'; a ca-config
file cannot use it, since its loader expands '${...}' as an environment
variable, and the bootstrap refuses such a file.`,
Fields: []*api.FieldMeta{
{
Name: "AiaURL",
FullName: "pb.IssuerConfig.AiaURL",
Display: "Aia URL",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `AiaURL specifies a template for the AIA Issuer URL`,
},
{
Name: "OcspURL",
FullName: "pb.IssuerConfig.OcspURL",
Display: "Ocsp URL",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `OcspURL specifies a template for the OCSP URL`,
},
{
Name: "CrlURL",
FullName: "pb.IssuerConfig.CrlURL",
Display: "Crl URL",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `CrlURL specifies a template for the CRL Distribution Point URL`,
},
{
Name: "CrlExpiry",
FullName: "pb.IssuerConfig.CrlExpiry",
Display: "Crl Expiry",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `CrlExpiry specifies the duration of CRL validity, e.g. 48h`,
},
{
Name: "CrlRenewal",
FullName: "pb.IssuerConfig.CrlRenewal",
Display: "Crl Renewal",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `CrlRenewal specifies how long before NextUpdate the CRL is renewed`,
},
{
Name: "OcspExpiry",
FullName: "pb.IssuerConfig.OcspExpiry",
Display: "Ocsp Expiry",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `OcspExpiry specifies the duration of OCSP response validity`,
},
{
Name: "DelegatedOcspProfile",
FullName: "pb.IssuerConfig.DelegatedOcspProfile",
Display: "Delegated Ocsp Profile",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `DelegatedOcspProfile specifies the profile to issue a delegated OCSP
responder certificate; empty to sign OCSP with the issuer key`,
},
{
Name: "AllowedProfiles",
FullName: "pb.IssuerConfig.AllowedProfiles",
Display: "Allowed Profiles",
Type: "[]string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `AllowedProfiles restricts the profiles the issuer may sign.
Required for profiles with IssuerLabel "*".`,
},
{
Name: "OmitDisabledExtensions",
FullName: "pb.IssuerConfig.OmitDisabledExtensions",
Display: "Omit Disabled Extensions",
Type: "bool",
SearchType: "boolean",
SearchOptions: api.SearchOption_Sortable,
Documentation: `OmitDisabledExtensions specifies to drop not allowed extensions
instead of failing the request`,
},
},
}
var IssuerInfo_MessageDescription = &api.MessageDescription{
Name: "IssuerInfo",
Display: "Issuer Info",
FullName: "pb.IssuerInfo",
Documentation: `IssuerInfo provides the public view of an issuer`,
Fields: []*api.FieldMeta{
{
Name: "Label",
FullName: "pb.IssuerInfo.Label",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Label of the issuer`,
},
{
Name: "Type",
FullName: "pb.IssuerInfo.Type",
Type: "int32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
EnumDescription: AuthorityType_Enum_EnumDescription,
Documentation: `Type of the authority`,
},
{
Name: "Status",
FullName: "pb.IssuerInfo.Status",
Type: "int32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
EnumDescription: IssuerStatus_Enum_EnumDescription,
Documentation: `Status of the issuer`,
},
{
Name: "SKID",
FullName: "pb.IssuerInfo.SKID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `SKID provides Subject Key Identifier`,
},
{
Name: "Subject",
FullName: "pb.IssuerInfo.Subject",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Subject name`,
},
{
Name: "NotBefore",
FullName: "pb.IssuerInfo.NotBefore",
Display: "Not Before",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `NotBefore in RFC3339 format`,
},
{
Name: "NotAfter",
FullName: "pb.IssuerInfo.NotAfter",
Display: "Not After",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `NotAfter in RFC3339 format`,
},
{
Name: "Certificate",
FullName: "pb.IssuerInfo.Certificate",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Certificate provides the issuer certificate in PEM format`,
},
{
Name: "Intermediates",
FullName: "pb.IssuerInfo.Intermediates",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Intermediates provides the intermediate CA certificates in PEM format`,
},
{
Name: "Root",
FullName: "pb.IssuerInfo.Root",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Root provides the Root CA certificate in PEM format`,
},
{
Name: "CrlURL",
FullName: "pb.IssuerInfo.CrlURL",
Display: "Crl URL",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `CrlURL is the CRL Distribution Point`,
},
{
Name: "OcspURL",
FullName: "pb.IssuerInfo.OcspURL",
Display: "Ocsp URL",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `OcspURL is the OCSP responder URL`,
},
{
Name: "AiaURL",
FullName: "pb.IssuerInfo.AiaURL",
Display: "Aia URL",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `AiaURL is the AIA issuer certificate URL`,
},
},
}
var IssuerSerial_MessageDescription = &api.MessageDescription{
Name: "IssuerSerial",
Display: "Issuer Serial",
FullName: "pb.IssuerSerial",
Documentation: `IssuerSerial identifies a certificate by its issuer and serial number`,
Fields: []*api.FieldMeta{
{
Name: "IKID",
FullName: "pb.IssuerSerial.IKID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `IKID provides Issuer Key Identifier`,
},
{
Name: "SerialNumber",
FullName: "pb.IssuerSerial.SerialNumber",
Display: "Serial Number",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `SerialNumber provides certificate's serial number`,
},
},
}
var IssuerStatusCount_MessageDescription = &api.MessageDescription{
Name: "IssuerStatusCount",
Display: "Issuer Status Count",
FullName: "pb.IssuerStatusCount",
Documentation: `IssuerStatusCount is the number of issuers of a lifecycle status`,
Fields: []*api.FieldMeta{
{
Name: "Status",
FullName: "pb.IssuerStatusCount.Status",
Type: "int32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
EnumDescription: IssuerStatus_Enum_EnumDescription,
Documentation: `Status of the issuers`,
},
{
Name: "Count",
FullName: "pb.IssuerStatusCount.Count",
Type: "uint32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Count of the issuers of the status`,
},
},
}
var IssuerStatus_Enum_DisplayName = map[IssuerStatus_Enum]string{
IssuerStatus_Unknown: Display_IssuerStatus_Unknown,
IssuerStatus_Pending: Display_IssuerStatus_Pending,
IssuerStatus_Active: Display_IssuerStatus_Active,
IssuerStatus_Archived: Display_IssuerStatus_Archived,
IssuerStatus_Destroyed: Display_IssuerStatus_Destroyed,
}
var IssuerStatus_Enum_EnumDescription = &api.EnumDescription{
Name: "IssuerStatus_Enum",
FullName: "pb.IssuerStatus.Enum",
IsBitmask: false,
Enums: []*api.EnumMeta{
{
Value: 0,
Name: "Unknown",
FullName: "pb.IssuerStatus.Unknown",
Display: Display_IssuerStatus_Unknown,
Documentation: `Unknown indicates that the issuer status is unknown`,
},
{
Value: 1,
Name: "Pending",
FullName: "pb.IssuerStatus.Pending",
Display: Display_IssuerStatus_Pending,
Documentation: `Pending indicates that the key is generated and the CSR is awaiting
an externally signed certificate`,
},
{
Value: 2,
Name: "Active",
FullName: "pb.IssuerStatus.Active",
Display: Display_IssuerStatus_Active,
Documentation: `Active indicates that the issuer signs certificates`,
},
{
Value: 3,
Name: "Archived",
FullName: "pb.IssuerStatus.Archived",
Display: Display_IssuerStatus_Archived,
Documentation: `Archived indicates that the issuer does not sign new certificates,
but still serves CRL and OCSP for the issued ones`,
},
{
Value: 4,
Name: "Destroyed",
FullName: "pb.IssuerStatus.Destroyed",
Display: Display_IssuerStatus_Destroyed,
Documentation: `Destroyed indicates that the private key is destroyed;
CRL and OCSP are no longer produced`,
},
},
Documentation: `IssuerStatus defines lifecycle status of an issuer`,
}
var IssuerStatus_Enum_Meta = map[IssuerStatus_Enum]*api.EnumMeta{
IssuerStatus_Unknown: IssuerStatus_Enum_EnumDescription.Enums[0],
IssuerStatus_Pending: IssuerStatus_Enum_EnumDescription.Enums[1],
IssuerStatus_Active: IssuerStatus_Enum_EnumDescription.Enums[2],
IssuerStatus_Archived: IssuerStatus_Enum_EnumDescription.Enums[3],
IssuerStatus_Destroyed: IssuerStatus_Enum_EnumDescription.Enums[4],
}
var IssuerStatus_Enum_Name = map[IssuerStatus_Enum]string{
IssuerStatus_Unknown: "Unknown",
IssuerStatus_Pending: "Pending",
IssuerStatus_Active: "Active",
IssuerStatus_Archived: "Archived",
IssuerStatus_Destroyed: "Destroyed",
}
var IssuerStatus_Enum_Value = map[string]IssuerStatus_Enum{
"Unknown": IssuerStatus_Unknown,
"Pending": IssuerStatus_Pending,
"Active": IssuerStatus_Active,
"Archived": IssuerStatus_Archived,
"Destroyed": IssuerStatus_Destroyed,
}
var IssuerStatus_Enum_displayName = map[int32]string{
0: Display_IssuerStatus_Unknown,
1: Display_IssuerStatus_Pending,
2: Display_IssuerStatus_Active,
3: Display_IssuerStatus_Archived,
4: Display_IssuerStatus_Destroyed,
}
var Issuer_MessageDescription = &api.MessageDescription{
Name: "Issuer",
FullName: "pb.Issuer",
Documentation: `Issuer provides issuing authority information.
Private key material is never returned.`,
Fields: []*api.FieldMeta{
{
Name: "ID",
FullName: "pb.Issuer.ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `ID of the issuer`,
},
{
Name: "OrgID",
FullName: "pb.Issuer.OrgID",
Display: "Org ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `OrgID of the owning org; empty for platform issuers`,
},
{
Name: "ProjectID",
FullName: "pb.Issuer.ProjectID",
Display: "Project ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `ProjectID of the owning project; empty for org-wide issuers`,
},
{
Name: "Label",
FullName: "pb.Issuer.Label",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Label of the issuer, unique per (Org, Project)`,
},
{
Name: "Type",
FullName: "pb.Issuer.Type",
Type: "int32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
EnumDescription: AuthorityType_Enum_EnumDescription,
Documentation: `Type of the authority`,
},
{
Name: "Status",
FullName: "pb.Issuer.Status",
Type: "int32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
EnumDescription: IssuerStatus_Enum_EnumDescription,
Documentation: `Status of the issuer`,
},
{
Name: "ParentID",
FullName: "pb.Issuer.ParentID",
Display: "Parent ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `ParentID of the issuer that signed this one; empty for roots and
externally signed issuers`,
},
{
Name: "SKID",
FullName: "pb.Issuer.SKID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `SKID provides Subject Key Identifier`,
},
{
Name: "IKID",
FullName: "pb.Issuer.IKID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `IKID provides Issuer Key Identifier`,
},
{
Name: "SerialNumber",
FullName: "pb.Issuer.SerialNumber",
Display: "Serial Number",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `SerialNumber of the issuer certificate`,
},
{
Name: "Subject",
FullName: "pb.Issuer.Subject",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Subject name`,
},
{
Name: "Issuer",
FullName: "pb.Issuer.Issuer",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Issuer name`,
},
{
Name: "Sha256",
FullName: "pb.Issuer.Sha256",
Display: "Sha 256",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Sha256 thumbprint of the certificate`,
},
{
Name: "NotBefore",
FullName: "pb.Issuer.NotBefore",
Display: "Not Before",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `NotBefore in RFC3339 format`,
},
{
Name: "NotAfter",
FullName: "pb.Issuer.NotAfter",
Display: "Not After",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `NotAfter in RFC3339 format`,
},
{
Name: "Certificate",
FullName: "pb.Issuer.Certificate",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Certificate provides the issuer certificate in PEM format`,
},
{
Name: "Intermediates",
FullName: "pb.Issuer.Intermediates",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Intermediates provides the intermediate CA certificates in PEM format`,
},
{
Name: "Root",
FullName: "pb.Issuer.Root",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Root provides the Root CA certificate in PEM format`,
},
{
Name: "Csr",
FullName: "pb.Issuer.Csr",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Csr provides the PEM encoded CSR while the issuer is Pending`,
},
{
Name: "KeyProvider",
FullName: "pb.Issuer.KeyProvider",
Display: "Key Provider",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `KeyProvider is the crypto provider holding the private key`,
},
{
Name: "Config",
FullName: "pb.Issuer.Config",
Type: "struct",
StructName: "pb.IssuerConfig",
SearchType: "flat_object",
Documentation: `Config provides runtime settings`,
},
{
Name: "Profiles",
FullName: "pb.Issuer.Profiles",
Type: "[]string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Profiles specifies the list of profile labels the issuer supports`,
},
{
Name: "CrlNumber",
FullName: "pb.Issuer.CrlNumber",
Display: "Crl Number",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `CrlNumber is the last published CRL number`,
},
{
Name: "CreatedAt",
FullName: "pb.Issuer.CreatedAt",
Display: "Created At",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `CreatedAt in RFC3339 format`,
},
{
Name: "UpdatedAt",
FullName: "pb.Issuer.UpdatedAt",
Display: "Updated At",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `UpdatedAt in RFC3339 format`,
},
},
}
var IssuersResponse_MessageDescription = &api.MessageDescription{
Name: "IssuersResponse",
Display: "Issuers Response",
FullName: "pb.IssuersResponse",
Documentation: `IssuersResponse returns list of issuers`,
Fields: []*api.FieldMeta{
{
Name: "Issuers",
FullName: "pb.IssuersResponse.Issuers",
Type: "[]struct",
StructName: "pb.Issuer",
SearchType: "flat_object",
},
{
Name: "NextPage",
FullName: "pb.IssuersResponse.NextPage",
Display: "Next Page",
Type: "struct",
StructName: "pb.NextPage",
SearchType: "flat_object",
Documentation: `NextPage specifies pagination information, if there are more pages to
fetch. If there are no more pages to fetch, NextPage will be empty.`,
},
},
}
var ItemStatus_Enum_DisplayName = map[ItemStatus_Enum]string{
ItemStatus_Unknown: Display_ItemStatus_Unknown,
ItemStatus_Inactive: Display_ItemStatus_Inactive,
ItemStatus_Active: Display_ItemStatus_Active,
ItemStatus_Invalid: Display_ItemStatus_Invalid,
}
var ItemStatus_Enum_EnumDescription = &api.EnumDescription{
Name: "ItemStatus_Enum",
FullName: "pb.ItemStatus.Enum",
IsBitmask: false,
Enums: []*api.EnumMeta{
{
Value: 0,
Name: "Unknown",
FullName: "pb.ItemStatus.Unknown",
Display: Display_ItemStatus_Unknown,
Documentation: `Unknown indicates that the status is unknown`,
},
{
Value: 1,
Name: "Inactive",
FullName: "pb.ItemStatus.Inactive",
Display: Display_ItemStatus_Inactive,
Documentation: `Inactive indicates that the item is inactive or pending deletion`,
},
{
Value: 2,
Name: "Active",
FullName: "pb.ItemStatus.Active",
Display: Display_ItemStatus_Active,
Documentation: `Active indicates that the item is active and ready to use`,
},
{
Value: 4,
Name: "Invalid",
FullName: "pb.ItemStatus.Invalid",
Display: Display_ItemStatus_Invalid,
Documentation: `Invalid indicates that the item is invalid and needs an action to be
taken`,
},
},
Documentation: `ItemStatus defines status constants for items`,
}
var ItemStatus_Enum_Meta = map[ItemStatus_Enum]*api.EnumMeta{
ItemStatus_Unknown: ItemStatus_Enum_EnumDescription.Enums[0],
ItemStatus_Inactive: ItemStatus_Enum_EnumDescription.Enums[1],
ItemStatus_Active: ItemStatus_Enum_EnumDescription.Enums[2],
ItemStatus_Invalid: ItemStatus_Enum_EnumDescription.Enums[3],
}
var ItemStatus_Enum_Name = map[ItemStatus_Enum]string{
ItemStatus_Unknown: "Unknown",
ItemStatus_Inactive: "Inactive",
ItemStatus_Active: "Active",
ItemStatus_Invalid: "Invalid",
}
var ItemStatus_Enum_Value = map[string]ItemStatus_Enum{
"Unknown": ItemStatus_Unknown,
"Inactive": ItemStatus_Inactive,
"Active": ItemStatus_Active,
"Invalid": ItemStatus_Invalid,
}
var ItemStatus_Enum_displayName = map[int32]string{
0: Display_ItemStatus_Unknown,
1: Display_ItemStatus_Inactive,
2: Display_ItemStatus_Active,
4: Display_ItemStatus_Invalid,
}
var JsonMarshalOptions = protojson.MarshalOptions{
UseEnumNumbers: true,
EmitUnpopulated: false,
UseProtoNames: true,
AllowPartial: true,
}
var JsonUnmarshalOptions = protojson.UnmarshalOptions{
AllowPartial: true,
DiscardUnknown: true,
}
var KVPair_MessageDescription = &api.MessageDescription{
Name: "KVPair",
Display: "KV Pair",
FullName: "pb.KVPair",
Documentation: `KVPair provides generic key-value pair`,
Fields: []*api.FieldMeta{
{
Name: "Key",
FullName: "pb.KVPair.Key",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Facet | api.SearchOption_Sortable | api.SearchOption_Store,
Required: true,
Documentation: `Key is a key of the pair`,
},
{
Name: "Value",
FullName: "pb.KVPair.Value",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable | api.SearchOption_Store | api.SearchOption_Hidden,
Required: true,
Documentation: `Value is a value of the pair`,
},
},
}
var KVSet_MessageDescription = &api.MessageDescription{
Name: "KVSet",
Display: "KV Set",
FullName: "pb.KVSet",
Documentation: `KVSet provides groupped values under a common key`,
Fields: []*api.FieldMeta{
{
Name: "Key",
FullName: "pb.KVSet.Key",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Facet | api.SearchOption_Sortable | api.SearchOption_Store,
Required: true,
Documentation: `Key is a key of the set`,
},
{
Name: "Values",
FullName: "pb.KVSet.Values",
Type: "[]string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable | api.SearchOption_Store | api.SearchOption_Hidden,
Required: true,
MinCount: 1,
Documentation: `Values is a list of values under the key`,
},
},
}
var KeySpec_MessageDescription = &api.MessageDescription{
Name: "KeySpec",
Display: "Key Spec",
FullName: "pb.KeySpec",
Documentation: `KeySpec specifies the key to generate for an issuer`,
Fields: []*api.FieldMeta{
{
Name: "Algo",
FullName: "pb.KeySpec.Algo",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Algo specifies the key algorithm: RSA|ECDSA`,
},
{
Name: "Size",
FullName: "pb.KeySpec.Size",
Type: "int32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Size specifies RSA key size in bits or ECDSA curve size: 256|384|521`,
},
},
}
var ListAPIKeysRequest_MessageDescription = &api.MessageDescription{
Name: "ListAPIKeysRequest",
Display: "List API Keys Request",
FullName: "pb.ListAPIKeysRequest",
Fields: []*api.FieldMeta{
{
Name: "ProjectID",
FullName: "pb.ListAPIKeysRequest.ProjectID",
Display: "Project ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `ProjectID is optional for project scope.
If not provided, will use Org scope for the current token.`,
},
{
Name: "Status",
FullName: "pb.ListAPIKeysRequest.Status",
Type: "int32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
EnumDescription: ItemStatus_Enum_EnumDescription,
},
},
}
var ListCertificatesRequest_MessageDescription = &api.MessageDescription{
Name: "ListCertificatesRequest",
Display: "List Certificates Request",
FullName: "pb.ListCertificatesRequest",
Documentation: `ListCertificatesRequest specifies a paginated list of certificates,
sorted by ID descending (newest first)`,
Fields: []*api.FieldMeta{
{
Name: "ProjectID",
FullName: "pb.ListCertificatesRequest.ProjectID",
Display: "Project ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `ProjectID filters by project; empty returns org-wide and all project
certificates`,
},
{
Name: "IKID",
FullName: "pb.ListCertificatesRequest.IKID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `IKID filters by issuer`,
},
{
Name: "Profile",
FullName: "pb.ListCertificatesRequest.Profile",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Profile filters by profile label`,
},
{
Name: "Status",
FullName: "pb.ListCertificatesRequest.Status",
Type: "int32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
EnumDescription: CertificateStatus_Enum_EnumDescription,
Documentation: `Status filters by status; Unknown returns all`,
},
{
Name: "ExpiringBefore",
FullName: "pb.ListCertificatesRequest.ExpiringBefore",
Display: "Expiring Before",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `ExpiringBefore filters certificates with NotAfter before the time,
in RFC3339 format`,
},
{
Name: "Limit",
FullName: "pb.ListCertificatesRequest.Limit",
Type: "uint32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Limit specifies maximum number of records to return`,
},
{
Name: "Offset",
FullName: "pb.ListCertificatesRequest.Offset",
Type: "uint32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Offset specifies offset for the offset-based pagination`,
},
{
Name: "Cursor",
FullName: "pb.ListCertificatesRequest.Cursor",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Cursor specifies cursor for the cursor-based pagination.
Use "initial" to start the pagination or pass the cursor returned from
the previous request.`,
},
},
}
var ListEventsRequest_MessageDescription = &api.MessageDescription{
Name: "ListEventsRequest",
Display: "List Events Request",
FullName: "pb.ListEventsRequest",
Documentation: `ListEventsRequest specifies a page of the audit events of the org
selected in the token, newest first (Orgs.ListEvents); the list pages by
cursor only`,
Fields: []*api.FieldMeta{
{
Name: "ProjectID",
FullName: "pb.ListEventsRequest.ProjectID",
Display: "Project ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `ProjectID limits the result to the events of the project, in which
the caller needs a role; empty lists the events of the org the caller
may see`,
},
{
Name: "Type",
FullName: "pb.ListEventsRequest.Type",
Type: "int32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
EnumDescription: EventType_Enum_EnumDescription,
Documentation: `Type limits the result to one event type; Unknown returns every type`,
},
{
Name: "After",
FullName: "pb.ListEventsRequest.After",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `After is the inclusive start of the CreatedAt range in RFC3339
format; empty is unbounded`,
},
{
Name: "Before",
FullName: "pb.ListEventsRequest.Before",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Before is the exclusive end of the CreatedAt range in RFC3339 format,
later than After; empty is unbounded`,
},
{
Name: "Limit",
FullName: "pb.ListEventsRequest.Limit",
Type: "uint32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Limit specifies maximum number of records to return`,
},
{
Name: "Cursor",
FullName: "pb.ListEventsRequest.Cursor",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Cursor continues the listing: empty or "initial" returns the first
page, the Cursor of the previous NextPage the page after it`,
},
},
}
var ListIssuersRequest_MessageDescription = &api.MessageDescription{
Name: "ListIssuersRequest",
Display: "List Issuers Request",
FullName: "pb.ListIssuersRequest",
Documentation: `ListIssuersRequest specifies a paginated list of issuers`,
Fields: []*api.FieldMeta{
{
Name: "ProjectID",
FullName: "pb.ListIssuersRequest.ProjectID",
Display: "Project ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `ProjectID filters by project; empty returns org-wide and all project
issuers`,
},
{
Name: "Status",
FullName: "pb.ListIssuersRequest.Status",
Type: "int32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
EnumDescription: IssuerStatus_Enum_EnumDescription,
Documentation: `Status filters by status; Unknown returns all`,
},
{
Name: "Type",
FullName: "pb.ListIssuersRequest.Type",
Type: "int32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
EnumDescription: AuthorityType_Enum_EnumDescription,
Documentation: `Type filters by authority type; Unknown returns all`,
},
{
Name: "Limit",
FullName: "pb.ListIssuersRequest.Limit",
Type: "uint32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Limit specifies maximum number of records to return`,
},
{
Name: "Offset",
FullName: "pb.ListIssuersRequest.Offset",
Type: "uint32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Offset specifies offset for the offset-based pagination`,
},
{
Name: "Cursor",
FullName: "pb.ListIssuersRequest.Cursor",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Cursor specifies cursor for the cursor-based pagination.
Use "initial" to start the pagination or pass the cursor returned from
the previous request.`,
},
{
Name: "IDs",
FullName: "pb.ListIssuersRequest.IDs",
Type: "[]string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `IDs limits the result to the issuers with the IDs, at most 500: the
issuers of a page of certificates in one call. An issuer outside the
scope of the request is not returned.`,
},
{
Name: "IKIDs",
FullName: "pb.ListIssuersRequest.IKIDs",
Type: "[]string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `IKIDs limits the result to the issuers with the key identifiers, as
the certificates they issued carry them (the SKID of the issuer), at
most 500: the labels of the issuers of a page of certificates in one
call`,
},
},
}
var ListProfilesRequest_MessageDescription = &api.MessageDescription{
Name: "ListProfilesRequest",
Display: "List Profiles Request",
FullName: "pb.ListProfilesRequest",
Documentation: `ListProfilesRequest specifies a paginated list of profiles`,
Fields: []*api.FieldMeta{
{
Name: "ProjectID",
FullName: "pb.ListProfilesRequest.ProjectID",
Display: "Project ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `ProjectID filters by project; empty returns org-wide and all project
profiles`,
},
{
Name: "IssuerLabel",
FullName: "pb.ListProfilesRequest.IssuerLabel",
Display: "Issuer Label",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `IssuerLabel filters by issuer label`,
},
{
Name: "Limit",
FullName: "pb.ListProfilesRequest.Limit",
Type: "uint32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Limit specifies maximum number of records to return`,
},
{
Name: "Offset",
FullName: "pb.ListProfilesRequest.Offset",
Type: "uint32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Offset specifies offset for the offset-based pagination`,
},
{
Name: "Cursor",
FullName: "pb.ListProfilesRequest.Cursor",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Cursor specifies cursor for the cursor-based pagination`,
},
{
Name: "IDs",
FullName: "pb.ListProfilesRequest.IDs",
Type: "[]string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `IDs limits the result to the profiles with the IDs, at most 500. A
profile outside the scope of the request is not returned.`,
},
{
Name: "Labels",
FullName: "pb.ListProfilesRequest.Labels",
Type: "[]string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Labels limits the result to the profiles with the labels, in every
scope the request covers, at most 500: the profiles of a page of
certificates in one call`,
},
},
}
var ListProjectsRequest_MessageDescription = &api.MessageDescription{
Name: "ListProjectsRequest",
Display: "List Projects Request",
FullName: "pb.ListProjectsRequest",
Documentation: `ListProjectsRequest specifies a paginated list of projects`,
Fields: []*api.FieldMeta{
{
Name: "Status",
FullName: "pb.ListProjectsRequest.Status",
Type: "int32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
EnumDescription: ItemStatus_Enum_EnumDescription,
Documentation: `Status filters by status; Unknown returns all`,
},
{
Name: "Limit",
FullName: "pb.ListProjectsRequest.Limit",
Type: "uint32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Limit specifies maximum number of records to return`,
},
{
Name: "Offset",
FullName: "pb.ListProjectsRequest.Offset",
Type: "uint32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Offset specifies offset for the offset-based pagination`,
},
{
Name: "Cursor",
FullName: "pb.ListProjectsRequest.Cursor",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Cursor specifies cursor for the cursor-based pagination`,
},
},
}
var ListRevokedCertificatesRequest_MessageDescription = &api.MessageDescription{
Name: "ListRevokedCertificatesRequest",
Display: "List Revoked Certificates Request",
FullName: "pb.ListRevokedCertificatesRequest",
Documentation: `ListRevokedCertificatesRequest specifies a paginated list of revoked
certificates, sorted by revocation ID descending`,
Fields: []*api.FieldMeta{
{
Name: "ProjectID",
FullName: "pb.ListRevokedCertificatesRequest.ProjectID",
Display: "Project ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `ProjectID filters by project`,
},
{
Name: "IKID",
FullName: "pb.ListRevokedCertificatesRequest.IKID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `IKID filters by issuer`,
},
{
Name: "Limit",
FullName: "pb.ListRevokedCertificatesRequest.Limit",
Type: "uint32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Limit specifies maximum number of records to return`,
},
{
Name: "Offset",
FullName: "pb.ListRevokedCertificatesRequest.Offset",
Type: "uint32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Offset specifies offset for the offset-based pagination`,
},
{
Name: "Cursor",
FullName: "pb.ListRevokedCertificatesRequest.Cursor",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Cursor specifies cursor for the cursor-based pagination`,
},
},
}
var ListRootsRequest_MessageDescription = &api.MessageDescription{
Name: "ListRootsRequest",
Display: "List Roots Request",
FullName: "pb.ListRootsRequest",
Documentation: `ListRootsRequest specifies a list of trust anchors`,
Fields: []*api.FieldMeta{
{
Name: "Limit",
FullName: "pb.ListRootsRequest.Limit",
Type: "uint32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Limit specifies maximum number of records to return`,
},
{
Name: "Offset",
FullName: "pb.ListRootsRequest.Offset",
Type: "uint32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Offset specifies offset for the offset-based pagination`,
},
{
Name: "Cursor",
FullName: "pb.ListRootsRequest.Cursor",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Cursor specifies cursor for the cursor-based pagination`,
},
},
}
var MembersResponse_MessageDescription = &api.MessageDescription{
Name: "MembersResponse",
Display: "Members Response",
FullName: "pb.MembersResponse",
Documentation: `MembersResponse provides list of members and invites`,
Fields: []*api.FieldMeta{
{
Name: "Memberships",
FullName: "pb.MembersResponse.Memberships",
Type: "[]struct",
StructName: "pb.Membership",
SearchType: "flat_object",
},
{
Name: "Invites",
FullName: "pb.MembersResponse.Invites",
Type: "[]struct",
StructName: "pb.Invite",
SearchType: "flat_object",
},
},
}
var Membership_MessageDescription = &api.MessageDescription{
Name: "Membership",
FullName: "pb.Membership",
Documentation: `Membership is an explicit role assignment (grant).
Org scope grant (empty ProjectID) is inherited by every project of the org.
Project scope grant applies to the project only; grants are additive.`,
Fields: []*api.FieldMeta{
{
Name: "ID",
FullName: "pb.Membership.ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
},
{
Name: "OrgID",
FullName: "pb.Membership.OrgID",
Display: "Org ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
},
{
Name: "OrgAlias",
FullName: "pb.Membership.OrgAlias",
Display: "Org Alias",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
},
{
Name: "OrgName",
FullName: "pb.Membership.OrgName",
Display: "Org Name",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
},
{
Name: "UserID",
FullName: "pb.Membership.UserID",
Display: "User ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
},
{
Name: "Name",
FullName: "pb.Membership.Name",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
},
{
Name: "Email",
FullName: "pb.Membership.Email",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
},
{
Name: "Role",
FullName: "pb.Membership.Role",
Type: "int32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
EnumDescription: Role_Enum_EnumDescription,
},
{
Name: "CreatedAt",
FullName: "pb.Membership.CreatedAt",
Display: "Created At",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
},
{
Name: "Scope",
FullName: "pb.Membership.Scope",
Type: "int32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
EnumDescription: Scope_Enum_EnumDescription,
Documentation: `Scope of the grant: Org or Project`,
},
{
Name: "ProjectID",
FullName: "pb.Membership.ProjectID",
Display: "Project ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `ProjectID is set for Project scope grants`,
},
{
Name: "ProjectAlias",
FullName: "pb.Membership.ProjectAlias",
Display: "Project Alias",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
},
{
Name: "ProjectName",
FullName: "pb.Membership.ProjectName",
Display: "Project Name",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
},
},
}
var MethodAccess_MessageDescription = &api.MessageDescription{
Name: "MethodAccess",
Display: "Method Access",
FullName: "pb.MethodAccess",
Documentation: `MethodAccess describes the access rules of a method and whether the caller
satisfies them at org scope`,
Fields: []*api.FieldMeta{
{
Name: "Method",
FullName: "pb.MethodAccess.Method",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Method is the full method name`,
},
{
Name: "AllowedRoles",
FullName: "pb.MethodAccess.AllowedRoles",
Display: "Allowed Roles",
Type: "[]string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `AllowedRoles are the minimum roles at Org or Project scope; a caller with
a role that can assume any of them is allowed. Empty means any
authenticated caller.`,
},
{
Name: "Scopes",
FullName: "pb.MethodAccess.Scopes",
Type: "[]string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Scopes are required from an API key or a token with a scope claim`,
},
{
Name: "Allowed",
FullName: "pb.MethodAccess.Allowed",
Type: "bool",
SearchType: "boolean",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Allowed is true when the caller may call the method at org scope`,
},
},
}
var NextPage_MessageDescription = &api.MessageDescription{
Name: "NextPage",
Display: "Next Page",
FullName: "pb.NextPage",
Documentation: `NextPage specifies pagination information, if there are more pages to fetch.`,
Fields: []*api.FieldMeta{
{
Name: "Offset",
FullName: "pb.NextPage.Offset",
Type: "uint32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Offset is the offset of the next page for offset-based pagination.
Offset is limited to 10000.
To paginate for large number of records, use cursor-based pagination
instead.`,
},
{
Name: "Cursor",
FullName: "pb.NextPage.Cursor",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Cursor is the cursor of the next page for cursor-based pagination.
Use "initial" to start the pagination or pass the cursor returned from
this response.`,
},
},
}
var OCSPRequest_MessageDescription = &api.MessageDescription{
Name: "OCSPRequest",
Display: "OCSP Request",
FullName: "pb.OCSPRequest",
Documentation: `OCSPRequest provides DER encoded OCSP request`,
Fields: []*api.FieldMeta{
{
Name: "Der",
FullName: "pb.OCSPRequest.Der",
Type: "[]byte",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Required: true,
Documentation: `Der provides DER encoded request`,
},
},
}
var OCSPResponse_MessageDescription = &api.MessageDescription{
Name: "OCSPResponse",
Display: "OCSP Response",
FullName: "pb.OCSPResponse",
Documentation: `OCSPResponse returns DER encoded OCSP response`,
Fields: []*api.FieldMeta{
{
Name: "Der",
FullName: "pb.OCSPResponse.Der",
Type: "[]byte",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Der provides DER encoded response`,
},
},
}
var OrgAccess_MessageDescription = &api.MessageDescription{
Name: "OrgAccess",
Display: "Org Access",
FullName: "pb.OrgAccess",
Documentation: `OrgAccess provides the resolved access of a user to an org`,
Fields: []*api.FieldMeta{
{
Name: "OrgID",
FullName: "pb.OrgAccess.OrgID",
Display: "Org ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
},
{
Name: "OrgAlias",
FullName: "pb.OrgAccess.OrgAlias",
Display: "Org Alias",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
},
{
Name: "OrgName",
FullName: "pb.OrgAccess.OrgName",
Display: "Org Name",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
},
{
Name: "Role",
FullName: "pb.OrgAccess.Role",
Type: "int32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
EnumDescription: Role_Enum_EnumDescription,
Documentation: `Role is the resolved org role: the explicit org-wide role, or Viewer
when the user only has project grants`,
},
{
Name: "RoleSource",
FullName: "pb.OrgAccess.RoleSource",
Display: "Role Source",
Type: "int32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
EnumDescription: RoleSource_Enum_EnumDescription,
Documentation: `RoleSource explains how Role was resolved`,
},
{
Name: "ExplicitRole",
FullName: "pb.OrgAccess.ExplicitRole",
Display: "Explicit Role",
Type: "int32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
EnumDescription: Role_Enum_EnumDescription,
Documentation: `ExplicitRole is the explicit org-wide role, None when derived`,
},
},
}
var Org_MessageDescription = &api.MessageDescription{
Name: "Org",
FullName: "pb.Org",
Fields: []*api.FieldMeta{
{
Name: "ID",
FullName: "pb.Org.ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
},
{
Name: "Alias",
FullName: "pb.Org.Alias",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
},
{
Name: "Name",
FullName: "pb.Org.Name",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
},
{
Name: "Description",
FullName: "pb.Org.Description",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
},
{
Name: "CreatedAt",
FullName: "pb.Org.CreatedAt",
Display: "Created At",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
},
{
Name: "Status",
FullName: "pb.Org.Status",
Type: "int32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
EnumDescription: ItemStatus_Enum_EnumDescription,
},
},
}
Orgs_ServiceDesc is the grpc.ServiceDesc for Orgs service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Orgs_ServiceDesc = grpc.ServiceDesc{
ServiceName: "pb.Orgs",
HandlerType: (*OrgsServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "RegisterOrg",
Handler: _Orgs_RegisterOrg_Handler,
},
{
MethodName: "GetOrg",
Handler: _Orgs_GetOrg_Handler,
},
{
MethodName: "UpdateOrg",
Handler: _Orgs_UpdateOrg_Handler,
},
{
MethodName: "DeleteOrg",
Handler: _Orgs_DeleteOrg_Handler,
},
{
MethodName: "GetUserOrgs",
Handler: _Orgs_GetUserOrgs_Handler,
},
{
MethodName: "GetUserMemberships",
Handler: _Orgs_GetUserMemberships_Handler,
},
{
MethodName: "GetMembers",
Handler: _Orgs_GetMembers_Handler,
},
{
MethodName: "AddMember",
Handler: _Orgs_AddMember_Handler,
},
{
MethodName: "ChangeMemberRole",
Handler: _Orgs_ChangeMemberRole_Handler,
},
{
MethodName: "DeleteMember",
Handler: _Orgs_DeleteMember_Handler,
},
{
MethodName: "DeleteInvite",
Handler: _Orgs_DeleteInvite_Handler,
},
{
MethodName: "RegisterProject",
Handler: _Orgs_RegisterProject_Handler,
},
{
MethodName: "UpdateProject",
Handler: _Orgs_UpdateProject_Handler,
},
{
MethodName: "GetProject",
Handler: _Orgs_GetProject_Handler,
},
{
MethodName: "ListProjects",
Handler: _Orgs_ListProjects_Handler,
},
{
MethodName: "DeleteProject",
Handler: _Orgs_DeleteProject_Handler,
},
{
MethodName: "ListEvents",
Handler: _Orgs_ListEvents_Handler,
},
{
MethodName: "CreateAPIKey",
Handler: _Orgs_CreateAPIKey_Handler,
},
{
MethodName: "ListAPIKeys",
Handler: _Orgs_ListAPIKeys_Handler,
},
{
MethodName: "DeleteAPIKey",
Handler: _Orgs_DeleteAPIKey_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "orgs.proto",
}
var ProfilesResponse_MessageDescription = &api.MessageDescription{
Name: "ProfilesResponse",
Display: "Profiles Response",
FullName: "pb.ProfilesResponse",
Documentation: `ProfilesResponse returns list of profiles`,
Fields: []*api.FieldMeta{
{
Name: "Profiles",
FullName: "pb.ProfilesResponse.Profiles",
Type: "[]struct",
StructName: "pb.CertProfile",
SearchType: "flat_object",
},
{
Name: "NextPage",
FullName: "pb.ProfilesResponse.NextPage",
Display: "Next Page",
Type: "struct",
StructName: "pb.NextPage",
SearchType: "flat_object",
Documentation: `NextPage specifies pagination information, if there are more pages to
fetch. If there are no more pages to fetch, NextPage will be empty.`,
},
},
}
var Project_MessageDescription = &api.MessageDescription{
Name: "Project",
FullName: "pb.Project",
Documentation: `Project owns a collection of resources governed by a common access policy`,
Fields: []*api.FieldMeta{
{
Name: "ID",
FullName: "pb.Project.ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
},
{
Name: "OrgID",
FullName: "pb.Project.OrgID",
Display: "Org ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
},
{
Name: "Alias",
FullName: "pb.Project.Alias",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Alias is a stable, org-unique identifier chosen by the client,
e.g. a cloud account ID or a slug`,
},
{
Name: "Name",
FullName: "pb.Project.Name",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
},
{
Name: "Description",
FullName: "pb.Project.Description",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
},
{
Name: "Status",
FullName: "pb.Project.Status",
Type: "int32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
EnumDescription: ItemStatus_Enum_EnumDescription,
},
{
Name: "CreatedAt",
FullName: "pb.Project.CreatedAt",
Display: "Created At",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
},
{
Name: "UpdatedAt",
FullName: "pb.Project.UpdatedAt",
Display: "Updated At",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
},
},
}
var ProjectsResponse_MessageDescription = &api.MessageDescription{
Name: "ProjectsResponse",
Display: "Projects Response",
FullName: "pb.ProjectsResponse",
Documentation: `ProjectsResponse returns list of projects`,
Fields: []*api.FieldMeta{
{
Name: "Projects",
FullName: "pb.ProjectsResponse.Projects",
Type: "[]struct",
StructName: "pb.Project",
SearchType: "flat_object",
},
{
Name: "NextPage",
FullName: "pb.ProjectsResponse.NextPage",
Display: "Next Page",
Type: "struct",
StructName: "pb.NextPage",
SearchType: "flat_object",
Documentation: `NextPage specifies pagination information, if there are more pages to
fetch. If there are no more pages to fetch, NextPage will be empty.`,
},
},
}
var PublishCrlsRequest_MessageDescription = &api.MessageDescription{
Name: "PublishCrlsRequest",
Display: "Publish Crls Request",
FullName: "pb.PublishCrlsRequest",
Documentation: `PublishCrlsRequest allows to publish CRLs on demand`,
Fields: []*api.FieldMeta{
{
Name: "ProjectID",
FullName: "pb.PublishCrlsRequest.ProjectID",
Display: "Project ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `ProjectID limits the scope to the project: the issuer of the IKID
must belong to it, and without an IKID the issuers of the project
publish. Empty publishes for the org-wide issuers and the projects the
caller may read; a project Admin names the project, and an API key
restricted to a project publishes for its project.`,
},
{
Name: "IKID",
FullName: "pb.PublishCrlsRequest.IKID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `IKID specifies Issuer Key ID; empty to publish for all issuers in scope`,
},
{
Name: "Force",
FullName: "pb.PublishCrlsRequest.Force",
Type: "bool",
SearchType: "boolean",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Force specifies to publish even if the current CRL is not due for renewal`,
},
},
}
var ReasonCode_Enum_DisplayName = map[ReasonCode_Enum]string{
ReasonCode_Unspecified: Display_ReasonCode_Unspecified,
ReasonCode_KeyCompromise: Display_ReasonCode_KeyCompromise,
ReasonCode_CACompromise: Display_ReasonCode_CACompromise,
ReasonCode_AffiliationChanged: Display_ReasonCode_AffiliationChanged,
ReasonCode_Superseded: Display_ReasonCode_Superseded,
ReasonCode_CessationOfOperation: Display_ReasonCode_CessationOfOperation,
ReasonCode_CertificateHold: Display_ReasonCode_CertificateHold,
ReasonCode_RemoveFromCRL: Display_ReasonCode_RemoveFromCRL,
ReasonCode_PrivilegeWithdrawn: Display_ReasonCode_PrivilegeWithdrawn,
ReasonCode_AACompromise: Display_ReasonCode_AACompromise,
}
var ReasonCode_Enum_EnumDescription = &api.EnumDescription{
Name: "ReasonCode_Enum",
FullName: "pb.ReasonCode.Enum",
IsBitmask: false,
Enums: []*api.EnumMeta{
{
Value: 0,
Name: "Unspecified",
FullName: "pb.ReasonCode.Unspecified",
Display: Display_ReasonCode_Unspecified,
Documentation: `Unspecified indicates that the reason code is unspecified`,
},
{
Value: 1,
Name: "KeyCompromise",
FullName: "pb.ReasonCode.KeyCompromise",
Display: Display_ReasonCode_KeyCompromise,
Documentation: `KeyCompromise indicates that the subject key is compromised`,
},
{
Value: 2,
Name: "CACompromise",
FullName: "pb.ReasonCode.CACompromise",
Display: Display_ReasonCode_CACompromise,
Documentation: `CACompromise indicates that the issuing CA is compromised`,
},
{
Value: 3,
Name: "AffiliationChanged",
FullName: "pb.ReasonCode.AffiliationChanged",
Display: Display_ReasonCode_AffiliationChanged,
Documentation: `AffiliationChanged indicates that the subject affiliation changed`,
},
{
Value: 4,
Name: "Superseded",
FullName: "pb.ReasonCode.Superseded",
Display: Display_ReasonCode_Superseded,
Documentation: `Superseded indicates that the certificate is superseded`,
},
{
Value: 5,
Name: "CessationOfOperation",
FullName: "pb.ReasonCode.CessationOfOperation",
Display: Display_ReasonCode_CessationOfOperation,
Documentation: `CessationOfOperation indicates that the certificate is no longer in
operation`,
},
{
Value: 6,
Name: "CertificateHold",
FullName: "pb.ReasonCode.CertificateHold",
Display: Display_ReasonCode_CertificateHold,
Documentation: `CertificateHold indicates that the certificate is on hold`,
},
{
Value: 8,
Name: "RemoveFromCRL",
FullName: "pb.ReasonCode.RemoveFromCRL",
Display: Display_ReasonCode_RemoveFromCRL,
Documentation: `RemoveFromCRL indicates that the certificate is removed from the CRL`,
},
{
Value: 9,
Name: "PrivilegeWithdrawn",
FullName: "pb.ReasonCode.PrivilegeWithdrawn",
Display: Display_ReasonCode_PrivilegeWithdrawn,
Documentation: `PrivilegeWithdrawn indicates that the privilege is withdrawn`,
},
{
Value: 10,
Name: "AACompromise",
FullName: "pb.ReasonCode.AACompromise",
Display: Display_ReasonCode_AACompromise,
Documentation: `AACompromise indicates that the attribute authority is compromised`,
},
},
}
var ReasonCode_Enum_Meta = map[ReasonCode_Enum]*api.EnumMeta{
ReasonCode_Unspecified: ReasonCode_Enum_EnumDescription.Enums[0],
ReasonCode_KeyCompromise: ReasonCode_Enum_EnumDescription.Enums[1],
ReasonCode_CACompromise: ReasonCode_Enum_EnumDescription.Enums[2],
ReasonCode_AffiliationChanged: ReasonCode_Enum_EnumDescription.Enums[3],
ReasonCode_Superseded: ReasonCode_Enum_EnumDescription.Enums[4],
ReasonCode_CessationOfOperation: ReasonCode_Enum_EnumDescription.Enums[5],
ReasonCode_CertificateHold: ReasonCode_Enum_EnumDescription.Enums[6],
ReasonCode_RemoveFromCRL: ReasonCode_Enum_EnumDescription.Enums[7],
ReasonCode_PrivilegeWithdrawn: ReasonCode_Enum_EnumDescription.Enums[8],
ReasonCode_AACompromise: ReasonCode_Enum_EnumDescription.Enums[9],
}
var ReasonCode_Enum_Name = map[ReasonCode_Enum]string{
ReasonCode_Unspecified: "Unspecified",
ReasonCode_KeyCompromise: "KeyCompromise",
ReasonCode_CACompromise: "CACompromise",
ReasonCode_AffiliationChanged: "AffiliationChanged",
ReasonCode_Superseded: "Superseded",
ReasonCode_CessationOfOperation: "CessationOfOperation",
ReasonCode_CertificateHold: "CertificateHold",
ReasonCode_RemoveFromCRL: "RemoveFromCRL",
ReasonCode_PrivilegeWithdrawn: "PrivilegeWithdrawn",
ReasonCode_AACompromise: "AACompromise",
}
var ReasonCode_Enum_Value = map[string]ReasonCode_Enum{
"Unspecified": ReasonCode_Unspecified,
"KeyCompromise": ReasonCode_KeyCompromise,
"CACompromise": ReasonCode_CACompromise,
"AffiliationChanged": ReasonCode_AffiliationChanged,
"Superseded": ReasonCode_Superseded,
"CessationOfOperation": ReasonCode_CessationOfOperation,
"CertificateHold": ReasonCode_CertificateHold,
"RemoveFromCRL": ReasonCode_RemoveFromCRL,
"PrivilegeWithdrawn": ReasonCode_PrivilegeWithdrawn,
"AACompromise": ReasonCode_AACompromise,
}
var ReasonCode_Enum_displayName = map[int32]string{
0: Display_ReasonCode_Unspecified,
1: Display_ReasonCode_KeyCompromise,
2: Display_ReasonCode_CACompromise,
3: Display_ReasonCode_AffiliationChanged,
4: Display_ReasonCode_Superseded,
5: Display_ReasonCode_CessationOfOperation,
6: Display_ReasonCode_CertificateHold,
8: Display_ReasonCode_RemoveFromCRL,
9: Display_ReasonCode_PrivilegeWithdrawn,
10: Display_ReasonCode_AACompromise,
}
var RecordsResult_MessageDescription = &api.MessageDescription{
Name: "RecordsResult",
Display: "Records Result",
FullName: "pb.RecordsResult",
Documentation: `RecordsResult provides the number of created, updated and deleted records`,
Fields: []*api.FieldMeta{
{
Name: "Created",
FullName: "pb.RecordsResult.Created",
Type: "int64",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
},
{
Name: "Updated",
FullName: "pb.RecordsResult.Updated",
Type: "int64",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
},
{
Name: "Deleted",
FullName: "pb.RecordsResult.Deleted",
Type: "int64",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
},
},
}
var RegisterIssuerRequest_MessageDescription = &api.MessageDescription{
Name: "RegisterIssuerRequest",
Display: "Register Issuer Request",
FullName: "pb.RegisterIssuerRequest",
Documentation: `RegisterIssuerRequest specifies a request to create a new issuer`,
Fields: []*api.FieldMeta{
{
Name: "ProjectID",
FullName: "pb.RegisterIssuerRequest.ProjectID",
Display: "Project ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `ProjectID of the owning project; empty for an org-wide issuer`,
},
{
Name: "Label",
FullName: "pb.RegisterIssuerRequest.Label",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Required: true,
Max: 64,
Documentation: `Label of the issuer, unique per (Org, Project)`,
},
{
Name: "Type",
FullName: "pb.RegisterIssuerRequest.Type",
Type: "int32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
EnumDescription: AuthorityType_Enum_EnumDescription,
Required: true,
Documentation: `Type of the authority`,
},
{
Name: "Subject",
FullName: "pb.RegisterIssuerRequest.Subject",
Type: "struct",
StructName: "pb.X509Subject",
SearchType: "flat_object",
Required: true,
Documentation: `Subject of the issuer certificate`,
},
{
Name: "KeySpec",
FullName: "pb.RegisterIssuerRequest.KeySpec",
Display: "Key Spec",
Type: "struct",
StructName: "pb.KeySpec",
SearchType: "flat_object",
Documentation: `KeySpec of the key to generate; defaults to ECDSA P-256`,
},
{
Name: "KeyProvider",
FullName: "pb.RegisterIssuerRequest.KeyProvider",
Display: "Key Provider",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `KeyProvider selects the crypto provider; empty for the server default`,
},
{
Name: "ParentID",
FullName: "pb.RegisterIssuerRequest.ParentID",
Display: "Parent ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `ParentID specifies the signing issuer. It must belong to the same org,
or be a platform issuer that allows the Profile.
Empty for Root type, or to create a Pending issuer with a CSR.`,
},
{
Name: "Profile",
FullName: "pb.RegisterIssuerRequest.Profile",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Profile specifies the CA profile the parent uses to sign the issuer
certificate. Required when ParentID is set or Type is Root.`,
},
{
Name: "Config",
FullName: "pb.RegisterIssuerRequest.Config",
Type: "struct",
StructName: "pb.IssuerConfig",
SearchType: "flat_object",
Documentation: `Config provides runtime settings`,
},
{
Name: "SAN",
FullName: "pb.RegisterIssuerRequest.SAN",
Type: "[]string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `SAN specifies Subject Alternative Names for the issuer certificate`,
},
{
Name: "Extensions",
FullName: "pb.RegisterIssuerRequest.Extensions",
Type: "[]struct",
StructName: "pb.X509Extension",
SearchType: "flat_object",
Documentation: `Extensions specifies additional extensions for the issuer certificate`,
},
},
}
var RegisterOrgRequest_MessageDescription = &api.MessageDescription{
Name: "RegisterOrgRequest",
Display: "Register Org Request",
FullName: "pb.RegisterOrgRequest",
Fields: []*api.FieldMeta{
{
Name: "Name",
FullName: "pb.RegisterOrgRequest.Name",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Required: true,
Max: 64,
},
{
Name: "Description",
FullName: "pb.RegisterOrgRequest.Description",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
},
},
}
var RegisterProfileRequest_MessageDescription = &api.MessageDescription{
Name: "RegisterProfileRequest",
Display: "Register Profile Request",
FullName: "pb.RegisterProfileRequest",
Documentation: `RegisterProfileRequest creates or replaces a profile`,
Fields: []*api.FieldMeta{
{
Name: "ProjectID",
FullName: "pb.RegisterProfileRequest.ProjectID",
Display: "Project ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `ProjectID of the owning project; empty for an org-wide profile`,
},
{
Name: "Profile",
FullName: "pb.RegisterProfileRequest.Profile",
Type: "struct",
StructName: "pb.CertProfile",
SearchType: "flat_object",
Required: true,
Documentation: `Profile provides the profile definition.
Profile.Label and Profile.IssuerLabel are required.`,
},
},
}
var RegisterProjectRequest_MessageDescription = &api.MessageDescription{
Name: "RegisterProjectRequest",
Display: "Register Project Request",
FullName: "pb.RegisterProjectRequest",
Documentation: `RegisterProjectRequest specifies request to create a project in the org
selected in the token`,
Fields: []*api.FieldMeta{
{
Name: "Alias",
FullName: "pb.RegisterProjectRequest.Alias",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Max: 64,
Documentation: `Alias is org-unique; generated when empty`,
},
{
Name: "Name",
FullName: "pb.RegisterProjectRequest.Name",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Required: true,
Max: 64,
},
{
Name: "Description",
FullName: "pb.RegisterProjectRequest.Description",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
},
},
}
var RegisterRootRequest_MessageDescription = &api.MessageDescription{
Name: "RegisterRootRequest",
Display: "Register Root Request",
FullName: "pb.RegisterRootRequest",
Documentation: `RegisterRootRequest registers an external trust anchor`,
Fields: []*api.FieldMeta{
{
Name: "Pem",
FullName: "pb.RegisterRootRequest.Pem",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Required: true,
Documentation: `Pem encoded root certificate`,
},
{
Name: "Trust",
FullName: "pb.RegisterRootRequest.Trust",
Type: "int32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
EnumDescription: Trust_Enum_EnumDescription,
Documentation: `Trust scope`,
},
},
}
var RevokeCertificateRequest_MessageDescription = &api.MessageDescription{
Name: "RevokeCertificateRequest",
Display: "Revoke Certificate Request",
FullName: "pb.RevokeCertificateRequest",
Documentation: `RevokeCertificateRequest specifies revocation request`,
Fields: []*api.FieldMeta{
{
Name: "ID",
FullName: "pb.RevokeCertificateRequest.ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
RequiredOr: []string{"SKID", "IssuerSerial"},
Documentation: `ID specifies certificate ID`,
},
{
Name: "SKID",
FullName: "pb.RevokeCertificateRequest.SKID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
RequiredOr: []string{"ID", "IssuerSerial"},
Documentation: `SKID specifies Subject Key ID to search`,
},
{
Name: "IssuerSerial",
FullName: "pb.RevokeCertificateRequest.IssuerSerial",
Display: "Issuer Serial",
Type: "struct",
StructName: "pb.IssuerSerial",
SearchType: "flat_object",
RequiredOr: []string{"ID", "SKID"},
Documentation: `IssuerSerial specifies Issuer Key ID and certificate serial number`,
},
{
Name: "Reason",
FullName: "pb.RevokeCertificateRequest.Reason",
Type: "int32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
EnumDescription: ReasonCode_Enum_EnumDescription,
Documentation: `Reason for revocation; RemoveFromCRL is refused, since it releases a
certificate from hold instead of revoking it`,
},
{
Name: "ReasonText",
FullName: "pb.RevokeCertificateRequest.ReasonText",
Display: "Reason Text",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Max: 260,
Documentation: `ReasonText provides optional free-form revocation note`,
},
{
Name: "ProjectID",
FullName: "pb.RevokeCertificateRequest.ProjectID",
Display: "Project ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `ProjectID of the certificate's project. A caller whose role is granted
in the project only must name it, since the request is authorized at
that scope; the certificate must belong to it.`,
},
},
}
var RevokedCertificateResponse_MessageDescription = &api.MessageDescription{
Name: "RevokedCertificateResponse",
Display: "Revoked Certificate Response",
FullName: "pb.RevokedCertificateResponse",
Documentation: `RevokedCertificateResponse returns Revoked Certificate`,
Fields: []*api.FieldMeta{
{
Name: "Revoked",
FullName: "pb.RevokedCertificateResponse.Revoked",
Type: "struct",
StructName: "pb.RevokedCertificate",
SearchType: "flat_object",
},
},
}
var RevokedCertificate_MessageDescription = &api.MessageDescription{
Name: "RevokedCertificate",
Display: "Revoked Certificate",
FullName: "pb.RevokedCertificate",
Documentation: `RevokedCertificate provides revoked X509 Certificate information`,
Fields: []*api.FieldMeta{
{
Name: "Certificate",
FullName: "pb.RevokedCertificate.Certificate",
Type: "struct",
StructName: "pb.Certificate",
SearchType: "flat_object",
Documentation: `Certificate provides the revoked certificate`,
},
{
Name: "RevokedAt",
FullName: "pb.RevokedCertificate.RevokedAt",
Display: "Revoked At",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `RevokedAt is the revocation time in RFC3339 format`,
},
{
Name: "Reason",
FullName: "pb.RevokedCertificate.Reason",
Type: "int32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
EnumDescription: ReasonCode_Enum_EnumDescription,
Documentation: `Reason of the revocation`,
},
{
Name: "ReasonText",
FullName: "pb.RevokedCertificate.ReasonText",
Display: "Reason Text",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `ReasonText provides optional free-form revocation note`,
},
},
}
var RevokedCertificatesResponse_MessageDescription = &api.MessageDescription{
Name: "RevokedCertificatesResponse",
Display: "Revoked Certificates Response",
FullName: "pb.RevokedCertificatesResponse",
Documentation: `RevokedCertificatesResponse returns Revoked Certificates list`,
Fields: []*api.FieldMeta{
{
Name: "RevokedCertificates",
FullName: "pb.RevokedCertificatesResponse.RevokedCertificates",
Display: "Revoked Certificates",
Type: "[]struct",
StructName: "pb.RevokedCertificate",
SearchType: "flat_object",
},
{
Name: "NextPage",
FullName: "pb.RevokedCertificatesResponse.NextPage",
Display: "Next Page",
Type: "struct",
StructName: "pb.NextPage",
SearchType: "flat_object",
Documentation: `NextPage specifies pagination information, if there are more pages to
fetch. If there are no more pages to fetch, NextPage will be empty.`,
},
},
}
var RoleSource_Enum_DisplayName = map[RoleSource_Enum]string{
RoleSource_Unknown: Display_RoleSource_Unknown,
RoleSource_Direct: Display_RoleSource_Direct,
RoleSource_Project: Display_RoleSource_Project,
}
var RoleSource_Enum_EnumDescription = &api.EnumDescription{
Name: "RoleSource_Enum",
FullName: "pb.RoleSource.Enum",
IsBitmask: false,
Enums: []*api.EnumMeta{
{
Value: 0,
Name: "Unknown",
FullName: "pb.RoleSource.Unknown",
Display: Display_RoleSource_Unknown,
Documentation: `Unknown indicates that the source is unknown`,
},
{
Value: 1,
Name: "Direct",
FullName: "pb.RoleSource.Direct",
Display: Display_RoleSource_Direct,
Documentation: `Direct indicates an explicit org-wide grant`,
},
{
Value: 2,
Name: "Project",
FullName: "pb.RoleSource.Project",
Display: Display_RoleSource_Project,
Documentation: `Project indicates a derived org Viewer classification from project
grants only; it does not inherit project permissions`,
},
},
Documentation: `RoleSource explains how an org role was resolved`,
}
var RoleSource_Enum_Meta = map[RoleSource_Enum]*api.EnumMeta{
RoleSource_Unknown: RoleSource_Enum_EnumDescription.Enums[0],
RoleSource_Direct: RoleSource_Enum_EnumDescription.Enums[1],
RoleSource_Project: RoleSource_Enum_EnumDescription.Enums[2],
}
var RoleSource_Enum_Name = map[RoleSource_Enum]string{
RoleSource_Unknown: "Unknown",
RoleSource_Direct: "Direct",
RoleSource_Project: "Project",
}
var RoleSource_Enum_Value = map[string]RoleSource_Enum{
"Unknown": RoleSource_Unknown,
"Direct": RoleSource_Direct,
"Project": RoleSource_Project,
}
var RoleSource_Enum_displayName = map[int32]string{
0: Display_RoleSource_Unknown,
1: Display_RoleSource_Direct,
2: Display_RoleSource_Project,
}
var Role_Enum_DisplayName = map[Role_Enum]string{
Role_None: Display_Role_None,
Role_APIKey: Display_Role_APIKey,
Role_Viewer: Display_Role_Viewer,
Role_User: Display_Role_User,
Role_Support: Display_Role_Support,
Role_Billing: Display_Role_Billing,
Role_Security: Display_Role_Security,
Role_Admin: Display_Role_Admin,
Role_Owner: Display_Role_Owner,
}
var Role_Enum_EnumDescription = &api.EnumDescription{
Name: "Role_Enum",
FullName: "pb.Role.Enum",
IsBitmask: false,
Enums: []*api.EnumMeta{
{
Value: 0,
Name: "None",
FullName: "pb.Role.None",
Display: Display_Role_None,
Documentation: `None specifies no role`,
},
{
Value: 1,
Name: "APIKey",
FullName: "pb.Role.APIKey",
Display: Display_Role_APIKey,
},
{
Value: 2,
Name: "Viewer",
FullName: "pb.Role.Viewer",
Display: Display_Role_Viewer,
Documentation: `Viewer specifies name for Viewer role`,
},
{
Value: 3,
Name: "User",
FullName: "pb.Role.User",
Display: Display_Role_User,
Documentation: `User specifies name for User role`,
},
{
Value: 4,
Name: "Support",
FullName: "pb.Role.Support",
Display: Display_Role_Support,
Documentation: `Support specifies name for Support role.`,
},
{
Value: 5,
Name: "Billing",
FullName: "pb.Role.Billing",
Display: Display_Role_Billing,
Documentation: `Billing specifies name for Billing role`,
},
{
Value: 6,
Name: "Security",
FullName: "pb.Role.Security",
Display: Display_Role_Security,
Documentation: `Security specifies name for Security role`,
},
{
Value: 7,
Name: "Admin",
FullName: "pb.Role.Admin",
Display: Display_Role_Admin,
Documentation: `Admin specifies name for Admin role`,
},
{
Value: 8,
Name: "Owner",
FullName: "pb.Role.Owner",
Display: Display_Role_Owner,
Documentation: `Owner specifies name for Owner role`,
},
},
Documentation: `Role is assigned org-wide or per project. Roles form a hierarchy for
access checks (see authctx.CanAssumeRoles); integer values are not used
for comparison.`,
}
var Role_Enum_Meta = map[Role_Enum]*api.EnumMeta{
Role_None: Role_Enum_EnumDescription.Enums[0],
Role_APIKey: Role_Enum_EnumDescription.Enums[1],
Role_Viewer: Role_Enum_EnumDescription.Enums[2],
Role_User: Role_Enum_EnumDescription.Enums[3],
Role_Support: Role_Enum_EnumDescription.Enums[4],
Role_Billing: Role_Enum_EnumDescription.Enums[5],
Role_Security: Role_Enum_EnumDescription.Enums[6],
Role_Admin: Role_Enum_EnumDescription.Enums[7],
Role_Owner: Role_Enum_EnumDescription.Enums[8],
}
var Role_Enum_Name = map[Role_Enum]string{
Role_None: "None",
Role_APIKey: "APIKey",
Role_Viewer: "Viewer",
Role_User: "User",
Role_Support: "Support",
Role_Billing: "Billing",
Role_Security: "Security",
Role_Admin: "Admin",
Role_Owner: "Owner",
}
var Role_Enum_Value = map[string]Role_Enum{
"None": Role_None,
"APIKey": Role_APIKey,
"Viewer": Role_Viewer,
"User": Role_User,
"Support": Role_Support,
"Billing": Role_Billing,
"Security": Role_Security,
"Admin": Role_Admin,
"Owner": Role_Owner,
}
var Role_Enum_displayName = map[int32]string{
0: Display_Role_None,
1: Display_Role_APIKey,
2: Display_Role_Viewer,
3: Display_Role_User,
4: Display_Role_Support,
5: Display_Role_Billing,
6: Display_Role_Security,
7: Display_Role_Admin,
8: Display_Role_Owner,
}
var RootCertificate_MessageDescription = &api.MessageDescription{
Name: "RootCertificate",
Display: "Root Certificate",
FullName: "pb.RootCertificate",
Documentation: `RootCertificate provides X509 Root Certificate information`,
Fields: []*api.FieldMeta{
{
Name: "ID",
FullName: "pb.RootCertificate.ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `ID of the root certificate`,
},
{
Name: "OrgID",
FullName: "pb.RootCertificate.OrgID",
Display: "Org ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `OrgID of the owning org; empty for platform roots`,
},
{
Name: "SKID",
FullName: "pb.RootCertificate.SKID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `SKID provides Subject Key Identifier`,
},
{
Name: "NotBefore",
FullName: "pb.RootCertificate.NotBefore",
Display: "Not Before",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `NotBefore is the time when the validity period starts in RFC3339 format`,
},
{
Name: "NotAfter",
FullName: "pb.RootCertificate.NotAfter",
Display: "Not After",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `NotAfter is the time when the validity period ends in RFC3339 format`,
},
{
Name: "Subject",
FullName: "pb.RootCertificate.Subject",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Subject name`,
},
{
Name: "Sha256",
FullName: "pb.RootCertificate.Sha256",
Display: "Sha 256",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Sha256 thumbprint of the cert`,
},
{
Name: "Trust",
FullName: "pb.RootCertificate.Trust",
Type: "int32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
EnumDescription: Trust_Enum_EnumDescription,
Documentation: `Trust scope`,
},
{
Name: "Pem",
FullName: "pb.RootCertificate.Pem",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Pem encoded certificate`,
},
{
Name: "CreatedAt",
FullName: "pb.RootCertificate.CreatedAt",
Display: "Created At",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `CreatedAt is the registration time in RFC3339 format`,
},
},
}
var RootsResponse_MessageDescription = &api.MessageDescription{
Name: "RootsResponse",
Display: "Roots Response",
FullName: "pb.RootsResponse",
Documentation: `RootsResponse returns Root Certificates`,
Fields: []*api.FieldMeta{
{
Name: "Roots",
FullName: "pb.RootsResponse.Roots",
Type: "[]struct",
StructName: "pb.RootCertificate",
SearchType: "flat_object",
},
{
Name: "NextPage",
FullName: "pb.RootsResponse.NextPage",
Display: "Next Page",
Type: "struct",
StructName: "pb.NextPage",
SearchType: "flat_object",
Documentation: `NextPage specifies pagination information, if there are more pages to
fetch. If there are no more pages to fetch, NextPage will be empty.`,
},
},
}
var Scope_Enum_DisplayName = map[Scope_Enum]string{
Scope_Undefined: Display_Scope_Undefined,
Scope_Org: Display_Scope_Org,
Scope_Project: Display_Scope_Project,
}
var Scope_Enum_EnumDescription = &api.EnumDescription{
Name: "Scope_Enum",
FullName: "pb.Scope.Enum",
IsBitmask: true,
Enums: []*api.EnumMeta{
{
Value: 0,
Name: "Undefined",
FullName: "pb.Scope.Undefined",
Display: Display_Scope_Undefined,
Documentation: `Undefined indicates that the scope is undefined`,
},
{
Value: 1,
Name: "Org",
FullName: "pb.Scope.Org",
Display: Display_Scope_Org,
Documentation: `Org indicates that the scope is org`,
},
{
Value: 2,
Name: "Project",
FullName: "pb.Scope.Project",
Display: Display_Scope_Project,
Documentation: `Project indicates that the scope is project`,
},
},
Documentation: `Scope defines tenancy scopes`,
}
var Scope_Enum_Meta = map[Scope_Enum]*api.EnumMeta{
Scope_Undefined: Scope_Enum_EnumDescription.Enums[0],
Scope_Org: Scope_Enum_EnumDescription.Enums[1],
Scope_Project: Scope_Enum_EnumDescription.Enums[2],
}
var Scope_Enum_Name = map[Scope_Enum]string{
Scope_Undefined: "Undefined",
Scope_Org: "Org",
Scope_Project: "Project",
}
var Scope_Enum_Value = map[string]Scope_Enum{
"Undefined": Scope_Undefined,
"Org": Scope_Org,
"Project": Scope_Project,
}
var Scope_Enum_displayName = map[int32]string{
0: Display_Scope_Undefined,
1: Display_Scope_Org,
2: Display_Scope_Project,
}
var SelectOrgRequest_MessageDescription = &api.MessageDescription{
Name: "SelectOrgRequest",
Display: "Select Org Request",
FullName: "pb.SelectOrgRequest",
Documentation: `SelectOrgRequest specifies a request to switch the token to a specific Org`,
Fields: []*api.FieldMeta{
{
Name: "OrgID",
FullName: "pb.SelectOrgRequest.OrgID",
Display: "Org ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Required: true,
Documentation: `OrgID specifies the Org to switch to`,
},
{
Name: "RememberMe",
FullName: "pb.SelectOrgRequest.RememberMe",
Display: "Remember Me",
Type: "bool",
SearchType: "boolean",
SearchOptions: api.SearchOption_Sortable,
Documentation: `RememberMe specifies if the cookie should be set for the user.
Otherwise, if the cookie is used, it will be set for the session only.`,
},
},
}
var ServerStatusResponse_MessageDescription = &api.MessageDescription{
Name: "ServerStatusResponse",
Display: "Server Status Response",
FullName: "pb.ServerStatusResponse",
Documentation: `ServerStatusResponse returns status and version`,
Fields: []*api.FieldMeta{
{
Name: "Status",
FullName: "pb.ServerStatusResponse.Status",
Type: "struct",
StructName: "pb.ServerStatus",
SearchType: "flat_object",
Documentation: `Status of the server.`,
},
{
Name: "Version",
FullName: "pb.ServerStatusResponse.Version",
Type: "struct",
StructName: "pb.ServerVersion",
SearchType: "flat_object",
Documentation: `Version of the server.`,
},
{
Name: "Pods",
FullName: "pb.ServerStatusResponse.Pods",
Type: "map",
StructName: "pb.ServerStatusResponse.PodsEntry",
SearchType: "flat_object",
},
},
}
var ServerStatusResponse_PodsEntry_MessageDescription = &api.MessageDescription{
Name: "ServerStatusResponse_PodsEntry",
Display: "Pods Entry",
FullName: "pb.ServerStatusResponse.PodsEntry",
Fields: []*api.FieldMeta{
{
Name: "Key",
FullName: "pb.ServerStatusResponse.PodsEntry.Key",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Required: true,
},
{
Name: "Value",
FullName: "pb.ServerStatusResponse.PodsEntry.Value",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Required: true,
},
},
}
var ServerStatus_MessageDescription = &api.MessageDescription{
Name: "ServerStatus",
Display: "Server Status",
FullName: "pb.ServerStatus",
Documentation: `ServerStatus provides server status information`,
Fields: []*api.FieldMeta{
{
Name: "Name",
FullName: "pb.ServerStatus.Name",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Name of the server or application.`,
},
{
Name: "Nodename",
FullName: "pb.ServerStatus.Nodename",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Nodename is the human-readable name of the cluster member,
or empty for single host.`,
},
{
Name: "Hostname",
FullName: "pb.ServerStatus.Hostname",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Hostname is operating system's host name.`,
},
{
Name: "ListenUrls",
FullName: "pb.ServerStatus.ListenUrls",
Display: "Listen Urls",
Type: "[]string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `ListenURLs is the list of URLs the service is listening on.`,
},
{
Name: "StartedAt",
FullName: "pb.ServerStatus.StartedAt",
Display: "Started At",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `StartedAt is the time in RFC3339 format.`,
},
},
}
var ServerVersion_MessageDescription = &api.MessageDescription{
Name: "ServerVersion",
Display: "Server Version",
FullName: "pb.ServerVersion",
Documentation: `ServerVersion provides server build and runtime version`,
Fields: []*api.FieldMeta{
{
Name: "Build",
FullName: "pb.ServerVersion.Build",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Build is the server build version.`,
},
{
Name: "Runtime",
FullName: "pb.ServerVersion.Runtime",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Runtime is the runtime version.`,
},
},
}
var ServiceAccessInfo_MessageDescription = &api.MessageDescription{
Name: "ServiceAccessInfo",
Display: "Service Access Info",
FullName: "pb.ServiceAccessInfo",
Fields: []*api.FieldMeta{
{
Name: "Allowed",
FullName: "pb.ServiceAccessInfo.Allowed",
Type: "[]struct",
StructName: "pb.AllowedMethods",
SearchType: "flat_object",
},
},
}
var SignCertificateRequest_MessageDescription = &api.MessageDescription{
Name: "SignCertificateRequest",
Display: "Sign Certificate Request",
FullName: "pb.SignCertificateRequest",
Documentation: `SignCertificateRequest specifies certificate sign request`,
Fields: []*api.FieldMeta{
{
Name: "ProjectID",
FullName: "pb.SignCertificateRequest.ProjectID",
Display: "Project ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `ProjectID of the owning project; recorded on the certificate and used to
resolve project-scoped profiles and issuers`,
},
{
Name: "Profile",
FullName: "pb.SignCertificateRequest.Profile",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Required: true,
Documentation: `Profile specifies the certificate profile label`,
},
{
Name: "IssuerLabel",
FullName: "pb.SignCertificateRequest.IssuerLabel",
Display: "Issuer Label",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `IssuerLabel selects the issuer when the profile binds to "*";
otherwise it must match the profile's issuer`,
},
{
Name: "RequestFormat",
FullName: "pb.SignCertificateRequest.RequestFormat",
Display: "Request Format",
Type: "int32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
EnumDescription: EncodingFormat_Enum_EnumDescription,
Documentation: `RequestFormat provides the certificate request format: PEM or DER`,
},
{
Name: "Request",
FullName: "pb.SignCertificateRequest.Request",
Type: "[]byte",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Required: true,
Documentation: `Request provides the PKCS#10 certificate request`,
},
{
Name: "SAN",
FullName: "pb.SignCertificateRequest.SAN",
Type: "[]string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `SAN specifies Subject Alternative Names to add or override`,
},
{
Name: "Subject",
FullName: "pb.SignCertificateRequest.Subject",
Type: "struct",
StructName: "pb.X509Subject",
SearchType: "flat_object",
Documentation: `Subject overrides the subject name from the request`,
},
{
Name: "NotBefore",
FullName: "pb.SignCertificateRequest.NotBefore",
Display: "Not Before",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `NotBefore overrides the validity start in RFC3339 format;
no backdate is applied when provided`,
},
{
Name: "NotAfter",
FullName: "pb.SignCertificateRequest.NotAfter",
Display: "Not After",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `NotAfter overrides the validity end in RFC3339 format;
it must not exceed the profile expiry`,
},
{
Name: "Extensions",
FullName: "pb.SignCertificateRequest.Extensions",
Type: "[]struct",
StructName: "pb.X509Extension",
SearchType: "flat_object",
Documentation: `Extensions specifies additional extensions to include, subject to the
profile's AllowedExtensions`,
},
{
Name: "Label",
FullName: "pb.SignCertificateRequest.Label",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Max: 260,
Documentation: `Label is provided by the client for search and display`,
},
{
Name: "Metadata",
FullName: "pb.SignCertificateRequest.Metadata",
Type: "map",
StructName: "pb.SignCertificateRequest.MetadataEntry",
SearchType: "flat_object",
Documentation: `Metadata is provided by the client`,
},
},
}
var SignCertificateRequest_MetadataEntry_MessageDescription = &api.MessageDescription{
Name: "SignCertificateRequest_MetadataEntry",
Display: "Metadata Entry",
FullName: "pb.SignCertificateRequest.MetadataEntry",
Fields: []*api.FieldMeta{
{
Name: "Key",
FullName: "pb.SignCertificateRequest.MetadataEntry.Key",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Required: true,
},
{
Name: "Value",
FullName: "pb.SignCertificateRequest.MetadataEntry.Value",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Required: true,
},
},
}
Status_ServiceDesc is the grpc.ServiceDesc for Status service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Status_ServiceDesc = grpc.ServiceDesc{
ServiceName: "pb.Status",
HandlerType: (*StatusServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "Version",
Handler: _Status_Version_Handler,
},
{
MethodName: "Server",
Handler: _Status_Server_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "status.proto",
}
var SummaryResponse_MessageDescription = &api.MessageDescription{
Name: "SummaryResponse",
Display: "Summary Response",
FullName: "pb.SummaryResponse",
Documentation: `SummaryResponse returns the counts of the rows of the scope at the time
of the request. The counts are exact: a count of the certificates of a
scope reads their index entries, so it grows with the tenant.`,
Fields: []*api.FieldMeta{
{
Name: "At",
FullName: "pb.SummaryResponse.At",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `At is the time of the counts, RFC3339`,
},
{
Name: "Issuers",
FullName: "pb.SummaryResponse.Issuers",
Type: "[]struct",
StructName: "pb.IssuerStatusCount",
SearchType: "flat_object",
Documentation: `Issuers counts the issuers by lifecycle status; every status is
reported, with a zero count when the scope has none`,
},
{
Name: "Certificates",
FullName: "pb.SummaryResponse.Certificates",
Type: "[]struct",
StructName: "pb.CertificateStatusCount",
SearchType: "flat_object",
Documentation: `Certificates counts the certificates by status; every status is
reported, with a zero count when the scope has none`,
},
{
Name: "Expiring",
FullName: "pb.SummaryResponse.Expiring",
Type: "[]struct",
StructName: "pb.ExpiryBucket",
SearchType: "flat_object",
Documentation: `Expiring counts the Active certificates whose validity ends within
the days after At. The buckets are cumulative: 7, 30 and 90 days. A
certificate past its NotAfter is expired, not expiring, whatever its
status.`,
},
{
Name: "Crls",
FullName: "pb.SummaryResponse.Crls",
Type: "struct",
StructName: "pb.CrlCounts",
SearchType: "flat_object",
Documentation: `Crls counts the issuers that publish CRLs by the state of their CRL`,
},
},
}
var Token_MessageDescription = &api.MessageDescription{
Name: "Token",
FullName: "pb.Token",
Documentation: `Token is returned to the client`,
Fields: []*api.FieldMeta{
{
Name: "TokenType",
FullName: "pb.Token.TokenType",
Display: "Token Type",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
},
{
Name: "AccessToken",
FullName: "pb.Token.AccessToken",
Display: "Access Token",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
},
{
Name: "Jkt",
FullName: "pb.Token.Jkt",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
},
{
Name: "ExpiresAt",
FullName: "pb.Token.ExpiresAt",
Display: "Expires At",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `ExpiresAt returns time in RFC3339 format`,
},
{
Name: "IssuedAt",
FullName: "pb.Token.IssuedAt",
Display: "Issued At",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `IssuedAt returns time in RFC3339 format`,
},
{
Name: "Issuer",
FullName: "pb.Token.Issuer",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
},
{
Name: "Audience",
FullName: "pb.Token.Audience",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
},
{
Name: "Provider",
FullName: "pb.Token.Provider",
Type: "int32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
EnumDescription: IDP_Enum_EnumDescription,
},
{
Name: "ExpiresIn",
FullName: "pb.Token.ExpiresIn",
Display: "Expires In",
Type: "uint32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
},
},
}
var Trust_Enum_DisplayName = map[Trust_Enum]string{
Trust_Any: Display_Trust_Any,
Trust_Public: Display_Trust_Public,
Trust_Private: Display_Trust_Private,
}
var Trust_Enum_EnumDescription = &api.EnumDescription{
Name: "Trust_Enum",
FullName: "pb.Trust.Enum",
IsBitmask: false,
Enums: []*api.EnumMeta{
{
Value: 0,
Name: "Any",
FullName: "pb.Trust.Any",
Display: Display_Trust_Any,
Documentation: `Any indicates any trust scope`,
},
{
Value: 1,
Name: "Public",
FullName: "pb.Trust.Public",
Display: Display_Trust_Public,
Documentation: `Public indicates a publicly trusted root`,
},
{
Value: 2,
Name: "Private",
FullName: "pb.Trust.Private",
Display: Display_Trust_Private,
Documentation: `Private indicates a private (enterprise) root`,
},
},
Documentation: `Trust defines the trust scope of a root certificate`,
}
var Trust_Enum_Meta = map[Trust_Enum]*api.EnumMeta{
Trust_Any: Trust_Enum_EnumDescription.Enums[0],
Trust_Public: Trust_Enum_EnumDescription.Enums[1],
Trust_Private: Trust_Enum_EnumDescription.Enums[2],
}
var Trust_Enum_Name = map[Trust_Enum]string{
Trust_Any: "Any",
Trust_Public: "Public",
Trust_Private: "Private",
}
var Trust_Enum_Value = map[string]Trust_Enum{
"Any": Trust_Any,
"Public": Trust_Public,
"Private": Trust_Private,
}
var Trust_Enum_displayName = map[int32]string{
0: Display_Trust_Any,
1: Display_Trust_Public,
2: Display_Trust_Private,
}
var UpdateCertificateLabelRequest_MessageDescription = &api.MessageDescription{
Name: "UpdateCertificateLabelRequest",
Display: "Update Certificate Label Request",
FullName: "pb.UpdateCertificateLabelRequest",
Documentation: `UpdateCertificateLabelRequest specifies certificate label update request`,
Fields: []*api.FieldMeta{
{
Name: "ID",
FullName: "pb.UpdateCertificateLabelRequest.ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Required: true,
Documentation: `ID specifies certificate ID`,
},
{
Name: "Label",
FullName: "pb.UpdateCertificateLabelRequest.Label",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Max: 260,
Documentation: `Label is provided by the client`,
},
{
Name: "Metadata",
FullName: "pb.UpdateCertificateLabelRequest.Metadata",
Type: "map",
StructName: "pb.UpdateCertificateLabelRequest.MetadataEntry",
SearchType: "flat_object",
Documentation: `Metadata replaces the client metadata when provided`,
},
{
Name: "ProjectID",
FullName: "pb.UpdateCertificateLabelRequest.ProjectID",
Display: "Project ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `ProjectID of the certificate's project. A caller whose role is granted
in the project only must name it, since the request is authorized at
that scope; the certificate must belong to it.`,
},
},
}
var UpdateCertificateLabelRequest_MetadataEntry_MessageDescription = &api.MessageDescription{
Name: "UpdateCertificateLabelRequest_MetadataEntry",
Display: "Metadata Entry",
FullName: "pb.UpdateCertificateLabelRequest.MetadataEntry",
Fields: []*api.FieldMeta{
{
Name: "Key",
FullName: "pb.UpdateCertificateLabelRequest.MetadataEntry.Key",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Required: true,
},
{
Name: "Value",
FullName: "pb.UpdateCertificateLabelRequest.MetadataEntry.Value",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Required: true,
},
},
}
var UpdateIssuerRequest_MessageDescription = &api.MessageDescription{
Name: "UpdateIssuerRequest",
Display: "Update Issuer Request",
FullName: "pb.UpdateIssuerRequest",
Documentation: `UpdateIssuerRequest updates issuer config or status`,
Fields: []*api.FieldMeta{
{
Name: "ID",
FullName: "pb.UpdateIssuerRequest.ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Required: true,
Documentation: `ID of the issuer`,
},
{
Name: "Config",
FullName: "pb.UpdateIssuerRequest.Config",
Type: "struct",
StructName: "pb.IssuerConfig",
SearchType: "flat_object",
Documentation: `Config replaces runtime settings when provided`,
},
{
Name: "Status",
FullName: "pb.UpdateIssuerRequest.Status",
Type: "int32",
SearchType: "integer",
SearchOptions: api.SearchOption_Sortable,
EnumDescription: IssuerStatus_Enum_EnumDescription,
Documentation: `Status changes the status when provided: Archived or Destroyed`,
},
{
Name: "ProjectID",
FullName: "pb.UpdateIssuerRequest.ProjectID",
Display: "Project ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `ProjectID of the issuer's project. A caller whose role is granted
in the project only must name it, since the request is authorized at
that scope; the issuer must belong to it.`,
},
},
}
var UpdateOrgRequest_MessageDescription = &api.MessageDescription{
Name: "UpdateOrgRequest",
Display: "Update Org Request",
FullName: "pb.UpdateOrgRequest",
Documentation: `UpdateOrgRequest updates the org selected in the token`,
Fields: []*api.FieldMeta{
{
Name: "Name",
FullName: "pb.UpdateOrgRequest.Name",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Max: 64,
},
{
Name: "Description",
FullName: "pb.UpdateOrgRequest.Description",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
},
},
}
var UpdateProjectRequest_MessageDescription = &api.MessageDescription{
Name: "UpdateProjectRequest",
Display: "Update Project Request",
FullName: "pb.UpdateProjectRequest",
Documentation: `UpdateProjectRequest specifies request to update a project`,
Fields: []*api.FieldMeta{
{
Name: "ProjectID",
FullName: "pb.UpdateProjectRequest.ProjectID",
Display: "Project ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Required: true,
},
{
Name: "Name",
FullName: "pb.UpdateProjectRequest.Name",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Max: 64,
},
{
Name: "Description",
FullName: "pb.UpdateProjectRequest.Description",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
},
},
}
var UserInfo_MessageDescription = &api.MessageDescription{
Name: "UserInfo",
Display: "User Info",
FullName: "pb.UserInfo",
Documentation: `UserInfo provides basic info about user`,
Fields: []*api.FieldMeta{
{
Name: "ID",
FullName: "pb.UserInfo.ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
},
{
Name: "Name",
FullName: "pb.UserInfo.Name",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
},
{
Name: "Email",
FullName: "pb.UserInfo.Email",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
},
{
Name: "EmailVerified",
FullName: "pb.UserInfo.EmailVerified",
Display: "Email Verified",
Type: "bool",
SearchType: "boolean",
SearchOptions: api.SearchOption_Sortable,
},
{
Name: "Role",
FullName: "pb.UserInfo.Role",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Role is the role of the user in the application.
For most of the users, the role is "user".`,
},
{
Name: "Orgs",
FullName: "pb.UserInfo.Orgs",
Type: "map",
StructName: "pb.UserInfo.OrgsEntry",
SearchType: "flat_object",
Documentation: `Orgs maps the IDs of the orgs the user can select to the resolved role`,
},
{
Name: "OrgID",
FullName: "pb.UserInfo.OrgID",
Display: "Org ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `OrgID is the org selected in the token`,
},
{
Name: "OrgRole",
FullName: "pb.UserInfo.OrgRole",
Display: "Org Role",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `OrgRole is the resolved role in the selected org: the explicit org-wide
role, or Viewer derived from project grants`,
},
{
Name: "OrgRoleSource",
FullName: "pb.UserInfo.OrgRoleSource",
Display: "Org Role Source",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `OrgRoleSource is "direct" for an explicit org-wide grant or "project"
for a derived Viewer classification`,
},
},
}
var UserInfo_OrgsEntry_MessageDescription = &api.MessageDescription{
Name: "UserInfo_OrgsEntry",
Display: "Orgs Entry",
FullName: "pb.UserInfo.OrgsEntry",
Fields: []*api.FieldMeta{
{
Name: "Key",
FullName: "pb.UserInfo.OrgsEntry.Key",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Required: true,
},
{
Name: "Value",
FullName: "pb.UserInfo.OrgsEntry.Value",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Required: true,
},
},
}
var UserMemberships_MessageDescription = &api.MessageDescription{
Name: "UserMemberships",
Display: "User Memberships",
FullName: "pb.UserMemberships",
Documentation: `UserMemberships provides the caller's access to the selected org`,
Fields: []*api.FieldMeta{
{
Name: "Org",
FullName: "pb.UserMemberships.Org",
Type: "struct",
StructName: "pb.OrgAccess",
SearchType: "flat_object",
Documentation: `Org is the resolved org access`,
},
{
Name: "Memberships",
FullName: "pb.UserMemberships.Memberships",
Type: "[]struct",
StructName: "pb.Membership",
SearchType: "flat_object",
Documentation: `Memberships are the caller's explicit grants in the org: the org-wide
grant (empty ProjectID) and one per project grant`,
},
},
}
var UserOrgsResponse_MessageDescription = &api.MessageDescription{
Name: "UserOrgsResponse",
Display: "User Orgs Response",
FullName: "pb.UserOrgsResponse",
Documentation: `UserOrgsResponse provides the orgs the caller can select`,
Fields: []*api.FieldMeta{
{
Name: "Orgs",
FullName: "pb.UserOrgsResponse.Orgs",
Type: "[]struct",
StructName: "pb.OrgAccess",
SearchType: "flat_object",
},
},
}
var UserTokenResponse_MessageDescription = &api.MessageDescription{
Name: "UserTokenResponse",
Display: "User Token Response",
FullName: "pb.UserTokenResponse",
Documentation: `UserTokenResponse provides response with Token and UserInfo`,
Fields: []*api.FieldMeta{
{
Name: "Token",
FullName: "pb.UserTokenResponse.Token",
Type: "struct",
StructName: "pb.Token",
SearchType: "flat_object",
},
{
Name: "UserInfo",
FullName: "pb.UserTokenResponse.UserInfo",
Display: "User Info",
Type: "struct",
StructName: "pb.UserInfo",
SearchType: "flat_object",
},
},
}
var X509Extension_MessageDescription = &api.MessageDescription{
Name: "X509Extension",
Display: "X509 Extension",
FullName: "pb.X509Extension",
Documentation: `X509Extension represents a raw extension to be included in the certificate.`,
Fields: []*api.FieldMeta{
{
Name: "ID",
FullName: "pb.X509Extension.ID",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `ID is the extension OID in dotted notation, e.g. 2.5.29.31`,
},
{
Name: "Critical",
FullName: "pb.X509Extension.Critical",
Type: "bool",
SearchType: "boolean",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Critical flag`,
},
{
Name: "Value",
FullName: "pb.X509Extension.Value",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
Documentation: `Value is hex or base64 encoded DER value of the extension`,
},
},
}
var X509Name_MessageDescription = &api.MessageDescription{
Name: "X509Name",
Display: "X509 Name",
FullName: "pb.X509Name",
Documentation: `X509Name specifies X509 Name`,
Fields: []*api.FieldMeta{
{
Name: "Country",
FullName: "pb.X509Name.Country",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
},
{
Name: "State",
FullName: "pb.X509Name.State",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
},
{
Name: "Locality",
FullName: "pb.X509Name.Locality",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
},
{
Name: "Organisation",
FullName: "pb.X509Name.Organisation",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
},
{
Name: "OrganisationalUnit",
FullName: "pb.X509Name.OrganisationalUnit",
Display: "Organisational Unit",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
},
{
Name: "SerialNumber",
FullName: "pb.X509Name.SerialNumber",
Display: "Serial Number",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
},
},
}
var X509Subject_MessageDescription = &api.MessageDescription{
Name: "X509Subject",
Display: "X509 Subject",
FullName: "pb.X509Subject",
Documentation: `X509Subject specifies X509 Subject`,
Fields: []*api.FieldMeta{
{
Name: "CommonName",
FullName: "pb.X509Subject.CommonName",
Display: "Common Name",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
},
{
Name: "Names",
FullName: "pb.X509Subject.Names",
Type: "[]struct",
StructName: "pb.X509Name",
SearchType: "flat_object",
},
{
Name: "SerialNumber",
FullName: "pb.X509Subject.SerialNumber",
Display: "Serial Number",
Type: "string",
SearchType: "keyword",
SearchOptions: api.SearchOption_Sortable,
},
},
}
func CreateMessage
func CreateMessage(fullname string) any
func FindKVPair
func FindKVPair(list []*KVPair, key string) string
func GetMessageDescription
func GetMessageDescription(fullname string) *api.MessageDescription
func GetMessageDescriptions
func GetMessageDescriptions() map[string]*api.MessageDescription
func GetMethodAliases
func GetMethodAliases() map[string]string
GetMethodAliases returns map of method CLI commands to method names
func GetMethodsInfo
func GetMethodsInfo() map[string]*MethodInfo
GetMethodsInfo returns map of methods
func MapFromKVPair
func MapFromKVPair(list []*KVPair) map[string]string
func MarshalJSON
func MarshalJSON(v any) ([]byte, error)
MarshalJSON implements json.Marshaler
func PrintInvites
func PrintInvites(w io.Writer, val any)
func PrintKVPairs
func PrintKVPairs(w io.Writer, header []string, vals []*KVPair)
func PrintLoginInfos
func PrintLoginInfos(w io.Writer, val any)
PrintLoginInfos prints []*LoginInfo
func PrintMembers
func PrintMembers(w io.Writer, val any)
func PrintMethodAccesses
func PrintMethodAccesses(w io.Writer, val any)
func RegisterAuthServer
func RegisterAuthServer(s grpc.ServiceRegistrar, srv AuthServer)
func RegisterCAServer
func RegisterCAServer(s grpc.ServiceRegistrar, srv CAServer)
func RegisterCISServer
func RegisterCISServer(s grpc.ServiceRegistrar, srv CISServer)
func RegisterOrgsServer
func RegisterOrgsServer(s grpc.ServiceRegistrar, srv OrgsServer)
func RegisterPrintOnce
func RegisterPrintOnce()
func RegisterStatusServer
func RegisterStatusServer(s grpc.ServiceRegistrar, srv StatusServer)
type APIKey
type APIKey struct {
ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
OrgID string `protobuf:"bytes,2,opt,name=OrgID,proto3" json:"OrgID,omitempty"`
ProjectID string `protobuf:"bytes,3,opt,name=ProjectID,proto3" json:"ProjectID,omitempty"`
Label string `protobuf:"bytes,4,opt,name=Label,proto3" json:"Label,omitempty"`
Key string `protobuf:"bytes,5,opt,name=Key,proto3" json:"Key,omitempty"`
Secret string `protobuf:"bytes,6,opt,name=Secret,proto3" json:"Secret,omitempty"`
Scopes []string `protobuf:"bytes,7,rep,name=Scopes,proto3" json:"Scopes,omitempty"`
Metadata []*KVPair `protobuf:"bytes,8,rep,name=Metadata,proto3" json:"Metadata,omitempty"`
Status ItemStatus_Enum `protobuf:"varint,9,opt,name=Status,proto3,enum=pb.ItemStatus_Enum" json:"Status,omitempty"`
CreatedAt string `protobuf:"bytes,10,opt,name=CreatedAt,proto3" json:"CreatedAt,omitempty"`
ExpiresAt string `protobuf:"bytes,11,opt,name=ExpiresAt,proto3" json:"ExpiresAt,omitempty"`
UsedAt string `protobuf:"bytes,12,opt,name=UsedAt,proto3" json:"UsedAt,omitempty"`
UsedCount uint32 `protobuf:"varint,13,opt,name=UsedCount,proto3" json:"UsedCount,omitempty"`
// contains filtered or unexported fields
}
func (*APIKey) Descriptor
func (*APIKey) Descriptor() ([]byte, []int)
Deprecated: Use APIKey.ProtoReflect.Descriptor instead.
func (*APIKey) GetCreatedAt
func (x *APIKey) GetCreatedAt() string
func (*APIKey) GetExpiresAt
func (x *APIKey) GetExpiresAt() string
func (*APIKey) GetID
func (x *APIKey) GetID() string
func (*APIKey) GetKey
func (x *APIKey) GetKey() string
func (*APIKey) GetLabel
func (x *APIKey) GetLabel() string
func (*APIKey) GetMessageDescription
func (m *APIKey) GetMessageDescription() *api.MessageDescription
func (*APIKey) GetMetadata
func (x *APIKey) GetMetadata() []*KVPair
func (*APIKey) GetOrgID
func (x *APIKey) GetOrgID() string
func (*APIKey) GetProjectID
func (x *APIKey) GetProjectID() string
func (*APIKey) GetScopes
func (x *APIKey) GetScopes() []string
func (*APIKey) GetSecret
func (x *APIKey) GetSecret() string
func (*APIKey) GetStatus
func (x *APIKey) GetStatus() ItemStatus_Enum
func (*APIKey) GetUsedAt
func (x *APIKey) GetUsedAt() string
func (*APIKey) GetUsedCount
func (x *APIKey) GetUsedCount() uint32
func (*APIKey) MarshalJSON
func (msg *APIKey) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*APIKey) Print
func (r *APIKey) Print(w io.Writer)
func (*APIKey) ProtoMessage
func (*APIKey) ProtoMessage()
func (*APIKey) ProtoReflect
func (x *APIKey) ProtoReflect() protoreflect.Message
func (*APIKey) Reset
func (x *APIKey) Reset()
func (*APIKey) String
func (x *APIKey) String() string
func (*APIKey) UnmarshalJSON
func (msg *APIKey) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type APIKeyRequest
type APIKeyRequest struct {
// ProjectID is optional for project scope.
// It must match the project of the API key.
ProjectID string `protobuf:"bytes,1,opt,name=ProjectID,proto3" json:"ProjectID,omitempty"`
ID string `protobuf:"bytes,2,opt,name=ID,proto3" json:"ID,omitempty"`
// contains filtered or unexported fields
}
func (*APIKeyRequest) Descriptor
func (*APIKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use APIKeyRequest.ProtoReflect.Descriptor instead.
func (*APIKeyRequest) GetID
func (x *APIKeyRequest) GetID() string
func (*APIKeyRequest) GetProjectID
func (x *APIKeyRequest) GetProjectID() string
func (*APIKeyRequest) MarshalJSON
func (msg *APIKeyRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*APIKeyRequest) ProtoMessage
func (*APIKeyRequest) ProtoMessage()
func (*APIKeyRequest) ProtoReflect
func (x *APIKeyRequest) ProtoReflect() protoreflect.Message
func (*APIKeyRequest) Reset
func (x *APIKeyRequest) Reset()
func (*APIKeyRequest) String
func (x *APIKeyRequest) String() string
func (*APIKeyRequest) UnmarshalJSON
func (msg *APIKeyRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*APIKeyRequest) Validate
func (m *APIKeyRequest) Validate(ctx context.Context) error
type APIKeysResponse
type APIKeysResponse struct {
APIKeys []*APIKey `protobuf:"bytes,1,rep,name=APIKeys,proto3" json:"APIKeys,omitempty"`
// NextPage specifies pagination information, if there are more pages to
// fetch. If there are no more pages to fetch, NextPage will be empty.
NextPage *NextPage `protobuf:"bytes,2,opt,name=NextPage,proto3" json:"NextPage,omitempty"`
// contains filtered or unexported fields
}
func (*APIKeysResponse) Descriptor
func (*APIKeysResponse) Descriptor() ([]byte, []int)
Deprecated: Use APIKeysResponse.ProtoReflect.Descriptor instead.
func (*APIKeysResponse) GetAPIKeys
func (x *APIKeysResponse) GetAPIKeys() []*APIKey
func (*APIKeysResponse) GetMessageDescription
func (m *APIKeysResponse) GetMessageDescription() *api.MessageDescription
func (*APIKeysResponse) GetNextPage
func (x *APIKeysResponse) GetNextPage() *NextPage
func (*APIKeysResponse) MarshalJSON
func (msg *APIKeysResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*APIKeysResponse) Print
func (r *APIKeysResponse) Print(w io.Writer)
func (*APIKeysResponse) ProtoMessage
func (*APIKeysResponse) ProtoMessage()
func (*APIKeysResponse) ProtoReflect
func (x *APIKeysResponse) ProtoReflect() protoreflect.Message
func (*APIKeysResponse) Reset
func (x *APIKeysResponse) Reset()
func (*APIKeysResponse) String
func (x *APIKeysResponse) String() string
func (*APIKeysResponse) UnmarshalJSON
func (msg *APIKeysResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type ActivateIssuerRequest
ActivateIssuerRequest specifies the externally signed certificate for a Pending issuer
type ActivateIssuerRequest struct {
// ID of the Pending issuer
ID string `protobuf:"bytes,2,opt,name=ID,proto3" json:"ID,omitempty"`
// Certificate provides the issuer certificate in PEM format
Certificate string `protobuf:"bytes,3,opt,name=Certificate,proto3" json:"Certificate,omitempty"`
// Intermediates provides the intermediate CA certificates in PEM format
Intermediates string `protobuf:"bytes,4,opt,name=Intermediates,proto3" json:"Intermediates,omitempty"`
// Root provides the Root CA certificate in PEM format
Root string `protobuf:"bytes,5,opt,name=Root,proto3" json:"Root,omitempty"`
// ProjectID of the issuer's project. A caller whose role is granted
// in the project only must name it, since the request is authorized at
// that scope; the issuer must belong to it.
ProjectID string `protobuf:"bytes,6,opt,name=ProjectID,proto3" json:"ProjectID,omitempty"`
// contains filtered or unexported fields
}
func (*ActivateIssuerRequest) Descriptor
func (*ActivateIssuerRequest) Descriptor() ([]byte, []int)
Deprecated: Use ActivateIssuerRequest.ProtoReflect.Descriptor instead.
func (*ActivateIssuerRequest) GetCertificate
func (x *ActivateIssuerRequest) GetCertificate() string
func (*ActivateIssuerRequest) GetID
func (x *ActivateIssuerRequest) GetID() string
func (*ActivateIssuerRequest) GetIntermediates
func (x *ActivateIssuerRequest) GetIntermediates() string
func (*ActivateIssuerRequest) GetProjectID
func (x *ActivateIssuerRequest) GetProjectID() string
func (*ActivateIssuerRequest) GetRoot
func (x *ActivateIssuerRequest) GetRoot() string
func (*ActivateIssuerRequest) MarshalJSON
func (msg *ActivateIssuerRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*ActivateIssuerRequest) ProtoMessage
func (*ActivateIssuerRequest) ProtoMessage()
func (*ActivateIssuerRequest) ProtoReflect
func (x *ActivateIssuerRequest) ProtoReflect() protoreflect.Message
func (*ActivateIssuerRequest) Reset
func (x *ActivateIssuerRequest) Reset()
func (*ActivateIssuerRequest) String
func (x *ActivateIssuerRequest) String() string
func (*ActivateIssuerRequest) UnmarshalJSON
func (msg *ActivateIssuerRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*ActivateIssuerRequest) Validate
func (m *ActivateIssuerRequest) Validate(ctx context.Context) error
type AddMemberRequest
AddMemberRequest specifies request to grant a role in the org selected in the token (empty ProjectID) or in a project. If the user does not exist, an invite is created instead.
type AddMemberRequest struct {
// Email specifies user email to search.
Email string `protobuf:"bytes,1,opt,name=Email,proto3" json:"Email,omitempty"`
// Role specifies the role to grant. The caller must be allowed to grant
// it at the requested scope; only an org Owner can grant Owner.
Role Role_Enum `protobuf:"varint,2,opt,name=Role,proto3,enum=pb.Role_Enum" json:"Role,omitempty"`
// ProjectID specifies the project for a Project scope grant;
// empty for an org-wide grant
ProjectID string `protobuf:"bytes,3,opt,name=ProjectID,proto3" json:"ProjectID,omitempty"`
// contains filtered or unexported fields
}
func (*AddMemberRequest) Descriptor
func (*AddMemberRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddMemberRequest.ProtoReflect.Descriptor instead.
func (*AddMemberRequest) GetEmail
func (x *AddMemberRequest) GetEmail() string
func (*AddMemberRequest) GetProjectID
func (x *AddMemberRequest) GetProjectID() string
func (*AddMemberRequest) GetRole
func (x *AddMemberRequest) GetRole() Role_Enum
func (*AddMemberRequest) MarshalJSON
func (msg *AddMemberRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*AddMemberRequest) ProtoMessage
func (*AddMemberRequest) ProtoMessage()
func (*AddMemberRequest) ProtoReflect
func (x *AddMemberRequest) ProtoReflect() protoreflect.Message
func (*AddMemberRequest) Reset
func (x *AddMemberRequest) Reset()
func (*AddMemberRequest) String
func (x *AddMemberRequest) String() string
func (*AddMemberRequest) UnmarshalJSON
func (msg *AddMemberRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*AddMemberRequest) Validate
func (m *AddMemberRequest) Validate(ctx context.Context) error
type AddMemberResponse
AddMemberResponse provides response for AddMember request. If a user already exists, the Membership is returned. If a user is invited, the Invite is returned.
type AddMemberResponse struct {
Invite *Invite `protobuf:"bytes,1,opt,name=Invite,proto3" json:"Invite,omitempty"`
Membership *Membership `protobuf:"bytes,2,opt,name=Membership,proto3" json:"Membership,omitempty"`
// contains filtered or unexported fields
}
func (*AddMemberResponse) Descriptor
func (*AddMemberResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddMemberResponse.ProtoReflect.Descriptor instead.
func (*AddMemberResponse) GetInvite
func (x *AddMemberResponse) GetInvite() *Invite
func (*AddMemberResponse) GetMembership
func (x *AddMemberResponse) GetMembership() *Membership
func (*AddMemberResponse) GetMessageDescription
func (m *AddMemberResponse) GetMessageDescription() *api.MessageDescription
func (*AddMemberResponse) MarshalJSON
func (msg *AddMemberResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*AddMemberResponse) Print
func (r *AddMemberResponse) Print(w io.Writer)
func (*AddMemberResponse) ProtoMessage
func (*AddMemberResponse) ProtoMessage()
func (*AddMemberResponse) ProtoReflect
func (x *AddMemberResponse) ProtoReflect() protoreflect.Message
func (*AddMemberResponse) Reset
func (x *AddMemberResponse) Reset()
func (*AddMemberResponse) String
func (x *AddMemberResponse) String() string
func (*AddMemberResponse) UnmarshalJSON
func (msg *AddMemberResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type AllowedMethods
type AllowedMethods struct {
// Service is the name of the service
Service string `protobuf:"bytes,1,opt,name=Service,proto3" json:"Service,omitempty"`
// Methods is the list of methods that are allowed.
// The key is the short method name, the value is the full method name.
Methods []*KVPair `protobuf:"bytes,2,rep,name=Methods,proto3" json:"Methods,omitempty"`
// contains filtered or unexported fields
}
func (*AllowedMethods) Descriptor
func (*AllowedMethods) Descriptor() ([]byte, []int)
Deprecated: Use AllowedMethods.ProtoReflect.Descriptor instead.
func (*AllowedMethods) GetMethods
func (x *AllowedMethods) GetMethods() []*KVPair
func (*AllowedMethods) GetService
func (x *AllowedMethods) GetService() string
func (*AllowedMethods) MarshalJSON
func (msg *AllowedMethods) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*AllowedMethods) ProtoMessage
func (*AllowedMethods) ProtoMessage()
func (*AllowedMethods) ProtoReflect
func (x *AllowedMethods) ProtoReflect() protoreflect.Message
func (*AllowedMethods) Reset
func (x *AllowedMethods) Reset()
func (*AllowedMethods) String
func (x *AllowedMethods) String() string
func (*AllowedMethods) UnmarshalJSON
func (msg *AllowedMethods) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type AuthClient
AuthClient is the client API for Auth service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
type AuthClient interface {
// GetProviders returns the list of supported providers
GetProviders(ctx context.Context, in *AuthProvidersRequest, opts ...grpc.CallOption) (*AuthProvidersResponse, error)
// GetUserToken returns the user token info
GetUserToken(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*UserTokenResponse, error)
// RevokeToken revokes the user token
RevokeToken(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Caller returns the caller status.
Caller(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*CallerStatusResponse, error)
// ExchangeCode exchanges the one-time code for a token.
// The returned token only contains the Access Token.
// The client should call GetUserToken for full info.
ExchangeCode(ctx context.Context, in *ExchangeCodeRequest, opts ...grpc.CallOption) (*Token, error)
// SelectOrg verifies the caller's access to the org and returns a new
// token scoped to it. This is the only tenant request that carries OrgID.
SelectOrg(ctx context.Context, in *SelectOrgRequest, opts ...grpc.CallOption) (*UserTokenResponse, error)
// AuthenticateAPIKey returns the user token info.
// The caller must include the API key in the Authorization header
// with HMAC SHA256 signature of the request, using API key secret.
//
// Date: RFC3339 timestamp
// Authorization: APIKey {KeyID}:{signature}
// signature = Base64(HMAC-SHA256(secret, method + timestamp))
AuthenticateAPIKey(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*UserTokenResponse, error)
// GetAllowedMethods returns the allowed methods for the caller
GetAllowedMethods(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ServiceAccessInfo, error)
// GetCallerScope returns the caller's resolved scope in the selected org:
// the org role, project roles, token scopes, and per method the roles
// and scopes it requires.
GetCallerScope(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*CallerScope, error)
}
func NewAuthClient
func NewAuthClient(cc grpc.ClientConnInterface) AuthClient
type AuthProvidersRequest
AuthProvidersRequest specifies request to get list of supported IDP
type AuthProvidersRequest struct {
// Email specifies optional email to use for login
Email string `protobuf:"bytes,1,opt,name=Email,proto3" json:"Email,omitempty"`
// contains filtered or unexported fields
}
func (*AuthProvidersRequest) Descriptor
func (*AuthProvidersRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthProvidersRequest.ProtoReflect.Descriptor instead.
func (*AuthProvidersRequest) GetEmail
func (x *AuthProvidersRequest) GetEmail() string
func (*AuthProvidersRequest) MarshalJSON
func (msg *AuthProvidersRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*AuthProvidersRequest) ProtoMessage
func (*AuthProvidersRequest) ProtoMessage()
func (*AuthProvidersRequest) ProtoReflect
func (x *AuthProvidersRequest) ProtoReflect() protoreflect.Message
func (*AuthProvidersRequest) Reset
func (x *AuthProvidersRequest) Reset()
func (*AuthProvidersRequest) String
func (x *AuthProvidersRequest) String() string
func (*AuthProvidersRequest) UnmarshalJSON
func (msg *AuthProvidersRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*AuthProvidersRequest) Validate
func (m *AuthProvidersRequest) Validate(ctx context.Context) error
type AuthProvidersResponse
AuthProvidersResponse provides list of supported IDP
type AuthProvidersResponse struct {
// AuthURL specifies URL to start authentication flow
AuthURL string `protobuf:"bytes,1,opt,name=AuthURL,proto3" json:"AuthURL,omitempty"`
// Providers specifies the list of supported IDPs
Providers []IDP_Enum `protobuf:"varint,2,rep,packed,name=Providers,proto3,enum=pb.IDP_Enum" json:"Providers,omitempty"`
// ProviderNames specifies the list of supported IDP names,
// this can be used to display the list of supported IDPs to the user,
// or for REST clients that are not aware of enum values.
ProviderNames []string `protobuf:"bytes,3,rep,name=ProviderNames,proto3" json:"ProviderNames,omitempty"`
// contains filtered or unexported fields
}
func (*AuthProvidersResponse) Descriptor
func (*AuthProvidersResponse) Descriptor() ([]byte, []int)
Deprecated: Use AuthProvidersResponse.ProtoReflect.Descriptor instead.
func (*AuthProvidersResponse) GetAuthURL
func (x *AuthProvidersResponse) GetAuthURL() string
func (*AuthProvidersResponse) GetMessageDescription
func (m *AuthProvidersResponse) GetMessageDescription() *api.MessageDescription
func (*AuthProvidersResponse) GetProviderNames
func (x *AuthProvidersResponse) GetProviderNames() []string
func (*AuthProvidersResponse) GetProviders
func (x *AuthProvidersResponse) GetProviders() []IDP_Enum
func (*AuthProvidersResponse) MarshalJSON
func (msg *AuthProvidersResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*AuthProvidersResponse) ProtoMessage
func (*AuthProvidersResponse) ProtoMessage()
func (*AuthProvidersResponse) ProtoReflect
func (x *AuthProvidersResponse) ProtoReflect() protoreflect.Message
func (*AuthProvidersResponse) Reset
func (x *AuthProvidersResponse) Reset()
func (*AuthProvidersResponse) String
func (x *AuthProvidersResponse) String() string
func (*AuthProvidersResponse) UnmarshalJSON
func (msg *AuthProvidersResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type AuthServer
AuthServer is the server API for Auth service. All implementations should embed UnimplementedAuthServer for forward compatibility.
type AuthServer interface {
// GetProviders returns the list of supported providers
GetProviders(context.Context, *AuthProvidersRequest) (*AuthProvidersResponse, error)
// GetUserToken returns the user token info
GetUserToken(context.Context, *emptypb.Empty) (*UserTokenResponse, error)
// RevokeToken revokes the user token
RevokeToken(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
// Caller returns the caller status.
Caller(context.Context, *emptypb.Empty) (*CallerStatusResponse, error)
// ExchangeCode exchanges the one-time code for a token.
// The returned token only contains the Access Token.
// The client should call GetUserToken for full info.
ExchangeCode(context.Context, *ExchangeCodeRequest) (*Token, error)
// SelectOrg verifies the caller's access to the org and returns a new
// token scoped to it. This is the only tenant request that carries OrgID.
SelectOrg(context.Context, *SelectOrgRequest) (*UserTokenResponse, error)
// AuthenticateAPIKey returns the user token info.
// The caller must include the API key in the Authorization header
// with HMAC SHA256 signature of the request, using API key secret.
//
// Date: RFC3339 timestamp
// Authorization: APIKey {KeyID}:{signature}
// signature = Base64(HMAC-SHA256(secret, method + timestamp))
AuthenticateAPIKey(context.Context, *emptypb.Empty) (*UserTokenResponse, error)
// GetAllowedMethods returns the allowed methods for the caller
GetAllowedMethods(context.Context, *emptypb.Empty) (*ServiceAccessInfo, error)
// GetCallerScope returns the caller's resolved scope in the selected org:
// the org role, project roles, token scopes, and per method the roles
// and scopes it requires.
GetCallerScope(context.Context, *emptypb.Empty) (*CallerScope, error)
}
type AuthorityType
type AuthorityType struct {
// contains filtered or unexported fields
}
func (*AuthorityType) Descriptor
func (*AuthorityType) Descriptor() ([]byte, []int)
Deprecated: Use AuthorityType.ProtoReflect.Descriptor instead.
func (*AuthorityType) MarshalJSON
func (msg *AuthorityType) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*AuthorityType) ProtoMessage
func (*AuthorityType) ProtoMessage()
func (*AuthorityType) ProtoReflect
func (x *AuthorityType) ProtoReflect() protoreflect.Message
func (*AuthorityType) Reset
func (x *AuthorityType) Reset()
func (*AuthorityType) String
func (x *AuthorityType) String() string
func (*AuthorityType) UnmarshalJSON
func (msg *AuthorityType) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type AuthorityType\_Enum
AuthorityType defines type constants for authorities
type AuthorityType_Enum int32
const (
// Unknown indicates that the authority type is unknown
AuthorityType_Unknown AuthorityType_Enum = 0
// Root indicates a self-signed root authority
AuthorityType_Root AuthorityType_Enum = 1
// Intermediate indicates an intermediate authority that only signs
// subordinate CAs
AuthorityType_Intermediate AuthorityType_Enum = 2
// Issuing indicates an issuing authority for end-entity certificates
AuthorityType_Issuing AuthorityType_Enum = 3
// Shaken indicates a STIR/SHAKEN authority
AuthorityType_Shaken AuthorityType_Enum = 4
// ShakenDelegated indicates a STIR/SHAKEN Delegated authority
AuthorityType_ShakenDelegated AuthorityType_Enum = 5
)
func (AuthorityType_Enum) Describe
func (s AuthorityType_Enum) Describe() map[AuthorityType_Enum]*api.EnumMeta
Describe returns Enum meta information for all values
func (AuthorityType_Enum) Descriptor
func (AuthorityType_Enum) Descriptor() protoreflect.EnumDescriptor
func (AuthorityType_Enum) DisplayName
func (s AuthorityType_Enum) DisplayName() string
DisplayName returns display name of Enum value
func (AuthorityType_Enum) DisplayNames
func (s AuthorityType_Enum) DisplayNames() []string
DisplayNames returns display names of Enum bitflag value
func (AuthorityType_Enum) DisplayNamesMap
func (s AuthorityType_Enum) DisplayNamesMap() map[int32]string
DisplayNamesMap returns a map of enum display names
func (AuthorityType_Enum) Enum
func (x AuthorityType_Enum) Enum() *AuthorityType_Enum
func (AuthorityType_Enum) EnumDescriptor
func (AuthorityType_Enum) EnumDescriptor() ([]byte, []int)
Deprecated: Use AuthorityType_Enum.Descriptor instead.
func (AuthorityType_Enum) Flags
func (s AuthorityType_Enum) Flags() []AuthorityType_Enum
Flags returns list of Enum values
func (AuthorityType_Enum) FlagsInt
func (s AuthorityType_Enum) FlagsInt() []int32
FlagsInt returns list of Enum values as int32
func (AuthorityType_Enum) GetDescription
func (s AuthorityType_Enum) GetDescription() *api.EnumDescription
GetDescription returns Enum description
func (AuthorityType_Enum) Meta
func (s AuthorityType_Enum) Meta() *api.EnumMeta
Meta returns Enum meta information
func (AuthorityType_Enum) NamesMap
func (s AuthorityType_Enum) NamesMap() map[int32]string
NamesMap returns map of enum names
func (AuthorityType_Enum) Number
func (x AuthorityType_Enum) Number() protoreflect.EnumNumber
func (AuthorityType_Enum) Parse
func (_ AuthorityType_Enum) Parse(val any) AuthorityType_Enum
Parse returns Enum value parsed from val
func (AuthorityType_Enum) String
func (x AuthorityType_Enum) String() string
func (AuthorityType_Enum) SupportedNames
func (s AuthorityType_Enum) SupportedNames() string
SupportedNames returns string of supported Enum name concatenated by ","
func (AuthorityType_Enum) Type
func (AuthorityType_Enum) Type() protoreflect.EnumType
func (*AuthorityType_Enum) UnmarshalJSON
func (s *AuthorityType_Enum) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals Enum from JSON
func (*AuthorityType_Enum) UnmarshalYAML
func (s *AuthorityType_Enum) UnmarshalYAML(unmarshal func(any) error) error
UnmarshalYAML unmarshals Enum from YAML
func (AuthorityType_Enum) ValueNames
func (s AuthorityType_Enum) ValueNames() []string
ValueNames returns list of Enum value names
func (AuthorityType_Enum) ValueString
func (s AuthorityType_Enum) ValueString() string
ValueString returns string of Enum value names concatenated by ","
func (AuthorityType_Enum) ValuesMap
func (s AuthorityType_Enum) ValuesMap() map[string]int32
ValuesMap returns a map of enum values
type AuthorityType\_EnumSlice
type AuthorityType_EnumSlice []AuthorityType_Enum
type CAClient
CAClient is the client API for CA service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
CA is the Certification Authority service of the tenants: the users and the API keys of an org, on the wfe listener. Every request is scoped by the org of the caller's token and an optional ProjectID; the requests carry no OrgID. The service holds no issuer key: it forwards every call to privpb.Backend with the org of the token (DESIGN.md section 2.1), which is also the API of the service identities (the RA, the operator). Methods declare the roles and the API key scopes they require.
type CAClient interface {
// RegisterIssuer creates a new issuing authority for the tenant.
// The private key is generated in the configured crypto provider and
// never leaves it. The certificate is signed by the parent issuer,
// self-signed for Root type, or, when no parent is available, the issuer
// is created in Pending status with a CSR to be signed externally.
RegisterIssuer(ctx context.Context, in *RegisterIssuerRequest, opts ...grpc.CallOption) (*Issuer, error)
// UpdateIssuer updates the runtime configuration or status of an issuer.
// Status transitions: Active -> Archived -> Destroyed.
UpdateIssuer(ctx context.Context, in *UpdateIssuerRequest, opts ...grpc.CallOption) (*Issuer, error)
// ImportIssuer registers an issuer from an existing certificate and key.
// The key is either referenced by a crypto provider URI or provided as
// PEM and stored protected. Used for bring-your-own-CA.
ImportIssuer(ctx context.Context, in *ImportIssuerRequest, opts ...grpc.CallOption) (*Issuer, error)
// ActivateIssuer sets the externally signed certificate for a Pending
// issuer and activates it.
ActivateIssuer(ctx context.Context, in *ActivateIssuerRequest, opts ...grpc.CallOption) (*Issuer, error)
// GetIssuer returns the issuer by ID, label or IKID
GetIssuer(ctx context.Context, in *GetIssuerRequest, opts ...grpc.CallOption) (*Issuer, error)
// ListIssuers returns the tenant's issuers
ListIssuers(ctx context.Context, in *ListIssuersRequest, opts ...grpc.CallOption) (*IssuersResponse, error)
// RegisterRoot registers an external trust anchor for the tenant.
// Roots created via RegisterIssuer are registered automatically.
RegisterRoot(ctx context.Context, in *RegisterRootRequest, opts ...grpc.CallOption) (*RootCertificate, error)
// ListRoots returns the tenant's trust anchors
ListRoots(ctx context.Context, in *ListRootsRequest, opts ...grpc.CallOption) (*RootsResponse, error)
// RegisterProfile creates or replaces a certificate profile, keyed by
// (org, ProjectID, Label)
RegisterProfile(ctx context.Context, in *RegisterProfileRequest, opts ...grpc.CallOption) (*CertProfile, error)
// GetProfile returns the profile by ID or label
GetProfile(ctx context.Context, in *GetProfileRequest, opts ...grpc.CallOption) (*CertProfile, error)
// ListProfiles returns the tenant's profiles
ListProfiles(ctx context.Context, in *ListProfilesRequest, opts ...grpc.CallOption) (*ProfilesResponse, error)
// DeleteProfile deletes a profile
DeleteProfile(ctx context.Context, in *DeleteProfileRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// SignCertificate signs a certificate request with the profile's issuer
SignCertificate(ctx context.Context, in *SignCertificateRequest, opts ...grpc.CallOption) (*CertificateResponse, error)
// GetCertificate returns the certificate by ID, SKID, Sha256 or
// issuer and serial number
GetCertificate(ctx context.Context, in *GetCertificateRequest, opts ...grpc.CallOption) (*CertificateResponse, error)
// ListCertificates returns the tenant's certificates, newest first
ListCertificates(ctx context.Context, in *ListCertificatesRequest, opts ...grpc.CallOption) (*CertificatesResponse, error)
// UpdateCertificateLabel updates the client-provided label and metadata
UpdateCertificateLabel(ctx context.Context, in *UpdateCertificateLabelRequest, opts ...grpc.CallOption) (*CertificateResponse, error)
// RevokeCertificate revokes the certificate
RevokeCertificate(ctx context.Context, in *RevokeCertificateRequest, opts ...grpc.CallOption) (*RevokedCertificateResponse, error)
// ListRevokedCertificates returns the tenant's revoked certificates
ListRevokedCertificates(ctx context.Context, in *ListRevokedCertificatesRequest, opts ...grpc.CallOption) (*RevokedCertificatesResponse, error)
// GetCRL returns the current CRL of the issuer
GetCRL(ctx context.Context, in *GetCrlRequest, opts ...grpc.CallOption) (*CrlResponse, error)
// PublishCrls generates and publishes CRLs on demand: the CRL of the
// issuer of the IKID, or the due CRLs of the issuers in scope. A project
// Admin and an API key restricted to a project publish for their project.
// The scheduled CRL renewal task publishes the due CRLs of every org
// in-process.
PublishCrls(ctx context.Context, in *PublishCrlsRequest, opts ...grpc.CallOption) (*CrlsResponse, error)
// SignOCSP signs an OCSP response; the AIA OCSP responder calls
// Backend.SignOCSP.
SignOCSP(ctx context.Context, in *OCSPRequest, opts ...grpc.CallOption) (*OCSPResponse, error)
// GetSummary returns the counts of the tenant's dashboard: the issuers
// by status, the certificates by status and by expiry, and the issuers
// that publish CRLs by the state of their CRL, for the org or for one
// project. Without a project, a member with project grants only gets
// the org-wide rows and those of its projects, as the lists do.
GetSummary(ctx context.Context, in *GetSummaryRequest, opts ...grpc.CallOption) (*SummaryResponse, error)
}
func NewCAClient
func NewCAClient(cc grpc.ClientConnInterface) CAClient
type CAConstraint
CAConstraint specifies various CA constraints on the signed certificate. CAConstraint would verify against (and override) the CA extensions in the given CSR.
type CAConstraint struct {
IsCA bool `protobuf:"varint,1,opt,name=IsCA,proto3" json:"IsCA,omitempty"`
MaxPathLen int32 `protobuf:"varint,2,opt,name=MaxPathLen,proto3" json:"MaxPathLen,omitempty"`
// contains filtered or unexported fields
}
func (*CAConstraint) Descriptor
func (*CAConstraint) Descriptor() ([]byte, []int)
Deprecated: Use CAConstraint.ProtoReflect.Descriptor instead.
func (*CAConstraint) GetIsCA
func (x *CAConstraint) GetIsCA() bool
func (*CAConstraint) GetMaxPathLen
func (x *CAConstraint) GetMaxPathLen() int32
func (*CAConstraint) MarshalJSON
func (msg *CAConstraint) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*CAConstraint) ProtoMessage
func (*CAConstraint) ProtoMessage()
func (*CAConstraint) ProtoReflect
func (x *CAConstraint) ProtoReflect() protoreflect.Message
func (*CAConstraint) Reset
func (x *CAConstraint) Reset()
func (*CAConstraint) String
func (x *CAConstraint) String() string
func (*CAConstraint) UnmarshalJSON
func (msg *CAConstraint) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type CAServer
CAServer is the server API for CA service. All implementations should embed UnimplementedCAServer for forward compatibility.
CA is the Certification Authority service of the tenants: the users and the API keys of an org, on the wfe listener. Every request is scoped by the org of the caller's token and an optional ProjectID; the requests carry no OrgID. The service holds no issuer key: it forwards every call to privpb.Backend with the org of the token (DESIGN.md section 2.1), which is also the API of the service identities (the RA, the operator). Methods declare the roles and the API key scopes they require.
type CAServer interface {
// RegisterIssuer creates a new issuing authority for the tenant.
// The private key is generated in the configured crypto provider and
// never leaves it. The certificate is signed by the parent issuer,
// self-signed for Root type, or, when no parent is available, the issuer
// is created in Pending status with a CSR to be signed externally.
RegisterIssuer(context.Context, *RegisterIssuerRequest) (*Issuer, error)
// UpdateIssuer updates the runtime configuration or status of an issuer.
// Status transitions: Active -> Archived -> Destroyed.
UpdateIssuer(context.Context, *UpdateIssuerRequest) (*Issuer, error)
// ImportIssuer registers an issuer from an existing certificate and key.
// The key is either referenced by a crypto provider URI or provided as
// PEM and stored protected. Used for bring-your-own-CA.
ImportIssuer(context.Context, *ImportIssuerRequest) (*Issuer, error)
// ActivateIssuer sets the externally signed certificate for a Pending
// issuer and activates it.
ActivateIssuer(context.Context, *ActivateIssuerRequest) (*Issuer, error)
// GetIssuer returns the issuer by ID, label or IKID
GetIssuer(context.Context, *GetIssuerRequest) (*Issuer, error)
// ListIssuers returns the tenant's issuers
ListIssuers(context.Context, *ListIssuersRequest) (*IssuersResponse, error)
// RegisterRoot registers an external trust anchor for the tenant.
// Roots created via RegisterIssuer are registered automatically.
RegisterRoot(context.Context, *RegisterRootRequest) (*RootCertificate, error)
// ListRoots returns the tenant's trust anchors
ListRoots(context.Context, *ListRootsRequest) (*RootsResponse, error)
// RegisterProfile creates or replaces a certificate profile, keyed by
// (org, ProjectID, Label)
RegisterProfile(context.Context, *RegisterProfileRequest) (*CertProfile, error)
// GetProfile returns the profile by ID or label
GetProfile(context.Context, *GetProfileRequest) (*CertProfile, error)
// ListProfiles returns the tenant's profiles
ListProfiles(context.Context, *ListProfilesRequest) (*ProfilesResponse, error)
// DeleteProfile deletes a profile
DeleteProfile(context.Context, *DeleteProfileRequest) (*emptypb.Empty, error)
// SignCertificate signs a certificate request with the profile's issuer
SignCertificate(context.Context, *SignCertificateRequest) (*CertificateResponse, error)
// GetCertificate returns the certificate by ID, SKID, Sha256 or
// issuer and serial number
GetCertificate(context.Context, *GetCertificateRequest) (*CertificateResponse, error)
// ListCertificates returns the tenant's certificates, newest first
ListCertificates(context.Context, *ListCertificatesRequest) (*CertificatesResponse, error)
// UpdateCertificateLabel updates the client-provided label and metadata
UpdateCertificateLabel(context.Context, *UpdateCertificateLabelRequest) (*CertificateResponse, error)
// RevokeCertificate revokes the certificate
RevokeCertificate(context.Context, *RevokeCertificateRequest) (*RevokedCertificateResponse, error)
// ListRevokedCertificates returns the tenant's revoked certificates
ListRevokedCertificates(context.Context, *ListRevokedCertificatesRequest) (*RevokedCertificatesResponse, error)
// GetCRL returns the current CRL of the issuer
GetCRL(context.Context, *GetCrlRequest) (*CrlResponse, error)
// PublishCrls generates and publishes CRLs on demand: the CRL of the
// issuer of the IKID, or the due CRLs of the issuers in scope. A project
// Admin and an API key restricted to a project publish for their project.
// The scheduled CRL renewal task publishes the due CRLs of every org
// in-process.
PublishCrls(context.Context, *PublishCrlsRequest) (*CrlsResponse, error)
// SignOCSP signs an OCSP response; the AIA OCSP responder calls
// Backend.SignOCSP.
SignOCSP(context.Context, *OCSPRequest) (*OCSPResponse, error)
// GetSummary returns the counts of the tenant's dashboard: the issuers
// by status, the certificates by status and by expiry, and the issuers
// that publish CRLs by the state of their CRL, for the org or for one
// project. Without a project, a member with project grants only gets
// the org-wide rows and those of its projects, as the lists do.
GetSummary(context.Context, *GetSummaryRequest) (*SummaryResponse, error)
}
type CISClient
CISClient is the client API for CIS service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
CIS is the Certificate Information Service. It is the read-only gRPC and REST view of the CA for authenticated callers: trust anchors, issuer chains, certificate information, revocation status and CRLs of every org, without their tenancy. It never holds CA private keys.
The binary endpoints the issued certificates reference (the AIA issuer certificate, the CRL Distribution Point and the OCSP responder) are the aia service, served over plain HTTP to any caller.
type CISClient interface {
// GetRoots returns the published trust anchors
GetRoots(ctx context.Context, in *GetRootsRequest, opts ...grpc.CallOption) (*RootsResponse, error)
// GetIssuer returns the issuer chain and status by IKID
GetIssuer(ctx context.Context, in *GetIssuerInfoRequest, opts ...grpc.CallOption) (*IssuerInfo, error)
// GetCertificate returns the certificate by ID, SKID, Sha256 or issuer
// and serial number
GetCertificate(ctx context.Context, in *GetCertificateInfoRequest, opts ...grpc.CallOption) (*CertificateResponse, error)
// GetCertificateStatus returns the revocation status of a certificate
GetCertificateStatus(ctx context.Context, in *GetCertificateInfoRequest, opts ...grpc.CallOption) (*CertificateStatusResponse, error)
// GetCRL returns the current CRL of the issuer in PEM format
GetCRL(ctx context.Context, in *GetCrlRequest, opts ...grpc.CallOption) (*CrlResponse, error)
}
func NewCISClient
func NewCISClient(cc grpc.ClientConnInterface) CISClient
type CISServer
CISServer is the server API for CIS service. All implementations should embed UnimplementedCISServer for forward compatibility.
CIS is the Certificate Information Service. It is the read-only gRPC and REST view of the CA for authenticated callers: trust anchors, issuer chains, certificate information, revocation status and CRLs of every org, without their tenancy. It never holds CA private keys.
The binary endpoints the issued certificates reference (the AIA issuer certificate, the CRL Distribution Point and the OCSP responder) are the aia service, served over plain HTTP to any caller.
type CISServer interface {
// GetRoots returns the published trust anchors
GetRoots(context.Context, *GetRootsRequest) (*RootsResponse, error)
// GetIssuer returns the issuer chain and status by IKID
GetIssuer(context.Context, *GetIssuerInfoRequest) (*IssuerInfo, error)
// GetCertificate returns the certificate by ID, SKID, Sha256 or issuer
// and serial number
GetCertificate(context.Context, *GetCertificateInfoRequest) (*CertificateResponse, error)
// GetCertificateStatus returns the revocation status of a certificate
GetCertificateStatus(context.Context, *GetCertificateInfoRequest) (*CertificateStatusResponse, error)
// GetCRL returns the current CRL of the issuer in PEM format
GetCRL(context.Context, *GetCrlRequest) (*CrlResponse, error)
}
type CSRAllowedFields
CSRAllowedFields specifies which fields may be copied from a CSR
type CSRAllowedFields struct {
Subject bool `protobuf:"varint,1,opt,name=Subject,proto3" json:"Subject,omitempty"`
Dns bool `protobuf:"varint,2,opt,name=Dns,proto3" json:"Dns,omitempty"`
Ip bool `protobuf:"varint,3,opt,name=Ip,proto3" json:"Ip,omitempty"`
Email bool `protobuf:"varint,4,opt,name=Email,proto3" json:"Email,omitempty"`
Uri bool `protobuf:"varint,5,opt,name=Uri,proto3" json:"Uri,omitempty"`
// contains filtered or unexported fields
}
func (*CSRAllowedFields) Descriptor
func (*CSRAllowedFields) Descriptor() ([]byte, []int)
Deprecated: Use CSRAllowedFields.ProtoReflect.Descriptor instead.
func (*CSRAllowedFields) GetDns
func (x *CSRAllowedFields) GetDns() bool
func (*CSRAllowedFields) GetEmail
func (x *CSRAllowedFields) GetEmail() bool
func (*CSRAllowedFields) GetIp
func (x *CSRAllowedFields) GetIp() bool
func (*CSRAllowedFields) GetSubject
func (x *CSRAllowedFields) GetSubject() bool
func (*CSRAllowedFields) GetUri
func (x *CSRAllowedFields) GetUri() bool
func (*CSRAllowedFields) MarshalJSON
func (msg *CSRAllowedFields) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*CSRAllowedFields) ProtoMessage
func (*CSRAllowedFields) ProtoMessage()
func (*CSRAllowedFields) ProtoReflect
func (x *CSRAllowedFields) ProtoReflect() protoreflect.Message
func (*CSRAllowedFields) Reset
func (x *CSRAllowedFields) Reset()
func (*CSRAllowedFields) String
func (x *CSRAllowedFields) String() string
func (*CSRAllowedFields) UnmarshalJSON
func (msg *CSRAllowedFields) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type CallerScope
CallerScope is the resolved scope of the caller in the selected org
type CallerScope struct {
// OrgID is the org selected in the token
OrgID string `protobuf:"bytes,1,opt,name=OrgID,proto3" json:"OrgID,omitempty"`
// ProjectID is the project an API key is restricted to
ProjectID string `protobuf:"bytes,2,opt,name=ProjectID,proto3" json:"ProjectID,omitempty"`
// Role is the resolved role at org scope
Role Role_Enum `protobuf:"varint,3,opt,name=Role,proto3,enum=pb.Role_Enum" json:"Role,omitempty"`
// RoleSource tells how the org role was resolved
RoleSource RoleSource_Enum `protobuf:"varint,4,opt,name=RoleSource,proto3,enum=pb.RoleSource_Enum" json:"RoleSource,omitempty"`
// ProjectRoles maps the IDs of the projects with an explicit grant to
// the granted role
ProjectRoles map[string]string `protobuf:"bytes,5,rep,name=ProjectRoles,proto3" json:"ProjectRoles,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Scopes are the scopes of an API key or a scoped token
Scopes []string `protobuf:"bytes,6,rep,name=Scopes,proto3" json:"Scopes,omitempty"`
// IsAPIKey is true when the caller is an API key
IsAPIKey bool `protobuf:"varint,7,opt,name=IsAPIKey,proto3" json:"IsAPIKey,omitempty"`
// Methods lists the access rules of every public method
Methods []*MethodAccess `protobuf:"bytes,8,rep,name=Methods,proto3" json:"Methods,omitempty"`
// contains filtered or unexported fields
}
func (*CallerScope) Descriptor
func (*CallerScope) Descriptor() ([]byte, []int)
Deprecated: Use CallerScope.ProtoReflect.Descriptor instead.
func (*CallerScope) GetIsAPIKey
func (x *CallerScope) GetIsAPIKey() bool
func (*CallerScope) GetMessageDescription
func (m *CallerScope) GetMessageDescription() *api.MessageDescription
func (*CallerScope) GetMethods
func (x *CallerScope) GetMethods() []*MethodAccess
func (*CallerScope) GetOrgID
func (x *CallerScope) GetOrgID() string
func (*CallerScope) GetProjectID
func (x *CallerScope) GetProjectID() string
func (*CallerScope) GetProjectRoles
func (x *CallerScope) GetProjectRoles() map[string]string
func (*CallerScope) GetRole
func (x *CallerScope) GetRole() Role_Enum
func (*CallerScope) GetRoleSource
func (x *CallerScope) GetRoleSource() RoleSource_Enum
func (*CallerScope) GetScopes
func (x *CallerScope) GetScopes() []string
func (*CallerScope) MarshalJSON
func (msg *CallerScope) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*CallerScope) Print
func (r *CallerScope) Print(w io.Writer)
func (*CallerScope) ProtoMessage
func (*CallerScope) ProtoMessage()
func (*CallerScope) ProtoReflect
func (x *CallerScope) ProtoReflect() protoreflect.Message
func (*CallerScope) Reset
func (x *CallerScope) Reset()
func (*CallerScope) String
func (x *CallerScope) String() string
func (*CallerScope) UnmarshalJSON
func (msg *CallerScope) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type CallerStatusResponse
CallerStatusResponse returns the caller information
type CallerStatusResponse struct {
// Subject of the caller.
Subject string `protobuf:"bytes,1,opt,name=Subject,proto3" json:"Subject,omitempty"`
// Role is the application of the caller.
// The role of a specific Org can be found in Claims.
Role string `protobuf:"bytes,2,opt,name=Role,proto3" json:"Role,omitempty"`
// Claims from the token, converted to KVPair.
Claims []*KVPair `protobuf:"bytes,3,rep,name=Claims,proto3" json:"Claims,omitempty"`
// contains filtered or unexported fields
}
func (*CallerStatusResponse) Descriptor
func (*CallerStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use CallerStatusResponse.ProtoReflect.Descriptor instead.
func (*CallerStatusResponse) GetClaims
func (x *CallerStatusResponse) GetClaims() []*KVPair
func (*CallerStatusResponse) GetMessageDescription
func (m *CallerStatusResponse) GetMessageDescription() *api.MessageDescription
func (*CallerStatusResponse) GetRole
func (x *CallerStatusResponse) GetRole() string
func (*CallerStatusResponse) GetSubject
func (x *CallerStatusResponse) GetSubject() string
func (*CallerStatusResponse) MarshalJSON
func (msg *CallerStatusResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*CallerStatusResponse) Print
func (r *CallerStatusResponse) Print(w io.Writer)
func (*CallerStatusResponse) ProtoMessage
func (*CallerStatusResponse) ProtoMessage()
func (*CallerStatusResponse) ProtoReflect
func (x *CallerStatusResponse) ProtoReflect() protoreflect.Message
func (*CallerStatusResponse) Reset
func (x *CallerStatusResponse) Reset()
func (*CallerStatusResponse) String
func (x *CallerStatusResponse) String() string
func (*CallerStatusResponse) UnmarshalJSON
func (msg *CallerStatusResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type CertProfile
CertProfile provides certificate profile. The shape matches the YAML profiles in ca-config files.
type CertProfile struct {
// ID of the profile; empty for profiles loaded from files
ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
// OrgID of the owning org; empty for platform profiles
OrgID string `protobuf:"bytes,2,opt,name=OrgID,proto3" json:"OrgID,omitempty"`
// ProjectID of the owning project; empty for org-wide profiles
ProjectID string `protobuf:"bytes,3,opt,name=ProjectID,proto3" json:"ProjectID,omitempty"`
// Label is the profile name, unique per (Org, Project)
Label string `protobuf:"bytes,4,opt,name=Label,proto3" json:"Label,omitempty"`
// IssuerLabel binds the profile to an issuer of the same org.
// "*" allows any issuer that lists the profile in AllowedProfiles.
IssuerLabel string `protobuf:"bytes,5,opt,name=IssuerLabel,proto3" json:"IssuerLabel,omitempty"`
// Description of the profile
Description string `protobuf:"bytes,6,opt,name=Description,proto3" json:"Description,omitempty"`
// Usages provides a list of key usages and extended key usages
Usages []string `protobuf:"bytes,7,rep,name=Usages,proto3" json:"Usages,omitempty"`
// CAConstraint specifies the basic constraints for CA certificates
CAConstraint *CAConstraint `protobuf:"bytes,8,opt,name=CAConstraint,proto3" json:"CAConstraint,omitempty"`
// OcspNoCheck specifies to add id-pkix-ocsp-nocheck extension
OcspNoCheck bool `protobuf:"varint,9,opt,name=OcspNoCheck,proto3" json:"OcspNoCheck,omitempty"`
// Expiry specifies the validity duration, e.g. 168h
Expiry string `protobuf:"bytes,10,opt,name=Expiry,proto3" json:"Expiry,omitempty"`
// Backdate specifies the NotBefore backdate duration, e.g. 30m
Backdate string `protobuf:"bytes,11,opt,name=Backdate,proto3" json:"Backdate,omitempty"`
// Extensions specifies extensions to always add to the certificate
Extensions []*X509Extension `protobuf:"bytes,12,rep,name=Extensions,proto3" json:"Extensions,omitempty"`
// AllowedExtensions specifies OIDs of extensions allowed from the request
AllowedExtensions []string `protobuf:"bytes,13,rep,name=AllowedExtensions,proto3" json:"AllowedExtensions,omitempty"`
// AllowedNames specifies a RegExp to check for allowed names.
// If not provided, then all values are allowed
AllowedNames string `protobuf:"bytes,14,opt,name=AllowedNames,proto3" json:"AllowedNames,omitempty"`
// AllowedDns specifies a RegExp to check for allowed DNS.
// If not provided, then all values are allowed
AllowedDns string `protobuf:"bytes,15,opt,name=AllowedDns,proto3" json:"AllowedDns,omitempty"`
// AllowedEmail specifies a RegExp to check for allowed email.
// If not provided, then all values are allowed
AllowedEmail string `protobuf:"bytes,16,opt,name=AllowedEmail,proto3" json:"AllowedEmail,omitempty"`
// AllowedUri specifies a RegExp to check for allowed URI.
// If not provided, then all values are allowed
AllowedUri string `protobuf:"bytes,17,opt,name=AllowedUri,proto3" json:"AllowedUri,omitempty"`
// AllowedFields provides booleans for fields in the CSR.
// If AllowedFields is not present in a CertProfile,
// all of these fields may be copied from the CSR into the signed
// certificate. If AllowedFields *is* present in a CertProfile, only those
// fields with a `true` value in the AllowedFields may be copied from the
// CSR to the signed certificate. Note that some of these fields, like
// Subject, can be provided or partially provided through the API. Since API
// clients are expected to be trusted, but CSRs are not, fields provided
// through the API are not subject to validation through this mechanism.
AllowedFields *CSRAllowedFields `protobuf:"bytes,18,opt,name=AllowedFields,proto3" json:"AllowedFields,omitempty"`
// Policies specifies Certificate Policies to include
Policies []*CertificatePolicy `protobuf:"bytes,19,rep,name=Policies,proto3" json:"Policies,omitempty"`
// PoliciesCritical specifies to mark Policies as Critical extension
PoliciesCritical bool `protobuf:"varint,20,opt,name=PoliciesCritical,proto3" json:"PoliciesCritical,omitempty"`
// AllowedRoles specifies caller roles allowed to request the profile
AllowedRoles []string `protobuf:"bytes,21,rep,name=AllowedRoles,proto3" json:"AllowedRoles,omitempty"`
// DeniedRoles specifies caller roles denied to request the profile
DeniedRoles []string `protobuf:"bytes,22,rep,name=DeniedRoles,proto3" json:"DeniedRoles,omitempty"`
// Status of the profile
Status ItemStatus_Enum `protobuf:"varint,23,opt,name=Status,proto3,enum=pb.ItemStatus_Enum" json:"Status,omitempty"`
// CreatedAt in RFC3339 format
CreatedAt string `protobuf:"bytes,24,opt,name=CreatedAt,proto3" json:"CreatedAt,omitempty"`
// UpdatedAt in RFC3339 format
UpdatedAt string `protobuf:"bytes,25,opt,name=UpdatedAt,proto3" json:"UpdatedAt,omitempty"`
// contains filtered or unexported fields
}
func (*CertProfile) Descriptor
func (*CertProfile) Descriptor() ([]byte, []int)
Deprecated: Use CertProfile.ProtoReflect.Descriptor instead.
func (*CertProfile) GetAllowedDns
func (x *CertProfile) GetAllowedDns() string
func (*CertProfile) GetAllowedEmail
func (x *CertProfile) GetAllowedEmail() string
func (*CertProfile) GetAllowedExtensions
func (x *CertProfile) GetAllowedExtensions() []string
func (*CertProfile) GetAllowedFields
func (x *CertProfile) GetAllowedFields() *CSRAllowedFields
func (*CertProfile) GetAllowedNames
func (x *CertProfile) GetAllowedNames() string
func (*CertProfile) GetAllowedRoles
func (x *CertProfile) GetAllowedRoles() []string
func (*CertProfile) GetAllowedUri
func (x *CertProfile) GetAllowedUri() string
func (*CertProfile) GetBackdate
func (x *CertProfile) GetBackdate() string
func (*CertProfile) GetCAConstraint
func (x *CertProfile) GetCAConstraint() *CAConstraint
func (*CertProfile) GetCreatedAt
func (x *CertProfile) GetCreatedAt() string
func (*CertProfile) GetDeniedRoles
func (x *CertProfile) GetDeniedRoles() []string
func (*CertProfile) GetDescription
func (x *CertProfile) GetDescription() string
func (*CertProfile) GetExpiry
func (x *CertProfile) GetExpiry() string
func (*CertProfile) GetExtensions
func (x *CertProfile) GetExtensions() []*X509Extension
func (*CertProfile) GetID
func (x *CertProfile) GetID() string
func (*CertProfile) GetIssuerLabel
func (x *CertProfile) GetIssuerLabel() string
func (*CertProfile) GetLabel
func (x *CertProfile) GetLabel() string
func (*CertProfile) GetMessageDescription
func (m *CertProfile) GetMessageDescription() *api.MessageDescription
func (*CertProfile) GetOcspNoCheck
func (x *CertProfile) GetOcspNoCheck() bool
func (*CertProfile) GetOrgID
func (x *CertProfile) GetOrgID() string
func (*CertProfile) GetPolicies
func (x *CertProfile) GetPolicies() []*CertificatePolicy
func (*CertProfile) GetPoliciesCritical
func (x *CertProfile) GetPoliciesCritical() bool
func (*CertProfile) GetProjectID
func (x *CertProfile) GetProjectID() string
func (*CertProfile) GetStatus
func (x *CertProfile) GetStatus() ItemStatus_Enum
func (*CertProfile) GetUpdatedAt
func (x *CertProfile) GetUpdatedAt() string
func (*CertProfile) GetUsages
func (x *CertProfile) GetUsages() []string
func (*CertProfile) MarshalJSON
func (msg *CertProfile) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*CertProfile) Print
func (r *CertProfile) Print(w io.Writer)
func (*CertProfile) ProtoMessage
func (*CertProfile) ProtoMessage()
func (*CertProfile) ProtoReflect
func (x *CertProfile) ProtoReflect() protoreflect.Message
func (*CertProfile) Reset
func (x *CertProfile) Reset()
func (*CertProfile) String
func (x *CertProfile) String() string
func (*CertProfile) UnmarshalJSON
func (msg *CertProfile) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type Certificate
Certificate provides X509 Certificate information
type Certificate struct {
// ID of the certificate
ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
// OrgID of the owning org
OrgID string `protobuf:"bytes,2,opt,name=OrgID,proto3" json:"OrgID,omitempty"`
// ProjectID of the owning project; empty for org-wide certificates
ProjectID string `protobuf:"bytes,3,opt,name=ProjectID,proto3" json:"ProjectID,omitempty"`
// SKID provides Subject Key Identifier
SKID string `protobuf:"bytes,4,opt,name=SKID,proto3" json:"SKID,omitempty"`
// IKID provides Issuer Key Identifier
IKID string `protobuf:"bytes,5,opt,name=IKID,proto3" json:"IKID,omitempty"`
// SerialNumber provides Serial Number
SerialNumber string `protobuf:"bytes,6,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"`
// NotBefore is the time when the validity period starts in RFC3339 format
NotBefore string `protobuf:"bytes,7,opt,name=NotBefore,proto3" json:"NotBefore,omitempty"`
// NotAfter is the time when the validity period ends in RFC3339 format
NotAfter string `protobuf:"bytes,8,opt,name=NotAfter,proto3" json:"NotAfter,omitempty"`
// Subject name
Subject string `protobuf:"bytes,9,opt,name=Subject,proto3" json:"Subject,omitempty"`
// Issuer name
Issuer string `protobuf:"bytes,10,opt,name=Issuer,proto3" json:"Issuer,omitempty"`
// Sha256 thumbprint of the cert
Sha256 string `protobuf:"bytes,11,opt,name=Sha256,proto3" json:"Sha256,omitempty"`
// Profile used to issue the certificate
Profile string `protobuf:"bytes,12,opt,name=Profile,proto3" json:"Profile,omitempty"`
// Pem encoded certificate
Pem string `protobuf:"bytes,13,opt,name=Pem,proto3" json:"Pem,omitempty"`
// IssuersPem provides PEM encoded issuers chain
IssuersPem string `protobuf:"bytes,14,opt,name=IssuersPem,proto3" json:"IssuersPem,omitempty"`
// Locations of the published certificate
Locations []string `protobuf:"bytes,15,rep,name=Locations,proto3" json:"Locations,omitempty"`
// Label of the certificate provided by the client
Label string `protobuf:"bytes,16,opt,name=Label,proto3" json:"Label,omitempty"`
// Metadata of the certificate provided by the client
Metadata map[string]string `protobuf:"bytes,17,rep,name=Metadata,proto3" json:"Metadata,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Status of the certificate
Status CertificateStatus_Enum `protobuf:"varint,18,opt,name=Status,proto3,enum=pb.CertificateStatus_Enum" json:"Status,omitempty"`
// CreatedAt is the issuance time in RFC3339 format
CreatedAt string `protobuf:"bytes,19,opt,name=CreatedAt,proto3" json:"CreatedAt,omitempty"`
// contains filtered or unexported fields
}
func (*Certificate) Descriptor
func (*Certificate) Descriptor() ([]byte, []int)
Deprecated: Use Certificate.ProtoReflect.Descriptor instead.
func (*Certificate) GetCreatedAt
func (x *Certificate) GetCreatedAt() string
func (*Certificate) GetID
func (x *Certificate) GetID() string
func (*Certificate) GetIKID
func (x *Certificate) GetIKID() string
func (*Certificate) GetIssuer
func (x *Certificate) GetIssuer() string
func (*Certificate) GetIssuersPem
func (x *Certificate) GetIssuersPem() string
func (*Certificate) GetLabel
func (x *Certificate) GetLabel() string
func (*Certificate) GetLocations
func (x *Certificate) GetLocations() []string
func (*Certificate) GetMetadata
func (x *Certificate) GetMetadata() map[string]string
func (*Certificate) GetNotAfter
func (x *Certificate) GetNotAfter() string
func (*Certificate) GetNotBefore
func (x *Certificate) GetNotBefore() string
func (*Certificate) GetOrgID
func (x *Certificate) GetOrgID() string
func (*Certificate) GetPem
func (x *Certificate) GetPem() string
func (*Certificate) GetProfile
func (x *Certificate) GetProfile() string
func (*Certificate) GetProjectID
func (x *Certificate) GetProjectID() string
func (*Certificate) GetSKID
func (x *Certificate) GetSKID() string
func (*Certificate) GetSerialNumber
func (x *Certificate) GetSerialNumber() string
func (*Certificate) GetSha256
func (x *Certificate) GetSha256() string
func (*Certificate) GetStatus
func (x *Certificate) GetStatus() CertificateStatus_Enum
func (*Certificate) GetSubject
func (x *Certificate) GetSubject() string
func (*Certificate) MarshalJSON
func (msg *Certificate) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*Certificate) Print
func (r *Certificate) Print(w io.Writer)
func (*Certificate) ProtoMessage
func (*Certificate) ProtoMessage()
func (*Certificate) ProtoReflect
func (x *Certificate) ProtoReflect() protoreflect.Message
func (*Certificate) Reset
func (x *Certificate) Reset()
func (*Certificate) String
func (x *Certificate) String() string
func (*Certificate) UnmarshalJSON
func (msg *Certificate) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type CertificatePolicy
CertificatePolicy specifies a Certificate Policy extension entry
type CertificatePolicy struct {
// ID is OID of Certificate Policy
ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
Qualifiers []*CertificatePolicyQualifier `protobuf:"bytes,2,rep,name=Qualifiers,proto3" json:"Qualifiers,omitempty"`
// contains filtered or unexported fields
}
func (*CertificatePolicy) Descriptor
func (*CertificatePolicy) Descriptor() ([]byte, []int)
Deprecated: Use CertificatePolicy.ProtoReflect.Descriptor instead.
func (*CertificatePolicy) GetID
func (x *CertificatePolicy) GetID() string
func (*CertificatePolicy) GetQualifiers
func (x *CertificatePolicy) GetQualifiers() []*CertificatePolicyQualifier
func (*CertificatePolicy) MarshalJSON
func (msg *CertificatePolicy) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*CertificatePolicy) ProtoMessage
func (*CertificatePolicy) ProtoMessage()
func (*CertificatePolicy) ProtoReflect
func (x *CertificatePolicy) ProtoReflect() protoreflect.Message
func (*CertificatePolicy) Reset
func (x *CertificatePolicy) Reset()
func (*CertificatePolicy) String
func (x *CertificatePolicy) String() string
func (*CertificatePolicy) UnmarshalJSON
func (msg *CertificatePolicy) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type CertificatePolicyQualifier
CertificatePolicyQualifier specifies a policy qualifier: id-qt-cps or id-qt-unotice
type CertificatePolicyQualifier struct {
Type string `protobuf:"bytes,1,opt,name=Type,proto3" json:"Type,omitempty"`
Value string `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"`
// contains filtered or unexported fields
}
func (*CertificatePolicyQualifier) Descriptor
func (*CertificatePolicyQualifier) Descriptor() ([]byte, []int)
Deprecated: Use CertificatePolicyQualifier.ProtoReflect.Descriptor instead.
func (*CertificatePolicyQualifier) GetType
func (x *CertificatePolicyQualifier) GetType() string
func (*CertificatePolicyQualifier) GetValue
func (x *CertificatePolicyQualifier) GetValue() string
func (*CertificatePolicyQualifier) MarshalJSON
func (msg *CertificatePolicyQualifier) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*CertificatePolicyQualifier) ProtoMessage
func (*CertificatePolicyQualifier) ProtoMessage()
func (*CertificatePolicyQualifier) ProtoReflect
func (x *CertificatePolicyQualifier) ProtoReflect() protoreflect.Message
func (*CertificatePolicyQualifier) Reset
func (x *CertificatePolicyQualifier) Reset()
func (*CertificatePolicyQualifier) String
func (x *CertificatePolicyQualifier) String() string
func (*CertificatePolicyQualifier) UnmarshalJSON
func (msg *CertificatePolicyQualifier) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type CertificateResponse
CertificateResponse returns Certificate
type CertificateResponse struct {
Certificate *Certificate `protobuf:"bytes,1,opt,name=Certificate,proto3" json:"Certificate,omitempty"`
// contains filtered or unexported fields
}
func (*CertificateResponse) Descriptor
func (*CertificateResponse) Descriptor() ([]byte, []int)
Deprecated: Use CertificateResponse.ProtoReflect.Descriptor instead.
func (*CertificateResponse) GetCertificate
func (x *CertificateResponse) GetCertificate() *Certificate
func (*CertificateResponse) GetMessageDescription
func (m *CertificateResponse) GetMessageDescription() *api.MessageDescription
func (*CertificateResponse) MarshalJSON
func (msg *CertificateResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*CertificateResponse) Print
func (r *CertificateResponse) Print(w io.Writer)
func (*CertificateResponse) ProtoMessage
func (*CertificateResponse) ProtoMessage()
func (*CertificateResponse) ProtoReflect
func (x *CertificateResponse) ProtoReflect() protoreflect.Message
func (*CertificateResponse) Reset
func (x *CertificateResponse) Reset()
func (*CertificateResponse) String
func (x *CertificateResponse) String() string
func (*CertificateResponse) UnmarshalJSON
func (msg *CertificateResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type CertificateStatus
type CertificateStatus struct {
// contains filtered or unexported fields
}
func (*CertificateStatus) Descriptor
func (*CertificateStatus) Descriptor() ([]byte, []int)
Deprecated: Use CertificateStatus.ProtoReflect.Descriptor instead.
func (*CertificateStatus) MarshalJSON
func (msg *CertificateStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*CertificateStatus) ProtoMessage
func (*CertificateStatus) ProtoMessage()
func (*CertificateStatus) ProtoReflect
func (x *CertificateStatus) ProtoReflect() protoreflect.Message
func (*CertificateStatus) Reset
func (x *CertificateStatus) Reset()
func (*CertificateStatus) String
func (x *CertificateStatus) String() string
func (*CertificateStatus) UnmarshalJSON
func (msg *CertificateStatus) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type CertificateStatusCount
CertificateStatusCount is the number of certificates of a status
type CertificateStatusCount struct {
// Status of the certificates
Status CertificateStatus_Enum `protobuf:"varint,1,opt,name=Status,proto3,enum=pb.CertificateStatus_Enum" json:"Status,omitempty"`
// Count of the certificates of the status
Count uint32 `protobuf:"varint,2,opt,name=Count,proto3" json:"Count,omitempty"`
// contains filtered or unexported fields
}
func (*CertificateStatusCount) Descriptor
func (*CertificateStatusCount) Descriptor() ([]byte, []int)
Deprecated: Use CertificateStatusCount.ProtoReflect.Descriptor instead.
func (*CertificateStatusCount) GetCount
func (x *CertificateStatusCount) GetCount() uint32
func (*CertificateStatusCount) GetStatus
func (x *CertificateStatusCount) GetStatus() CertificateStatus_Enum
func (*CertificateStatusCount) MarshalJSON
func (msg *CertificateStatusCount) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*CertificateStatusCount) ProtoMessage
func (*CertificateStatusCount) ProtoMessage()
func (*CertificateStatusCount) ProtoReflect
func (x *CertificateStatusCount) ProtoReflect() protoreflect.Message
func (*CertificateStatusCount) Reset
func (x *CertificateStatusCount) Reset()
func (*CertificateStatusCount) String
func (x *CertificateStatusCount) String() string
func (*CertificateStatusCount) UnmarshalJSON
func (msg *CertificateStatusCount) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type CertificateStatusResponse
CertificateStatusResponse returns the revocation status of a certificate
type CertificateStatusResponse struct {
// IKID provides Issuer Key Identifier
IKID string `protobuf:"bytes,1,opt,name=IKID,proto3" json:"IKID,omitempty"`
// SerialNumber provides Serial Number
SerialNumber string `protobuf:"bytes,2,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"`
// Status of the certificate
Status CertificateStatus_Enum `protobuf:"varint,3,opt,name=Status,proto3,enum=pb.CertificateStatus_Enum" json:"Status,omitempty"`
// NotAfter in RFC3339 format
NotAfter string `protobuf:"bytes,4,opt,name=NotAfter,proto3" json:"NotAfter,omitempty"`
// RevokedAt in RFC3339 format, when revoked
RevokedAt string `protobuf:"bytes,5,opt,name=RevokedAt,proto3" json:"RevokedAt,omitempty"`
// Reason of the revocation, when revoked
Reason ReasonCode_Enum `protobuf:"varint,6,opt,name=Reason,proto3,enum=pb.ReasonCode_Enum" json:"Reason,omitempty"`
// contains filtered or unexported fields
}
func (*CertificateStatusResponse) Descriptor
func (*CertificateStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use CertificateStatusResponse.ProtoReflect.Descriptor instead.
func (*CertificateStatusResponse) GetIKID
func (x *CertificateStatusResponse) GetIKID() string
func (*CertificateStatusResponse) GetMessageDescription
func (m *CertificateStatusResponse) GetMessageDescription() *api.MessageDescription
func (*CertificateStatusResponse) GetNotAfter
func (x *CertificateStatusResponse) GetNotAfter() string
func (*CertificateStatusResponse) GetReason
func (x *CertificateStatusResponse) GetReason() ReasonCode_Enum
func (*CertificateStatusResponse) GetRevokedAt
func (x *CertificateStatusResponse) GetRevokedAt() string
func (*CertificateStatusResponse) GetSerialNumber
func (x *CertificateStatusResponse) GetSerialNumber() string
func (*CertificateStatusResponse) GetStatus
func (x *CertificateStatusResponse) GetStatus() CertificateStatus_Enum
func (*CertificateStatusResponse) MarshalJSON
func (msg *CertificateStatusResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*CertificateStatusResponse) Print
func (r *CertificateStatusResponse) Print(w io.Writer)
func (*CertificateStatusResponse) ProtoMessage
func (*CertificateStatusResponse) ProtoMessage()
func (*CertificateStatusResponse) ProtoReflect
func (x *CertificateStatusResponse) ProtoReflect() protoreflect.Message
func (*CertificateStatusResponse) Reset
func (x *CertificateStatusResponse) Reset()
func (*CertificateStatusResponse) String
func (x *CertificateStatusResponse) String() string
func (*CertificateStatusResponse) UnmarshalJSON
func (msg *CertificateStatusResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type CertificateStatus\_Enum
CertificateStatus defines status constants for certificates
type CertificateStatus_Enum int32
const (
// Unknown indicates that the certificate status is unknown
CertificateStatus_Unknown CertificateStatus_Enum = 0
// Active indicates that the certificate is active and ready to use
CertificateStatus_Active CertificateStatus_Enum = 1
// Expired indicates that the certificate is expired
CertificateStatus_Expired CertificateStatus_Enum = 2
// Revoked indicates that the certificate is revoked
CertificateStatus_Revoked CertificateStatus_Enum = 3
)
func (CertificateStatus_Enum) Describe
func (s CertificateStatus_Enum) Describe() map[CertificateStatus_Enum]*api.EnumMeta
Describe returns Enum meta information for all values
func (CertificateStatus_Enum) Descriptor
func (CertificateStatus_Enum) Descriptor() protoreflect.EnumDescriptor
func (CertificateStatus_Enum) DisplayName
func (s CertificateStatus_Enum) DisplayName() string
DisplayName returns display name of Enum value
func (CertificateStatus_Enum) DisplayNames
func (s CertificateStatus_Enum) DisplayNames() []string
DisplayNames returns display names of Enum bitflag value
func (CertificateStatus_Enum) DisplayNamesMap
func (s CertificateStatus_Enum) DisplayNamesMap() map[int32]string
DisplayNamesMap returns a map of enum display names
func (CertificateStatus_Enum) Enum
func (x CertificateStatus_Enum) Enum() *CertificateStatus_Enum
func (CertificateStatus_Enum) EnumDescriptor
func (CertificateStatus_Enum) EnumDescriptor() ([]byte, []int)
Deprecated: Use CertificateStatus_Enum.Descriptor instead.
func (CertificateStatus_Enum) Flags
func (s CertificateStatus_Enum) Flags() []CertificateStatus_Enum
Flags returns list of Enum values
func (CertificateStatus_Enum) FlagsInt
func (s CertificateStatus_Enum) FlagsInt() []int32
FlagsInt returns list of Enum values as int32
func (CertificateStatus_Enum) GetDescription
func (s CertificateStatus_Enum) GetDescription() *api.EnumDescription
GetDescription returns Enum description
func (CertificateStatus_Enum) Meta
func (s CertificateStatus_Enum) Meta() *api.EnumMeta
Meta returns Enum meta information
func (CertificateStatus_Enum) NamesMap
func (s CertificateStatus_Enum) NamesMap() map[int32]string
NamesMap returns map of enum names
func (CertificateStatus_Enum) Number
func (x CertificateStatus_Enum) Number() protoreflect.EnumNumber
func (CertificateStatus_Enum) Parse
func (_ CertificateStatus_Enum) Parse(val any) CertificateStatus_Enum
Parse returns Enum value parsed from val
func (CertificateStatus_Enum) String
func (x CertificateStatus_Enum) String() string
func (CertificateStatus_Enum) SupportedNames
func (s CertificateStatus_Enum) SupportedNames() string
SupportedNames returns string of supported Enum name concatenated by ","
func (CertificateStatus_Enum) Type
func (CertificateStatus_Enum) Type() protoreflect.EnumType
func (*CertificateStatus_Enum) UnmarshalJSON
func (s *CertificateStatus_Enum) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals Enum from JSON
func (*CertificateStatus_Enum) UnmarshalYAML
func (s *CertificateStatus_Enum) UnmarshalYAML(unmarshal func(any) error) error
UnmarshalYAML unmarshals Enum from YAML
func (CertificateStatus_Enum) ValueNames
func (s CertificateStatus_Enum) ValueNames() []string
ValueNames returns list of Enum value names
func (CertificateStatus_Enum) ValueString
func (s CertificateStatus_Enum) ValueString() string
ValueString returns string of Enum value names concatenated by ","
func (CertificateStatus_Enum) ValuesMap
func (s CertificateStatus_Enum) ValuesMap() map[string]int32
ValuesMap returns a map of enum values
type CertificateStatus\_EnumSlice
type CertificateStatus_EnumSlice []CertificateStatus_Enum
type CertificatesResponse
CertificatesResponse returns Certificates list
type CertificatesResponse struct {
Certificates []*Certificate `protobuf:"bytes,1,rep,name=Certificates,proto3" json:"Certificates,omitempty"`
// NextPage specifies pagination information, if there are more pages to
// fetch. If there are no more pages to fetch, NextPage will be empty.
NextPage *NextPage `protobuf:"bytes,2,opt,name=NextPage,proto3" json:"NextPage,omitempty"`
// contains filtered or unexported fields
}
func (*CertificatesResponse) Descriptor
func (*CertificatesResponse) Descriptor() ([]byte, []int)
Deprecated: Use CertificatesResponse.ProtoReflect.Descriptor instead.
func (*CertificatesResponse) GetCertificates
func (x *CertificatesResponse) GetCertificates() []*Certificate
func (*CertificatesResponse) GetMessageDescription
func (m *CertificatesResponse) GetMessageDescription() *api.MessageDescription
func (*CertificatesResponse) GetNextPage
func (x *CertificatesResponse) GetNextPage() *NextPage
func (*CertificatesResponse) MarshalJSON
func (msg *CertificatesResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*CertificatesResponse) Print
func (r *CertificatesResponse) Print(w io.Writer)
func (*CertificatesResponse) ProtoMessage
func (*CertificatesResponse) ProtoMessage()
func (*CertificatesResponse) ProtoReflect
func (x *CertificatesResponse) ProtoReflect() protoreflect.Message
func (*CertificatesResponse) Reset
func (x *CertificatesResponse) Reset()
func (*CertificatesResponse) String
func (x *CertificatesResponse) String() string
func (*CertificatesResponse) UnmarshalJSON
func (msg *CertificatesResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type ChangeMemberRoleRequest
ChangeMemberRoleRequest specifies request to change the role of an existing grant at the requested scope
type ChangeMemberRoleRequest struct {
// UserID specifies user ID, if Email is empty
UserID string `protobuf:"bytes,1,opt,name=UserID,proto3" json:"UserID,omitempty"`
// Email specifies user email, if UserID is empty
Email string `protobuf:"bytes,2,opt,name=Email,proto3" json:"Email,omitempty"`
Role Role_Enum `protobuf:"varint,3,opt,name=Role,proto3,enum=pb.Role_Enum" json:"Role,omitempty"`
// ProjectID specifies the project for a Project scope grant;
// empty for the org-wide grant
ProjectID string `protobuf:"bytes,4,opt,name=ProjectID,proto3" json:"ProjectID,omitempty"`
// contains filtered or unexported fields
}
func (*ChangeMemberRoleRequest) Descriptor
func (*ChangeMemberRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChangeMemberRoleRequest.ProtoReflect.Descriptor instead.
func (*ChangeMemberRoleRequest) GetEmail
func (x *ChangeMemberRoleRequest) GetEmail() string
func (*ChangeMemberRoleRequest) GetProjectID
func (x *ChangeMemberRoleRequest) GetProjectID() string
func (*ChangeMemberRoleRequest) GetRole
func (x *ChangeMemberRoleRequest) GetRole() Role_Enum
func (*ChangeMemberRoleRequest) GetUserID
func (x *ChangeMemberRoleRequest) GetUserID() string
func (*ChangeMemberRoleRequest) MarshalJSON
func (msg *ChangeMemberRoleRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*ChangeMemberRoleRequest) ProtoMessage
func (*ChangeMemberRoleRequest) ProtoMessage()
func (*ChangeMemberRoleRequest) ProtoReflect
func (x *ChangeMemberRoleRequest) ProtoReflect() protoreflect.Message
func (*ChangeMemberRoleRequest) Reset
func (x *ChangeMemberRoleRequest) Reset()
func (*ChangeMemberRoleRequest) String
func (x *ChangeMemberRoleRequest) String() string
func (*ChangeMemberRoleRequest) UnmarshalJSON
func (msg *ChangeMemberRoleRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*ChangeMemberRoleRequest) Validate
func (m *ChangeMemberRoleRequest) Validate(ctx context.Context) error
type CheckAccessFunc
CheckAccessFunc defines function to check access rights for the HTTP request
type CheckAccessFunc func(ctx context.Context, req any, action string) error
type CreateAPIKeyRequest
type CreateAPIKeyRequest struct {
// ProjectID is optional for project scope.
// If not provided, will use Org scope for the current token.
ProjectID string `protobuf:"bytes,1,opt,name=ProjectID,proto3" json:"ProjectID,omitempty"`
Label string `protobuf:"bytes,2,opt,name=Label,proto3" json:"Label,omitempty"`
Scopes []string `protobuf:"bytes,3,rep,name=Scopes,proto3" json:"Scopes,omitempty"`
ExpiresAt string `protobuf:"bytes,4,opt,name=ExpiresAt,proto3" json:"ExpiresAt,omitempty"`
// contains filtered or unexported fields
}
func (*CreateAPIKeyRequest) Descriptor
func (*CreateAPIKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAPIKeyRequest.ProtoReflect.Descriptor instead.
func (*CreateAPIKeyRequest) GetExpiresAt
func (x *CreateAPIKeyRequest) GetExpiresAt() string
func (*CreateAPIKeyRequest) GetLabel
func (x *CreateAPIKeyRequest) GetLabel() string
func (*CreateAPIKeyRequest) GetProjectID
func (x *CreateAPIKeyRequest) GetProjectID() string
func (*CreateAPIKeyRequest) GetScopes
func (x *CreateAPIKeyRequest) GetScopes() []string
func (*CreateAPIKeyRequest) MarshalJSON
func (msg *CreateAPIKeyRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*CreateAPIKeyRequest) ProtoMessage
func (*CreateAPIKeyRequest) ProtoMessage()
func (*CreateAPIKeyRequest) ProtoReflect
func (x *CreateAPIKeyRequest) ProtoReflect() protoreflect.Message
func (*CreateAPIKeyRequest) Reset
func (x *CreateAPIKeyRequest) Reset()
func (*CreateAPIKeyRequest) String
func (x *CreateAPIKeyRequest) String() string
func (*CreateAPIKeyRequest) UnmarshalJSON
func (msg *CreateAPIKeyRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*CreateAPIKeyRequest) Validate
func (m *CreateAPIKeyRequest) Validate(ctx context.Context) error
type Crl
Crl provides X509 CRL information
type Crl struct {
// ID of the CRL
ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
// OrgID of the issuer's org
OrgID string `protobuf:"bytes,2,opt,name=OrgID,proto3" json:"OrgID,omitempty"`
// IssuerID of the issuer
IssuerID string `protobuf:"bytes,3,opt,name=IssuerID,proto3" json:"IssuerID,omitempty"`
// IKID provides Issuer Key Identifier
IKID string `protobuf:"bytes,4,opt,name=IKID,proto3" json:"IKID,omitempty"`
// Number is the monotonic CRL number
Number string `protobuf:"bytes,5,opt,name=Number,proto3" json:"Number,omitempty"`
// ThisUpdate is the time when the CRL was issued in RFC3339 format
ThisUpdate string `protobuf:"bytes,6,opt,name=ThisUpdate,proto3" json:"ThisUpdate,omitempty"`
// NextUpdate is the time for the next update in RFC3339 format
NextUpdate string `protobuf:"bytes,7,opt,name=NextUpdate,proto3" json:"NextUpdate,omitempty"`
// Issuer name
Issuer string `protobuf:"bytes,8,opt,name=Issuer,proto3" json:"Issuer,omitempty"`
// Pem encoded CRL
Pem string `protobuf:"bytes,9,opt,name=Pem,proto3" json:"Pem,omitempty"`
// Locations of the published CRL
Locations []string `protobuf:"bytes,10,rep,name=Locations,proto3" json:"Locations,omitempty"`
// contains filtered or unexported fields
}
func (*Crl) Descriptor
func (*Crl) Descriptor() ([]byte, []int)
Deprecated: Use Crl.ProtoReflect.Descriptor instead.
func (*Crl) GetID
func (x *Crl) GetID() string
func (*Crl) GetIKID
func (x *Crl) GetIKID() string
func (*Crl) GetIssuer
func (x *Crl) GetIssuer() string
func (*Crl) GetIssuerID
func (x *Crl) GetIssuerID() string
func (*Crl) GetLocations
func (x *Crl) GetLocations() []string
func (*Crl) GetNextUpdate
func (x *Crl) GetNextUpdate() string
func (*Crl) GetNumber
func (x *Crl) GetNumber() string
func (*Crl) GetOrgID
func (x *Crl) GetOrgID() string
func (*Crl) GetPem
func (x *Crl) GetPem() string
func (*Crl) GetThisUpdate
func (x *Crl) GetThisUpdate() string
func (*Crl) MarshalJSON
func (msg *Crl) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*Crl) Print
func (r *Crl) Print(w io.Writer)
func (*Crl) ProtoMessage
func (*Crl) ProtoMessage()
func (*Crl) ProtoReflect
func (x *Crl) ProtoReflect() protoreflect.Message
func (*Crl) Reset
func (x *Crl) Reset()
func (*Crl) String
func (x *Crl) String() string
func (*Crl) UnmarshalJSON
func (msg *Crl) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type CrlCounts
CrlCounts counts the issuers that publish CRLs, the Active and Archived issuers whose certificate is valid, by the state of their current CRL at the time of the summary: Issuers is Current, Due, Overdue and Missing together.
type CrlCounts struct {
// Issuers is the number of issuers that publish CRLs
Issuers uint32 `protobuf:"varint,1,opt,name=Issuers,proto3" json:"Issuers,omitempty"`
// Current is the number of CRLs whose next update is later than the
// renewal period of their issuer
Current uint32 `protobuf:"varint,2,opt,name=Current,proto3" json:"Current,omitempty"`
// Due is the number of CRLs whose next update is within the renewal
// period of their issuer; the renewal task publishes them on its next
// run
Due uint32 `protobuf:"varint,3,opt,name=Due,proto3" json:"Due,omitempty"`
// Overdue is the number of CRLs whose next update has passed: relying
// parties see a stale CRL until it is published
Overdue uint32 `protobuf:"varint,4,opt,name=Overdue,proto3" json:"Overdue,omitempty"`
// Missing is the number of issuers that have published no CRL yet
Missing uint32 `protobuf:"varint,5,opt,name=Missing,proto3" json:"Missing,omitempty"`
// contains filtered or unexported fields
}
func (*CrlCounts) Descriptor
func (*CrlCounts) Descriptor() ([]byte, []int)
Deprecated: Use CrlCounts.ProtoReflect.Descriptor instead.
func (*CrlCounts) GetCurrent
func (x *CrlCounts) GetCurrent() uint32
func (*CrlCounts) GetDue
func (x *CrlCounts) GetDue() uint32
func (*CrlCounts) GetIssuers
func (x *CrlCounts) GetIssuers() uint32
func (*CrlCounts) GetMissing
func (x *CrlCounts) GetMissing() uint32
func (*CrlCounts) GetOverdue
func (x *CrlCounts) GetOverdue() uint32
func (*CrlCounts) MarshalJSON
func (msg *CrlCounts) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*CrlCounts) ProtoMessage
func (*CrlCounts) ProtoMessage()
func (*CrlCounts) ProtoReflect
func (x *CrlCounts) ProtoReflect() protoreflect.Message
func (*CrlCounts) Reset
func (x *CrlCounts) Reset()
func (*CrlCounts) String
func (x *CrlCounts) String() string
func (*CrlCounts) UnmarshalJSON
func (msg *CrlCounts) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type CrlResponse
CrlResponse returns CRL
type CrlResponse struct {
Crl *Crl `protobuf:"bytes,1,opt,name=Crl,proto3" json:"Crl,omitempty"`
// contains filtered or unexported fields
}
func (*CrlResponse) Descriptor
func (*CrlResponse) Descriptor() ([]byte, []int)
Deprecated: Use CrlResponse.ProtoReflect.Descriptor instead.
func (*CrlResponse) GetCrl
func (x *CrlResponse) GetCrl() *Crl
func (*CrlResponse) GetMessageDescription
func (m *CrlResponse) GetMessageDescription() *api.MessageDescription
func (*CrlResponse) MarshalJSON
func (msg *CrlResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*CrlResponse) Print
func (r *CrlResponse) Print(w io.Writer)
func (*CrlResponse) ProtoMessage
func (*CrlResponse) ProtoMessage()
func (*CrlResponse) ProtoReflect
func (x *CrlResponse) ProtoReflect() protoreflect.Message
func (*CrlResponse) Reset
func (x *CrlResponse) Reset()
func (*CrlResponse) String
func (x *CrlResponse) String() string
func (*CrlResponse) UnmarshalJSON
func (msg *CrlResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type CrlsResponse
CrlsResponse returns published CRLs
type CrlsResponse struct {
Crls []*Crl `protobuf:"bytes,1,rep,name=Crls,proto3" json:"Crls,omitempty"`
// contains filtered or unexported fields
}
func (*CrlsResponse) Descriptor
func (*CrlsResponse) Descriptor() ([]byte, []int)
Deprecated: Use CrlsResponse.ProtoReflect.Descriptor instead.
func (*CrlsResponse) GetCrls
func (x *CrlsResponse) GetCrls() []*Crl
func (*CrlsResponse) GetMessageDescription
func (m *CrlsResponse) GetMessageDescription() *api.MessageDescription
func (*CrlsResponse) MarshalJSON
func (msg *CrlsResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*CrlsResponse) Print
func (r *CrlsResponse) Print(w io.Writer)
func (*CrlsResponse) ProtoMessage
func (*CrlsResponse) ProtoMessage()
func (*CrlsResponse) ProtoReflect
func (x *CrlsResponse) ProtoReflect() protoreflect.Message
func (*CrlsResponse) Reset
func (x *CrlsResponse) Reset()
func (*CrlsResponse) String
func (x *CrlsResponse) String() string
func (*CrlsResponse) UnmarshalJSON
func (msg *CrlsResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type DeleteInviteRequest
DeleteInviteRequest specifies request to remove an invite at the given scope
type DeleteInviteRequest struct {
Email string `protobuf:"bytes,1,opt,name=Email,proto3" json:"Email,omitempty"`
// ProjectID specifies the project for a Project scope invite;
// empty for an org-wide invite
ProjectID string `protobuf:"bytes,2,opt,name=ProjectID,proto3" json:"ProjectID,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteInviteRequest) Descriptor
func (*DeleteInviteRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteInviteRequest.ProtoReflect.Descriptor instead.
func (*DeleteInviteRequest) GetEmail
func (x *DeleteInviteRequest) GetEmail() string
func (*DeleteInviteRequest) GetProjectID
func (x *DeleteInviteRequest) GetProjectID() string
func (*DeleteInviteRequest) MarshalJSON
func (msg *DeleteInviteRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*DeleteInviteRequest) ProtoMessage
func (*DeleteInviteRequest) ProtoMessage()
func (*DeleteInviteRequest) ProtoReflect
func (x *DeleteInviteRequest) ProtoReflect() protoreflect.Message
func (*DeleteInviteRequest) Reset
func (x *DeleteInviteRequest) Reset()
func (*DeleteInviteRequest) String
func (x *DeleteInviteRequest) String() string
func (*DeleteInviteRequest) UnmarshalJSON
func (msg *DeleteInviteRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*DeleteInviteRequest) Validate
func (m *DeleteInviteRequest) Validate(ctx context.Context) error
type DeleteMemberRequest
DeleteMemberRequest specifies request to remove a grant. With ProjectID only the project grant is removed; without ProjectID only the org-wide grant is removed.
type DeleteMemberRequest struct {
UserID string `protobuf:"bytes,1,opt,name=UserID,proto3" json:"UserID,omitempty"`
// ProjectID specifies the project for a Project scope grant;
// empty for the org-wide grant
ProjectID string `protobuf:"bytes,2,opt,name=ProjectID,proto3" json:"ProjectID,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteMemberRequest) Descriptor
func (*DeleteMemberRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteMemberRequest.ProtoReflect.Descriptor instead.
func (*DeleteMemberRequest) GetProjectID
func (x *DeleteMemberRequest) GetProjectID() string
func (*DeleteMemberRequest) GetUserID
func (x *DeleteMemberRequest) GetUserID() string
func (*DeleteMemberRequest) MarshalJSON
func (msg *DeleteMemberRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*DeleteMemberRequest) ProtoMessage
func (*DeleteMemberRequest) ProtoMessage()
func (*DeleteMemberRequest) ProtoReflect
func (x *DeleteMemberRequest) ProtoReflect() protoreflect.Message
func (*DeleteMemberRequest) Reset
func (x *DeleteMemberRequest) Reset()
func (*DeleteMemberRequest) String
func (x *DeleteMemberRequest) String() string
func (*DeleteMemberRequest) UnmarshalJSON
func (msg *DeleteMemberRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*DeleteMemberRequest) Validate
func (m *DeleteMemberRequest) Validate(ctx context.Context) error
type DeleteProfileRequest
DeleteProfileRequest deletes a profile
type DeleteProfileRequest struct {
// ID of the profile
ID string `protobuf:"bytes,2,opt,name=ID,proto3" json:"ID,omitempty"`
// ProjectID of the profile's project. A caller whose role is granted
// in the project only must name it, since the request is authorized at
// that scope; the profile must belong to it.
ProjectID string `protobuf:"bytes,3,opt,name=ProjectID,proto3" json:"ProjectID,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteProfileRequest) Descriptor
func (*DeleteProfileRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteProfileRequest.ProtoReflect.Descriptor instead.
func (*DeleteProfileRequest) GetID
func (x *DeleteProfileRequest) GetID() string
func (*DeleteProfileRequest) GetProjectID
func (x *DeleteProfileRequest) GetProjectID() string
func (*DeleteProfileRequest) MarshalJSON
func (msg *DeleteProfileRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*DeleteProfileRequest) ProtoMessage
func (*DeleteProfileRequest) ProtoMessage()
func (*DeleteProfileRequest) ProtoReflect
func (x *DeleteProfileRequest) ProtoReflect() protoreflect.Message
func (*DeleteProfileRequest) Reset
func (x *DeleteProfileRequest) Reset()
func (*DeleteProfileRequest) String
func (x *DeleteProfileRequest) String() string
func (*DeleteProfileRequest) UnmarshalJSON
func (msg *DeleteProfileRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*DeleteProfileRequest) Validate
func (m *DeleteProfileRequest) Validate(ctx context.Context) error
type DeleteProjectRequest
DeleteProjectRequest specifies request to deactivate a project
type DeleteProjectRequest struct {
ProjectID string `protobuf:"bytes,1,opt,name=ProjectID,proto3" json:"ProjectID,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteProjectRequest) Descriptor
func (*DeleteProjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteProjectRequest.ProtoReflect.Descriptor instead.
func (*DeleteProjectRequest) GetProjectID
func (x *DeleteProjectRequest) GetProjectID() string
func (*DeleteProjectRequest) MarshalJSON
func (msg *DeleteProjectRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*DeleteProjectRequest) ProtoMessage
func (*DeleteProjectRequest) ProtoMessage()
func (*DeleteProjectRequest) ProtoReflect
func (x *DeleteProjectRequest) ProtoReflect() protoreflect.Message
func (*DeleteProjectRequest) Reset
func (x *DeleteProjectRequest) Reset()
func (*DeleteProjectRequest) String
func (x *DeleteProjectRequest) String() string
func (*DeleteProjectRequest) UnmarshalJSON
func (msg *DeleteProjectRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*DeleteProjectRequest) Validate
func (m *DeleteProjectRequest) Validate(ctx context.Context) error
type EncodingFormat
type EncodingFormat struct {
// contains filtered or unexported fields
}
func (*EncodingFormat) Descriptor
func (*EncodingFormat) Descriptor() ([]byte, []int)
Deprecated: Use EncodingFormat.ProtoReflect.Descriptor instead.
func (*EncodingFormat) MarshalJSON
func (msg *EncodingFormat) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*EncodingFormat) ProtoMessage
func (*EncodingFormat) ProtoMessage()
func (*EncodingFormat) ProtoReflect
func (x *EncodingFormat) ProtoReflect() protoreflect.Message
func (*EncodingFormat) Reset
func (x *EncodingFormat) Reset()
func (*EncodingFormat) String
func (x *EncodingFormat) String() string
func (*EncodingFormat) UnmarshalJSON
func (msg *EncodingFormat) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type EncodingFormat\_Enum
type EncodingFormat_Enum int32
const (
// PEM indicates that the encoding format is PEM
EncodingFormat_PEM EncodingFormat_Enum = 0
// DER indicates that the encoding format is DER
EncodingFormat_DER EncodingFormat_Enum = 1
// PKCS7 indicates that the encoding format is PKCS7
EncodingFormat_PKCS7 EncodingFormat_Enum = 2
)
func (EncodingFormat_Enum) Describe
func (s EncodingFormat_Enum) Describe() map[EncodingFormat_Enum]*api.EnumMeta
Describe returns Enum meta information for all values
func (EncodingFormat_Enum) Descriptor
func (EncodingFormat_Enum) Descriptor() protoreflect.EnumDescriptor
func (EncodingFormat_Enum) DisplayName
func (s EncodingFormat_Enum) DisplayName() string
DisplayName returns display name of Enum value
func (EncodingFormat_Enum) DisplayNames
func (s EncodingFormat_Enum) DisplayNames() []string
DisplayNames returns display names of Enum bitflag value
func (EncodingFormat_Enum) DisplayNamesMap
func (s EncodingFormat_Enum) DisplayNamesMap() map[int32]string
DisplayNamesMap returns a map of enum display names
func (EncodingFormat_Enum) Enum
func (x EncodingFormat_Enum) Enum() *EncodingFormat_Enum
func (EncodingFormat_Enum) EnumDescriptor
func (EncodingFormat_Enum) EnumDescriptor() ([]byte, []int)
Deprecated: Use EncodingFormat_Enum.Descriptor instead.
func (EncodingFormat_Enum) Flags
func (s EncodingFormat_Enum) Flags() []EncodingFormat_Enum
Flags returns list of Enum values
func (EncodingFormat_Enum) FlagsInt
func (s EncodingFormat_Enum) FlagsInt() []int32
FlagsInt returns list of Enum values as int32
func (EncodingFormat_Enum) GetDescription
func (s EncodingFormat_Enum) GetDescription() *api.EnumDescription
GetDescription returns Enum description
func (EncodingFormat_Enum) Meta
func (s EncodingFormat_Enum) Meta() *api.EnumMeta
Meta returns Enum meta information
func (EncodingFormat_Enum) NamesMap
func (s EncodingFormat_Enum) NamesMap() map[int32]string
NamesMap returns map of enum names
func (EncodingFormat_Enum) Number
func (x EncodingFormat_Enum) Number() protoreflect.EnumNumber
func (EncodingFormat_Enum) Parse
func (_ EncodingFormat_Enum) Parse(val any) EncodingFormat_Enum
Parse returns Enum value parsed from val
func (EncodingFormat_Enum) String
func (x EncodingFormat_Enum) String() string
func (EncodingFormat_Enum) SupportedNames
func (s EncodingFormat_Enum) SupportedNames() string
SupportedNames returns string of supported Enum name concatenated by ","
func (EncodingFormat_Enum) Type
func (EncodingFormat_Enum) Type() protoreflect.EnumType
func (*EncodingFormat_Enum) UnmarshalJSON
func (s *EncodingFormat_Enum) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals Enum from JSON
func (*EncodingFormat_Enum) UnmarshalYAML
func (s *EncodingFormat_Enum) UnmarshalYAML(unmarshal func(any) error) error
UnmarshalYAML unmarshals Enum from YAML
func (EncodingFormat_Enum) ValueNames
func (s EncodingFormat_Enum) ValueNames() []string
ValueNames returns list of Enum value names
func (EncodingFormat_Enum) ValueString
func (s EncodingFormat_Enum) ValueString() string
ValueString returns string of Enum value names concatenated by ","
func (EncodingFormat_Enum) ValuesMap
func (s EncodingFormat_Enum) ValuesMap() map[string]int32
ValuesMap returns a map of enum values
type EncodingFormat\_EnumSlice
type EncodingFormat_EnumSlice []EncodingFormat_Enum
type Event
Event describes event
type Event struct {
// ID is the event ID
ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
// OrgID is the org ID if the event is related to a org.
OrgID string `protobuf:"bytes,2,opt,name=OrgID,proto3" json:"OrgID,omitempty"`
Type EventType_Enum `protobuf:"varint,3,opt,name=Type,proto3,enum=pb.EventType_Enum" json:"Type,omitempty"`
Title string `protobuf:"bytes,4,opt,name=Title,proto3" json:"Title,omitempty"`
Description string `protobuf:"bytes,5,opt,name=Description,proto3" json:"Description,omitempty"`
// ReferenceID is the ID of the referenced entity.
ReferenceID string `protobuf:"bytes,6,opt,name=ReferenceID,proto3" json:"ReferenceID,omitempty"`
// Email is the email of the user who performed the action, optional
Email string `protobuf:"bytes,7,opt,name=Email,proto3" json:"Email,omitempty"`
// Source is the source of the event, optional
Source string `protobuf:"bytes,8,opt,name=Source,proto3" json:"Source,omitempty"`
// Metadata is additional data of the event. Orgs.ListEvents returns it
// to the members of the org, so an emitter records only values the
// tenant may see; no emitter records any today
Metadata []*KVPair `protobuf:"bytes,9,rep,name=Metadata,proto3" json:"Metadata,omitempty"`
// CreatedAt is the timestamp of the event creation in RFC3339 format.
CreatedAt string `protobuf:"bytes,10,opt,name=CreatedAt,proto3" json:"CreatedAt,omitempty"`
// ProjectID is the project ID if the event is related to a project.
ProjectID string `protobuf:"bytes,11,opt,name=ProjectID,proto3" json:"ProjectID,omitempty"`
// contains filtered or unexported fields
}
func (*Event) Descriptor
func (*Event) Descriptor() ([]byte, []int)
Deprecated: Use Event.ProtoReflect.Descriptor instead.
func (*Event) GetCreatedAt
func (x *Event) GetCreatedAt() string
func (*Event) GetDescription
func (x *Event) GetDescription() string
func (*Event) GetEmail
func (x *Event) GetEmail() string
func (*Event) GetID
func (x *Event) GetID() string
func (*Event) GetMetadata
func (x *Event) GetMetadata() []*KVPair
func (*Event) GetOrgID
func (x *Event) GetOrgID() string
func (*Event) GetProjectID
func (x *Event) GetProjectID() string
func (*Event) GetReferenceID
func (x *Event) GetReferenceID() string
func (*Event) GetSource
func (x *Event) GetSource() string
func (*Event) GetTitle
func (x *Event) GetTitle() string
func (*Event) GetType
func (x *Event) GetType() EventType_Enum
func (*Event) MarshalJSON
func (msg *Event) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*Event) ProtoMessage
func (*Event) ProtoMessage()
func (*Event) ProtoReflect
func (x *Event) ProtoReflect() protoreflect.Message
func (*Event) Reset
func (x *Event) Reset()
func (*Event) String
func (x *Event) String() string
func (*Event) UnmarshalJSON
func (msg *Event) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type EventType
type EventType struct {
// contains filtered or unexported fields
}
func (*EventType) Descriptor
func (*EventType) Descriptor() ([]byte, []int)
Deprecated: Use EventType.ProtoReflect.Descriptor instead.
func (*EventType) MarshalJSON
func (msg *EventType) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*EventType) ProtoMessage
func (*EventType) ProtoMessage()
func (*EventType) ProtoReflect
func (x *EventType) ProtoReflect() protoreflect.Message
func (*EventType) Reset
func (x *EventType) Reset()
func (*EventType) String
func (x *EventType) String() string
func (*EventType) UnmarshalJSON
func (msg *EventType) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type EventType\_Enum
EventType defines event types
type EventType_Enum int32
const (
// Unknown indicates that the event type is unknown
EventType_Unknown EventType_Enum = 0
// OrgCreated indicates that an org was created
EventType_OrgCreated EventType_Enum = 1
// OrgUpdated indicates that an org was updated
EventType_OrgUpdated EventType_Enum = 2
// OrgDeleted indicates that an org was deleted
EventType_OrgDeleted EventType_Enum = 3
// OrgMemberAdded indicates that an org member was added
EventType_OrgMemberAdded EventType_Enum = 4
// OrgMemberRemoved indicates that an org member was removed
EventType_OrgMemberRemoved EventType_Enum = 5
// OrgMemberRoleChanged indicates that an org member role was
// changed
EventType_OrgMemberRoleChanged EventType_Enum = 6
// OrgMemberInvited indicates that an org member was invited
EventType_OrgMemberInvited EventType_Enum = 7
// OrgMemberAccepted indicates that an org member accepted an
// invitation
EventType_OrgMemberAccepted EventType_Enum = 8
// ProjectCreated indicates that a project was created
EventType_ProjectCreated EventType_Enum = 9
// ProjectUpdated indicates that a project was updated
EventType_ProjectUpdated EventType_Enum = 10
// ProjectDeleted indicates that a project was deleted
EventType_ProjectDeleted EventType_Enum = 11
// ProjectMemberAdded indicates that a project member was added
EventType_ProjectMemberAdded EventType_Enum = 12
// ProjectMemberRemoved indicates that a project member was removed
EventType_ProjectMemberRemoved EventType_Enum = 13
// ProjectMemberRoleChanged indicates that a project member role was
// changed
EventType_ProjectMemberRoleChanged EventType_Enum = 14
// ProjectMemberInvited indicates that a project member was invited
EventType_ProjectMemberInvited EventType_Enum = 15
// ProjectMemberAccepted indicates that a project member accepted an
// invitation
EventType_ProjectMemberAccepted EventType_Enum = 16
// UserSignup indicates that a user signed up on the platform
EventType_UserSignup EventType_Enum = 20
// UserSignedOut indicates that a user signed out of the platform and
// revoked the token
EventType_UserSignedOut EventType_Enum = 21
// UserSignedIn indicates that a user signed in to the platform, or
// selected an organization for the session
EventType_UserSignedIn EventType_Enum = 22
// UserDisabled indicates that a service admin disabled a user: the
// user can no longer sign in or call the API
EventType_UserDisabled EventType_Enum = 23
// UserEnabled indicates that a service admin enabled a disabled user
// again
EventType_UserEnabled EventType_Enum = 24
// TokenRevoked indicates that a token was revoked
EventType_TokenRevoked EventType_Enum = 25
// APIKeyCreated indicates that an API key was created
EventType_APIKeyCreated EventType_Enum = 31
// APIKeyDeleted indicates that an API key was deleted
EventType_APIKeyDeleted EventType_Enum = 32
// APIKeyLogin indicates that an API key was used to sign in to the
// platform
EventType_APIKeyLogin EventType_Enum = 33
// OrganizationDisabled indicates that a service admin disabled an
// organization with its projects and API keys
EventType_OrganizationDisabled EventType_Enum = 36
// OrganizationEnabled indicates that a service admin enabled a
// disabled organization with the projects and API keys it disabled
EventType_OrganizationEnabled EventType_Enum = 37
// IssuerRegistered indicates that an issuer was registered or imported
EventType_IssuerRegistered EventType_Enum = 100
// IssuerActivated indicates that a Pending issuer was activated
EventType_IssuerActivated EventType_Enum = 101
// IssuerUpdated indicates that an issuer config or status changed
EventType_IssuerUpdated EventType_Enum = 102
// ProfileRegistered indicates that a certificate profile was created
// or replaced
EventType_ProfileRegistered EventType_Enum = 103
// ProfileDeleted indicates that a certificate profile was deleted
EventType_ProfileDeleted EventType_Enum = 104
// CertificateIssued indicates that a certificate was issued
EventType_CertificateIssued EventType_Enum = 105
// CertificateRevoked indicates that a certificate was revoked
EventType_CertificateRevoked EventType_Enum = 106
// CrlPublished indicates that a CRL was published
EventType_CrlPublished EventType_Enum = 107
// RootRegistered indicates that a trust anchor was registered
EventType_RootRegistered EventType_Enum = 108
)
func (EventType_Enum) Describe
func (s EventType_Enum) Describe() map[EventType_Enum]*api.EnumMeta
Describe returns Enum meta information for all values
func (EventType_Enum) Descriptor
func (EventType_Enum) Descriptor() protoreflect.EnumDescriptor
func (EventType_Enum) DisplayName
func (s EventType_Enum) DisplayName() string
DisplayName returns display name of Enum value
func (EventType_Enum) DisplayNames
func (s EventType_Enum) DisplayNames() []string
DisplayNames returns display names of Enum bitflag value
func (EventType_Enum) DisplayNamesMap
func (s EventType_Enum) DisplayNamesMap() map[int32]string
DisplayNamesMap returns a map of enum display names
func (EventType_Enum) Enum
func (x EventType_Enum) Enum() *EventType_Enum
func (EventType_Enum) EnumDescriptor
func (EventType_Enum) EnumDescriptor() ([]byte, []int)
Deprecated: Use EventType_Enum.Descriptor instead.
func (EventType_Enum) Flags
func (s EventType_Enum) Flags() []EventType_Enum
Flags returns list of Enum values
func (EventType_Enum) FlagsInt
func (s EventType_Enum) FlagsInt() []int32
FlagsInt returns list of Enum values as int32
func (EventType_Enum) GetDescription
func (s EventType_Enum) GetDescription() *api.EnumDescription
GetDescription returns Enum description
func (EventType_Enum) Meta
func (s EventType_Enum) Meta() *api.EnumMeta
Meta returns Enum meta information
func (EventType_Enum) NamesMap
func (s EventType_Enum) NamesMap() map[int32]string
NamesMap returns map of enum names
func (EventType_Enum) Number
func (x EventType_Enum) Number() protoreflect.EnumNumber
func (EventType_Enum) Parse
func (_ EventType_Enum) Parse(val any) EventType_Enum
Parse returns Enum value parsed from val
func (EventType_Enum) String
func (x EventType_Enum) String() string
func (EventType_Enum) SupportedNames
func (s EventType_Enum) SupportedNames() string
SupportedNames returns string of supported Enum name concatenated by ","
func (EventType_Enum) Type
func (EventType_Enum) Type() protoreflect.EnumType
func (*EventType_Enum) UnmarshalJSON
func (s *EventType_Enum) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals Enum from JSON
func (*EventType_Enum) UnmarshalYAML
func (s *EventType_Enum) UnmarshalYAML(unmarshal func(any) error) error
UnmarshalYAML unmarshals Enum from YAML
func (EventType_Enum) ValueNames
func (s EventType_Enum) ValueNames() []string
ValueNames returns list of Enum value names
func (EventType_Enum) ValueString
func (s EventType_Enum) ValueString() string
ValueString returns string of Enum value names concatenated by ","
func (EventType_Enum) ValuesMap
func (s EventType_Enum) ValuesMap() map[string]int32
ValuesMap returns a map of enum values
type EventType\_EnumSlice
type EventType_EnumSlice []EventType_Enum
type EventsResponse
EventsResponse returns a page of events, newest first
type EventsResponse struct {
// Events is the list of events
Events []*Event `protobuf:"bytes,1,rep,name=Events,proto3" json:"Events,omitempty"`
// NextPage specifies pagination information, if there are more pages to
// fetch. If there are no more pages to fetch, NextPage will be empty.
NextPage *NextPage `protobuf:"bytes,2,opt,name=NextPage,proto3" json:"NextPage,omitempty"`
// contains filtered or unexported fields
}
func (*EventsResponse) Descriptor
func (*EventsResponse) Descriptor() ([]byte, []int)
Deprecated: Use EventsResponse.ProtoReflect.Descriptor instead.
func (*EventsResponse) GetEvents
func (x *EventsResponse) GetEvents() []*Event
func (*EventsResponse) GetMessageDescription
func (m *EventsResponse) GetMessageDescription() *api.MessageDescription
func (*EventsResponse) GetNextPage
func (x *EventsResponse) GetNextPage() *NextPage
func (*EventsResponse) MarshalJSON
func (msg *EventsResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*EventsResponse) Print
func (r *EventsResponse) Print(w io.Writer)
func (*EventsResponse) ProtoMessage
func (*EventsResponse) ProtoMessage()
func (*EventsResponse) ProtoReflect
func (x *EventsResponse) ProtoReflect() protoreflect.Message
func (*EventsResponse) Reset
func (x *EventsResponse) Reset()
func (*EventsResponse) String
func (x *EventsResponse) String() string
func (*EventsResponse) UnmarshalJSON
func (msg *EventsResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type ExchangeCodeRequest
ExchangeCodeRequest exchanges the one-time code for a token. The Code is returned as part of OAuth flow and valid for 30 seconds. It must be exchanged to Access Token following code_challenge verification.
type ExchangeCodeRequest struct {
// Code is the code to be exchanged for a token
Code string `protobuf:"bytes,1,opt,name=Code,proto3" json:"Code,omitempty"`
// Verifier is the code verifier for the code_challenge
Verifier string `protobuf:"bytes,2,opt,name=Verifier,proto3" json:"Verifier,omitempty"`
// contains filtered or unexported fields
}
func (*ExchangeCodeRequest) Descriptor
func (*ExchangeCodeRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExchangeCodeRequest.ProtoReflect.Descriptor instead.
func (*ExchangeCodeRequest) GetCode
func (x *ExchangeCodeRequest) GetCode() string
func (*ExchangeCodeRequest) GetVerifier
func (x *ExchangeCodeRequest) GetVerifier() string
func (*ExchangeCodeRequest) MarshalJSON
func (msg *ExchangeCodeRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*ExchangeCodeRequest) ProtoMessage
func (*ExchangeCodeRequest) ProtoMessage()
func (*ExchangeCodeRequest) ProtoReflect
func (x *ExchangeCodeRequest) ProtoReflect() protoreflect.Message
func (*ExchangeCodeRequest) Reset
func (x *ExchangeCodeRequest) Reset()
func (*ExchangeCodeRequest) String
func (x *ExchangeCodeRequest) String() string
func (*ExchangeCodeRequest) UnmarshalJSON
func (msg *ExchangeCodeRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*ExchangeCodeRequest) Validate
func (m *ExchangeCodeRequest) Validate(ctx context.Context) error
type ExpiryBucket
ExpiryBucket is the number of Active certificates whose validity ends within a number of days after the time of the summary
type ExpiryBucket struct {
// Days after the time of the summary
Days uint32 `protobuf:"varint,1,opt,name=Days,proto3" json:"Days,omitempty"`
// Count of the Active certificates that expire within the days
Count uint32 `protobuf:"varint,2,opt,name=Count,proto3" json:"Count,omitempty"`
// contains filtered or unexported fields
}
func (*ExpiryBucket) Descriptor
func (*ExpiryBucket) Descriptor() ([]byte, []int)
Deprecated: Use ExpiryBucket.ProtoReflect.Descriptor instead.
func (*ExpiryBucket) GetCount
func (x *ExpiryBucket) GetCount() uint32
func (*ExpiryBucket) GetDays
func (x *ExpiryBucket) GetDays() uint32
func (*ExpiryBucket) MarshalJSON
func (msg *ExpiryBucket) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*ExpiryBucket) ProtoMessage
func (*ExpiryBucket) ProtoMessage()
func (*ExpiryBucket) ProtoReflect
func (x *ExpiryBucket) ProtoReflect() protoreflect.Message
func (*ExpiryBucket) Reset
func (x *ExpiryBucket) Reset()
func (*ExpiryBucket) String
func (x *ExpiryBucket) String() string
func (*ExpiryBucket) UnmarshalJSON
func (msg *ExpiryBucket) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type GetCertificateInfoRequest
GetCertificateInfoRequest specifies a certificate by ID, SKID, Sha256 or issuer and serial number
type GetCertificateInfoRequest struct {
// ID specifies certificate ID
ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
// SKID specifies Subject Key ID to search
SKID string `protobuf:"bytes,2,opt,name=SKID,proto3" json:"SKID,omitempty"`
// Sha256 specifies the certificate thumbprint to search
Sha256 string `protobuf:"bytes,3,opt,name=Sha256,proto3" json:"Sha256,omitempty"`
// IssuerSerial specifies Issuer Key ID and certificate serial number
IssuerSerial *IssuerSerial `protobuf:"bytes,4,opt,name=IssuerSerial,proto3" json:"IssuerSerial,omitempty"`
// contains filtered or unexported fields
}
func (*GetCertificateInfoRequest) Descriptor
func (*GetCertificateInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCertificateInfoRequest.ProtoReflect.Descriptor instead.
func (*GetCertificateInfoRequest) GetID
func (x *GetCertificateInfoRequest) GetID() string
func (*GetCertificateInfoRequest) GetIssuerSerial
func (x *GetCertificateInfoRequest) GetIssuerSerial() *IssuerSerial
func (*GetCertificateInfoRequest) GetSKID
func (x *GetCertificateInfoRequest) GetSKID() string
func (*GetCertificateInfoRequest) GetSha256
func (x *GetCertificateInfoRequest) GetSha256() string
func (*GetCertificateInfoRequest) MarshalJSON
func (msg *GetCertificateInfoRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*GetCertificateInfoRequest) ProtoMessage
func (*GetCertificateInfoRequest) ProtoMessage()
func (*GetCertificateInfoRequest) ProtoReflect
func (x *GetCertificateInfoRequest) ProtoReflect() protoreflect.Message
func (*GetCertificateInfoRequest) Reset
func (x *GetCertificateInfoRequest) Reset()
func (*GetCertificateInfoRequest) String
func (x *GetCertificateInfoRequest) String() string
func (*GetCertificateInfoRequest) UnmarshalJSON
func (msg *GetCertificateInfoRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*GetCertificateInfoRequest) Validate
func (m *GetCertificateInfoRequest) Validate(ctx context.Context) error
type GetCertificateRequest
GetCertificateRequest specifies certificate by ID, SKID, Sha256 or issuer and serial number
type GetCertificateRequest struct {
// ID specifies certificate ID
ID string `protobuf:"bytes,2,opt,name=ID,proto3" json:"ID,omitempty"`
// SKID specifies Subject Key ID to search
SKID string `protobuf:"bytes,3,opt,name=SKID,proto3" json:"SKID,omitempty"`
// Sha256 specifies the certificate thumbprint to search
Sha256 string `protobuf:"bytes,4,opt,name=Sha256,proto3" json:"Sha256,omitempty"`
// IssuerSerial specifies Issuer Key ID and certificate serial number
IssuerSerial *IssuerSerial `protobuf:"bytes,5,opt,name=IssuerSerial,proto3" json:"IssuerSerial,omitempty"`
// contains filtered or unexported fields
}
func (*GetCertificateRequest) Descriptor
func (*GetCertificateRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCertificateRequest.ProtoReflect.Descriptor instead.
func (*GetCertificateRequest) GetID
func (x *GetCertificateRequest) GetID() string
func (*GetCertificateRequest) GetIssuerSerial
func (x *GetCertificateRequest) GetIssuerSerial() *IssuerSerial
func (*GetCertificateRequest) GetSKID
func (x *GetCertificateRequest) GetSKID() string
func (*GetCertificateRequest) GetSha256
func (x *GetCertificateRequest) GetSha256() string
func (*GetCertificateRequest) MarshalJSON
func (msg *GetCertificateRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*GetCertificateRequest) ProtoMessage
func (*GetCertificateRequest) ProtoMessage()
func (*GetCertificateRequest) ProtoReflect
func (x *GetCertificateRequest) ProtoReflect() protoreflect.Message
func (*GetCertificateRequest) Reset
func (x *GetCertificateRequest) Reset()
func (*GetCertificateRequest) String
func (x *GetCertificateRequest) String() string
func (*GetCertificateRequest) UnmarshalJSON
func (msg *GetCertificateRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*GetCertificateRequest) Validate
func (m *GetCertificateRequest) Validate(ctx context.Context) error
type GetCrlRequest
GetCrlRequest specifies CRL request by IKID
type GetCrlRequest struct {
// IKID specifies Issuer Key ID
IKID string `protobuf:"bytes,2,opt,name=IKID,proto3" json:"IKID,omitempty"`
// contains filtered or unexported fields
}
func (*GetCrlRequest) Descriptor
func (*GetCrlRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCrlRequest.ProtoReflect.Descriptor instead.
func (*GetCrlRequest) GetIKID
func (x *GetCrlRequest) GetIKID() string
func (*GetCrlRequest) MarshalJSON
func (msg *GetCrlRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*GetCrlRequest) ProtoMessage
func (*GetCrlRequest) ProtoMessage()
func (*GetCrlRequest) ProtoReflect
func (x *GetCrlRequest) ProtoReflect() protoreflect.Message
func (*GetCrlRequest) Reset
func (x *GetCrlRequest) Reset()
func (*GetCrlRequest) String
func (x *GetCrlRequest) String() string
func (*GetCrlRequest) UnmarshalJSON
func (msg *GetCrlRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*GetCrlRequest) Validate
func (m *GetCrlRequest) Validate(ctx context.Context) error
type GetIssuerInfoRequest
GetIssuerInfoRequest specifies an issuer by IKID
type GetIssuerInfoRequest struct {
// IKID specifies Issuer Key ID
IKID string `protobuf:"bytes,1,opt,name=IKID,proto3" json:"IKID,omitempty"`
// contains filtered or unexported fields
}
func (*GetIssuerInfoRequest) Descriptor
func (*GetIssuerInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetIssuerInfoRequest.ProtoReflect.Descriptor instead.
func (*GetIssuerInfoRequest) GetIKID
func (x *GetIssuerInfoRequest) GetIKID() string
func (*GetIssuerInfoRequest) MarshalJSON
func (msg *GetIssuerInfoRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*GetIssuerInfoRequest) ProtoMessage
func (*GetIssuerInfoRequest) ProtoMessage()
func (*GetIssuerInfoRequest) ProtoReflect
func (x *GetIssuerInfoRequest) ProtoReflect() protoreflect.Message
func (*GetIssuerInfoRequest) Reset
func (x *GetIssuerInfoRequest) Reset()
func (*GetIssuerInfoRequest) String
func (x *GetIssuerInfoRequest) String() string
func (*GetIssuerInfoRequest) UnmarshalJSON
func (msg *GetIssuerInfoRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*GetIssuerInfoRequest) Validate
func (m *GetIssuerInfoRequest) Validate(ctx context.Context) error
type GetIssuerRequest
GetIssuerRequest specifies an issuer by ID, label or IKID
type GetIssuerRequest struct {
// ProjectID of the owning project; used with Label
ProjectID string `protobuf:"bytes,2,opt,name=ProjectID,proto3" json:"ProjectID,omitempty"`
// ID of the issuer
ID string `protobuf:"bytes,3,opt,name=ID,proto3" json:"ID,omitempty"`
// Label of the issuer, resolved as (Org, Project) then (Org)
Label string `protobuf:"bytes,4,opt,name=Label,proto3" json:"Label,omitempty"`
// IKID specifies Issuer Key ID
IKID string `protobuf:"bytes,5,opt,name=IKID,proto3" json:"IKID,omitempty"`
// contains filtered or unexported fields
}
func (*GetIssuerRequest) Descriptor
func (*GetIssuerRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetIssuerRequest.ProtoReflect.Descriptor instead.
func (*GetIssuerRequest) GetID
func (x *GetIssuerRequest) GetID() string
func (*GetIssuerRequest) GetIKID
func (x *GetIssuerRequest) GetIKID() string
func (*GetIssuerRequest) GetLabel
func (x *GetIssuerRequest) GetLabel() string
func (*GetIssuerRequest) GetProjectID
func (x *GetIssuerRequest) GetProjectID() string
func (*GetIssuerRequest) MarshalJSON
func (msg *GetIssuerRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*GetIssuerRequest) ProtoMessage
func (*GetIssuerRequest) ProtoMessage()
func (*GetIssuerRequest) ProtoReflect
func (x *GetIssuerRequest) ProtoReflect() protoreflect.Message
func (*GetIssuerRequest) Reset
func (x *GetIssuerRequest) Reset()
func (*GetIssuerRequest) String
func (x *GetIssuerRequest) String() string
func (*GetIssuerRequest) UnmarshalJSON
func (msg *GetIssuerRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*GetIssuerRequest) Validate
func (m *GetIssuerRequest) Validate(ctx context.Context) error
type GetMembersRequest
GetMembersRequest specifies request to list members and invites of the org selected in the token. Without ProjectID and Scope, grants of all scopes are returned.
type GetMembersRequest struct {
// ProjectID limits the result to Project scope grants of the project
ProjectID string `protobuf:"bytes,1,opt,name=ProjectID,proto3" json:"ProjectID,omitempty"`
// Scope limits the result to Org scope grants when set to Org
Scope Scope_Enum `protobuf:"varint,2,opt,name=Scope,proto3,enum=pb.Scope_Enum" json:"Scope,omitempty"`
// contains filtered or unexported fields
}
func (*GetMembersRequest) Descriptor
func (*GetMembersRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMembersRequest.ProtoReflect.Descriptor instead.
func (*GetMembersRequest) GetProjectID
func (x *GetMembersRequest) GetProjectID() string
func (*GetMembersRequest) GetScope
func (x *GetMembersRequest) GetScope() Scope_Enum
func (*GetMembersRequest) MarshalJSON
func (msg *GetMembersRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*GetMembersRequest) ProtoMessage
func (*GetMembersRequest) ProtoMessage()
func (*GetMembersRequest) ProtoReflect
func (x *GetMembersRequest) ProtoReflect() protoreflect.Message
func (*GetMembersRequest) Reset
func (x *GetMembersRequest) Reset()
func (*GetMembersRequest) String
func (x *GetMembersRequest) String() string
func (*GetMembersRequest) UnmarshalJSON
func (msg *GetMembersRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*GetMembersRequest) Validate
func (m *GetMembersRequest) Validate(ctx context.Context) error
type GetProfileRequest
GetProfileRequest specifies a profile by ID or label
type GetProfileRequest struct {
// ProjectID of the owning project; used with Label
ProjectID string `protobuf:"bytes,2,opt,name=ProjectID,proto3" json:"ProjectID,omitempty"`
// ID of the profile
ID string `protobuf:"bytes,3,opt,name=ID,proto3" json:"ID,omitempty"`
// Label of the profile, resolved as (Org, Project) then (Org)
Label string `protobuf:"bytes,4,opt,name=Label,proto3" json:"Label,omitempty"`
// contains filtered or unexported fields
}
func (*GetProfileRequest) Descriptor
func (*GetProfileRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetProfileRequest.ProtoReflect.Descriptor instead.
func (*GetProfileRequest) GetID
func (x *GetProfileRequest) GetID() string
func (*GetProfileRequest) GetLabel
func (x *GetProfileRequest) GetLabel() string
func (*GetProfileRequest) GetProjectID
func (x *GetProfileRequest) GetProjectID() string
func (*GetProfileRequest) MarshalJSON
func (msg *GetProfileRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*GetProfileRequest) ProtoMessage
func (*GetProfileRequest) ProtoMessage()
func (*GetProfileRequest) ProtoReflect
func (x *GetProfileRequest) ProtoReflect() protoreflect.Message
func (*GetProfileRequest) Reset
func (x *GetProfileRequest) Reset()
func (*GetProfileRequest) String
func (x *GetProfileRequest) String() string
func (*GetProfileRequest) UnmarshalJSON
func (msg *GetProfileRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*GetProfileRequest) Validate
func (m *GetProfileRequest) Validate(ctx context.Context) error
type GetProjectRequest
GetProjectRequest specifies a project by ID or alias
type GetProjectRequest struct {
ProjectID string `protobuf:"bytes,1,opt,name=ProjectID,proto3" json:"ProjectID,omitempty"`
Alias string `protobuf:"bytes,2,opt,name=Alias,proto3" json:"Alias,omitempty"`
// contains filtered or unexported fields
}
func (*GetProjectRequest) Descriptor
func (*GetProjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetProjectRequest.ProtoReflect.Descriptor instead.
func (*GetProjectRequest) GetAlias
func (x *GetProjectRequest) GetAlias() string
func (*GetProjectRequest) GetProjectID
func (x *GetProjectRequest) GetProjectID() string
func (*GetProjectRequest) MarshalJSON
func (msg *GetProjectRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*GetProjectRequest) ProtoMessage
func (*GetProjectRequest) ProtoMessage()
func (*GetProjectRequest) ProtoReflect
func (x *GetProjectRequest) ProtoReflect() protoreflect.Message
func (*GetProjectRequest) Reset
func (x *GetProjectRequest) Reset()
func (*GetProjectRequest) String
func (x *GetProjectRequest) String() string
func (*GetProjectRequest) UnmarshalJSON
func (msg *GetProjectRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*GetProjectRequest) Validate
func (m *GetProjectRequest) Validate(ctx context.Context) error
type GetRootsRequest
GetRootsRequest specifies a list of the published trust anchors
type GetRootsRequest struct {
// OrgID selects the anchors of an org; empty lists the platform
// anchors. It is a lookup, not a tenant scope: the anchors are public
// and any authenticated caller reads those of any org.
OrgID string `protobuf:"bytes,1,opt,name=OrgID,proto3" json:"OrgID,omitempty"`
// Limit specifies maximum number of records to return
Limit uint32 `protobuf:"varint,2,opt,name=Limit,proto3" json:"Limit,omitempty"`
// Offset specifies offset for the offset-based pagination
Offset uint32 `protobuf:"varint,3,opt,name=Offset,proto3" json:"Offset,omitempty"`
// Cursor specifies cursor for the cursor-based pagination
Cursor string `protobuf:"bytes,4,opt,name=Cursor,proto3" json:"Cursor,omitempty"`
// contains filtered or unexported fields
}
func (*GetRootsRequest) Descriptor
func (*GetRootsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRootsRequest.ProtoReflect.Descriptor instead.
func (*GetRootsRequest) GetCursor
func (x *GetRootsRequest) GetCursor() string
func (*GetRootsRequest) GetLimit
func (x *GetRootsRequest) GetLimit() uint32
func (*GetRootsRequest) GetOffset
func (x *GetRootsRequest) GetOffset() uint32
func (*GetRootsRequest) GetOrgID
func (x *GetRootsRequest) GetOrgID() string
func (*GetRootsRequest) MarshalJSON
func (msg *GetRootsRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*GetRootsRequest) ProtoMessage
func (*GetRootsRequest) ProtoMessage()
func (*GetRootsRequest) ProtoReflect
func (x *GetRootsRequest) ProtoReflect() protoreflect.Message
func (*GetRootsRequest) Reset
func (x *GetRootsRequest) Reset()
func (*GetRootsRequest) String
func (x *GetRootsRequest) String() string
func (*GetRootsRequest) UnmarshalJSON
func (msg *GetRootsRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*GetRootsRequest) Validate
func (m *GetRootsRequest) Validate(ctx context.Context) error
type GetSummaryRequest
GetSummaryRequest specifies the scope of the summary
type GetSummaryRequest struct {
// ProjectID limits the summary to the project; empty summarizes the
// org-wide rows and the projects the caller may read. An API key
// restricted to a project gets its project.
ProjectID string `protobuf:"bytes,2,opt,name=ProjectID,proto3" json:"ProjectID,omitempty"`
// contains filtered or unexported fields
}
func (*GetSummaryRequest) Descriptor
func (*GetSummaryRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSummaryRequest.ProtoReflect.Descriptor instead.
func (*GetSummaryRequest) GetProjectID
func (x *GetSummaryRequest) GetProjectID() string
func (*GetSummaryRequest) MarshalJSON
func (msg *GetSummaryRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*GetSummaryRequest) ProtoMessage
func (*GetSummaryRequest) ProtoMessage()
func (*GetSummaryRequest) ProtoReflect
func (x *GetSummaryRequest) ProtoReflect() protoreflect.Message
func (*GetSummaryRequest) Reset
func (x *GetSummaryRequest) Reset()
func (*GetSummaryRequest) String
func (x *GetSummaryRequest) String() string
func (*GetSummaryRequest) UnmarshalJSON
func (msg *GetSummaryRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*GetSummaryRequest) Validate
func (m *GetSummaryRequest) Validate(ctx context.Context) error
type IDP
List of supported IDPs
type IDP struct {
// contains filtered or unexported fields
}
func (*IDP) Descriptor
func (*IDP) Descriptor() ([]byte, []int)
Deprecated: Use IDP.ProtoReflect.Descriptor instead.
func (*IDP) MarshalJSON
func (msg *IDP) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*IDP) ProtoMessage
func (*IDP) ProtoMessage()
func (*IDP) ProtoReflect
func (x *IDP) ProtoReflect() protoreflect.Message
func (*IDP) Reset
func (x *IDP) Reset()
func (*IDP) String
func (x *IDP) String() string
func (*IDP) UnmarshalJSON
func (msg *IDP) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type IDP\_Enum
type IDP_Enum int32
const (
// Undefined indicates that the IDP is undefined
IDP_Undefined IDP_Enum = 0
// Google indicates that the IDP is Google
IDP_Google IDP_Enum = 1
// Github indicates that the IDP is Github
IDP_Github IDP_Enum = 2
// Gitlab indicates that the IDP is Gitlab
IDP_Gitlab IDP_Enum = 3
// Local indicates that the IDP is local for testing
IDP_Local IDP_Enum = 1000
)
func IDPFromSlice
func IDPFromSlice(s []string) []IDP_Enum
IDPFromSlice converts a slice of strings to a slice of IDP_Enum
func IDPFromString
func IDPFromString(s string) IDP_Enum
IDPFromString converts a string to an IDP_Enum.
func (IDP_Enum) Describe
func (s IDP_Enum) Describe() map[IDP_Enum]*api.EnumMeta
Describe returns Enum meta information for all values
func (IDP_Enum) Descriptor
func (IDP_Enum) Descriptor() protoreflect.EnumDescriptor
func (IDP_Enum) DisplayName
func (s IDP_Enum) DisplayName() string
DisplayName returns display name of Enum value
func (IDP_Enum) DisplayNames
func (s IDP_Enum) DisplayNames() []string
DisplayNames returns display names of Enum bitflag value
func (IDP_Enum) DisplayNamesMap
func (s IDP_Enum) DisplayNamesMap() map[int32]string
DisplayNamesMap returns a map of enum display names
func (IDP_Enum) Enum
func (x IDP_Enum) Enum() *IDP_Enum
func (IDP_Enum) EnumDescriptor
func (IDP_Enum) EnumDescriptor() ([]byte, []int)
Deprecated: Use IDP_Enum.Descriptor instead.
func (IDP_Enum) Flags
func (s IDP_Enum) Flags() []IDP_Enum
Flags returns list of Enum values
func (IDP_Enum) FlagsInt
func (s IDP_Enum) FlagsInt() []int32
FlagsInt returns list of Enum values as int32
func (IDP_Enum) GetDescription
func (s IDP_Enum) GetDescription() *api.EnumDescription
GetDescription returns Enum description
func (IDP_Enum) Meta
func (s IDP_Enum) Meta() *api.EnumMeta
Meta returns Enum meta information
func (IDP_Enum) NamesMap
func (s IDP_Enum) NamesMap() map[int32]string
NamesMap returns map of enum names
func (IDP_Enum) Number
func (x IDP_Enum) Number() protoreflect.EnumNumber
func (IDP_Enum) Parse
func (_ IDP_Enum) Parse(val any) IDP_Enum
Parse returns Enum value parsed from val
func (IDP_Enum) String
func (x IDP_Enum) String() string
func (IDP_Enum) SupportedNames
func (s IDP_Enum) SupportedNames() string
SupportedNames returns string of supported Enum name concatenated by ","
func (IDP_Enum) Type
func (IDP_Enum) Type() protoreflect.EnumType
func (*IDP_Enum) UnmarshalJSON
func (s *IDP_Enum) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals Enum from JSON
func (*IDP_Enum) UnmarshalYAML
func (s *IDP_Enum) UnmarshalYAML(unmarshal func(any) error) error
UnmarshalYAML unmarshals Enum from YAML
func (IDP_Enum) ValueNames
func (s IDP_Enum) ValueNames() []string
ValueNames returns list of Enum value names
func (IDP_Enum) ValueString
func (s IDP_Enum) ValueString() string
ValueString returns string of Enum value names concatenated by ","
func (IDP_Enum) ValuesMap
func (s IDP_Enum) ValuesMap() map[string]int32
ValuesMap returns a map of enum values
type IDP\_EnumSlice
type IDP_EnumSlice []IDP_Enum
type ImportIssuerRequest
ImportIssuerRequest specifies a request to import an existing issuer
type ImportIssuerRequest struct {
// ProjectID of the owning project; empty for an org-wide issuer
ProjectID string `protobuf:"bytes,2,opt,name=ProjectID,proto3" json:"ProjectID,omitempty"`
// Label of the issuer, unique per (Org, Project)
Label string `protobuf:"bytes,3,opt,name=Label,proto3" json:"Label,omitempty"`
// Type of the authority
Type AuthorityType_Enum `protobuf:"varint,4,opt,name=Type,proto3,enum=pb.AuthorityType_Enum" json:"Type,omitempty"`
// Certificate provides the issuer certificate in PEM format
Certificate string `protobuf:"bytes,5,opt,name=Certificate,proto3" json:"Certificate,omitempty"`
// Intermediates provides the intermediate CA certificates in PEM format
Intermediates string `protobuf:"bytes,6,opt,name=Intermediates,proto3" json:"Intermediates,omitempty"`
// Root provides the Root CA certificate in PEM format
Root string `protobuf:"bytes,7,opt,name=Root,proto3" json:"Root,omitempty"`
// KeyURI references an existing key in a crypto provider,
// e.g. awskms://..., gcpkms://..., pkcs11:...
KeyURI string `protobuf:"bytes,8,opt,name=KeyURI,proto3" json:"KeyURI,omitempty"`
// KeyPem provides the private key in PEM format.
// It is stored protected by the data protection provider.
KeyPem string `protobuf:"bytes,9,opt,name=KeyPem,proto3" json:"KeyPem,omitempty"`
// Config provides runtime settings
Config *IssuerConfig `protobuf:"bytes,10,opt,name=Config,proto3" json:"Config,omitempty"`
// contains filtered or unexported fields
}
func (*ImportIssuerRequest) Descriptor
func (*ImportIssuerRequest) Descriptor() ([]byte, []int)
Deprecated: Use ImportIssuerRequest.ProtoReflect.Descriptor instead.
func (*ImportIssuerRequest) GetCertificate
func (x *ImportIssuerRequest) GetCertificate() string
func (*ImportIssuerRequest) GetConfig
func (x *ImportIssuerRequest) GetConfig() *IssuerConfig
func (*ImportIssuerRequest) GetIntermediates
func (x *ImportIssuerRequest) GetIntermediates() string
func (*ImportIssuerRequest) GetKeyPem
func (x *ImportIssuerRequest) GetKeyPem() string
func (*ImportIssuerRequest) GetKeyURI
func (x *ImportIssuerRequest) GetKeyURI() string
func (*ImportIssuerRequest) GetLabel
func (x *ImportIssuerRequest) GetLabel() string
func (*ImportIssuerRequest) GetProjectID
func (x *ImportIssuerRequest) GetProjectID() string
func (*ImportIssuerRequest) GetRoot
func (x *ImportIssuerRequest) GetRoot() string
func (*ImportIssuerRequest) GetType
func (x *ImportIssuerRequest) GetType() AuthorityType_Enum
func (*ImportIssuerRequest) MarshalJSON
func (msg *ImportIssuerRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*ImportIssuerRequest) ProtoMessage
func (*ImportIssuerRequest) ProtoMessage()
func (*ImportIssuerRequest) ProtoReflect
func (x *ImportIssuerRequest) ProtoReflect() protoreflect.Message
func (*ImportIssuerRequest) Reset
func (x *ImportIssuerRequest) Reset()
func (*ImportIssuerRequest) String
func (x *ImportIssuerRequest) String() string
func (*ImportIssuerRequest) UnmarshalJSON
func (msg *ImportIssuerRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*ImportIssuerRequest) Validate
func (m *ImportIssuerRequest) Validate(ctx context.Context) error
type Invite
Invite provides an org or project invite
type Invite struct {
ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
OrgID string `protobuf:"bytes,2,opt,name=OrgID,proto3" json:"OrgID,omitempty"`
InviterID string `protobuf:"bytes,3,opt,name=InviterID,proto3" json:"InviterID,omitempty"`
Email string `protobuf:"bytes,4,opt,name=Email,proto3" json:"Email,omitempty"`
CreatedAt string `protobuf:"bytes,6,opt,name=CreatedAt,proto3" json:"CreatedAt,omitempty"`
Role Role_Enum `protobuf:"varint,7,opt,name=Role,proto3,enum=pb.Role_Enum" json:"Role,omitempty"`
// Scope of the invite: Org or Project
Scope Scope_Enum `protobuf:"varint,8,opt,name=Scope,proto3,enum=pb.Scope_Enum" json:"Scope,omitempty"`
// ProjectID is set for Project scope invites
ProjectID string `protobuf:"bytes,9,opt,name=ProjectID,proto3" json:"ProjectID,omitempty"`
// ExpiresAt in RFC3339 format; expired invites grant nothing
ExpiresAt string `protobuf:"bytes,10,opt,name=ExpiresAt,proto3" json:"ExpiresAt,omitempty"`
// contains filtered or unexported fields
}
func (*Invite) Descriptor
func (*Invite) Descriptor() ([]byte, []int)
Deprecated: Use Invite.ProtoReflect.Descriptor instead.
func (*Invite) GetCreatedAt
func (x *Invite) GetCreatedAt() string
func (*Invite) GetEmail
func (x *Invite) GetEmail() string
func (*Invite) GetExpiresAt
func (x *Invite) GetExpiresAt() string
func (*Invite) GetID
func (x *Invite) GetID() string
func (*Invite) GetInviterID
func (x *Invite) GetInviterID() string
func (*Invite) GetOrgID
func (x *Invite) GetOrgID() string
func (*Invite) GetProjectID
func (x *Invite) GetProjectID() string
func (*Invite) GetRole
func (x *Invite) GetRole() Role_Enum
func (*Invite) GetScope
func (x *Invite) GetScope() Scope_Enum
func (*Invite) MarshalJSON
func (msg *Invite) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*Invite) Print
func (r *Invite) Print(w io.Writer)
func (*Invite) ProtoMessage
func (*Invite) ProtoMessage()
func (*Invite) ProtoReflect
func (x *Invite) ProtoReflect() protoreflect.Message
func (*Invite) Reset
func (x *Invite) Reset()
func (*Invite) String
func (x *Invite) String() string
func (*Invite) UnmarshalJSON
func (msg *Invite) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type Issuer
Issuer provides issuing authority information. Private key material is never returned.
type Issuer struct {
// ID of the issuer
ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
// OrgID of the owning org; empty for platform issuers
OrgID string `protobuf:"bytes,2,opt,name=OrgID,proto3" json:"OrgID,omitempty"`
// ProjectID of the owning project; empty for org-wide issuers
ProjectID string `protobuf:"bytes,3,opt,name=ProjectID,proto3" json:"ProjectID,omitempty"`
// Label of the issuer, unique per (Org, Project)
Label string `protobuf:"bytes,4,opt,name=Label,proto3" json:"Label,omitempty"`
// Type of the authority
Type AuthorityType_Enum `protobuf:"varint,5,opt,name=Type,proto3,enum=pb.AuthorityType_Enum" json:"Type,omitempty"`
// Status of the issuer
Status IssuerStatus_Enum `protobuf:"varint,6,opt,name=Status,proto3,enum=pb.IssuerStatus_Enum" json:"Status,omitempty"`
// ParentID of the issuer that signed this one; empty for roots and
// externally signed issuers
ParentID string `protobuf:"bytes,7,opt,name=ParentID,proto3" json:"ParentID,omitempty"`
// SKID provides Subject Key Identifier
SKID string `protobuf:"bytes,8,opt,name=SKID,proto3" json:"SKID,omitempty"`
// IKID provides Issuer Key Identifier
IKID string `protobuf:"bytes,9,opt,name=IKID,proto3" json:"IKID,omitempty"`
// SerialNumber of the issuer certificate
SerialNumber string `protobuf:"bytes,10,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"`
// Subject name
Subject string `protobuf:"bytes,11,opt,name=Subject,proto3" json:"Subject,omitempty"`
// Issuer name
Issuer string `protobuf:"bytes,12,opt,name=Issuer,proto3" json:"Issuer,omitempty"`
// Sha256 thumbprint of the certificate
Sha256 string `protobuf:"bytes,13,opt,name=Sha256,proto3" json:"Sha256,omitempty"`
// NotBefore in RFC3339 format
NotBefore string `protobuf:"bytes,14,opt,name=NotBefore,proto3" json:"NotBefore,omitempty"`
// NotAfter in RFC3339 format
NotAfter string `protobuf:"bytes,15,opt,name=NotAfter,proto3" json:"NotAfter,omitempty"`
// Certificate provides the issuer certificate in PEM format
Certificate string `protobuf:"bytes,16,opt,name=Certificate,proto3" json:"Certificate,omitempty"`
// Intermediates provides the intermediate CA certificates in PEM format
Intermediates string `protobuf:"bytes,17,opt,name=Intermediates,proto3" json:"Intermediates,omitempty"`
// Root provides the Root CA certificate in PEM format
Root string `protobuf:"bytes,18,opt,name=Root,proto3" json:"Root,omitempty"`
// Csr provides the PEM encoded CSR while the issuer is Pending
Csr string `protobuf:"bytes,19,opt,name=Csr,proto3" json:"Csr,omitempty"`
// KeyProvider is the crypto provider holding the private key
KeyProvider string `protobuf:"bytes,20,opt,name=KeyProvider,proto3" json:"KeyProvider,omitempty"`
// Config provides runtime settings
Config *IssuerConfig `protobuf:"bytes,21,opt,name=Config,proto3" json:"Config,omitempty"`
// Profiles specifies the list of profile labels the issuer supports
Profiles []string `protobuf:"bytes,22,rep,name=Profiles,proto3" json:"Profiles,omitempty"`
// CrlNumber is the last published CRL number
CrlNumber string `protobuf:"bytes,23,opt,name=CrlNumber,proto3" json:"CrlNumber,omitempty"`
// CreatedAt in RFC3339 format
CreatedAt string `protobuf:"bytes,24,opt,name=CreatedAt,proto3" json:"CreatedAt,omitempty"`
// UpdatedAt in RFC3339 format
UpdatedAt string `protobuf:"bytes,25,opt,name=UpdatedAt,proto3" json:"UpdatedAt,omitempty"`
// contains filtered or unexported fields
}
func (*Issuer) Descriptor
func (*Issuer) Descriptor() ([]byte, []int)
Deprecated: Use Issuer.ProtoReflect.Descriptor instead.
func (*Issuer) GetCertificate
func (x *Issuer) GetCertificate() string
func (*Issuer) GetConfig
func (x *Issuer) GetConfig() *IssuerConfig
func (*Issuer) GetCreatedAt
func (x *Issuer) GetCreatedAt() string
func (*Issuer) GetCrlNumber
func (x *Issuer) GetCrlNumber() string
func (*Issuer) GetCsr
func (x *Issuer) GetCsr() string
func (*Issuer) GetID
func (x *Issuer) GetID() string
func (*Issuer) GetIKID
func (x *Issuer) GetIKID() string
func (*Issuer) GetIntermediates
func (x *Issuer) GetIntermediates() string
func (*Issuer) GetIssuer
func (x *Issuer) GetIssuer() string
func (*Issuer) GetKeyProvider
func (x *Issuer) GetKeyProvider() string
func (*Issuer) GetLabel
func (x *Issuer) GetLabel() string
func (*Issuer) GetMessageDescription
func (m *Issuer) GetMessageDescription() *api.MessageDescription
func (*Issuer) GetNotAfter
func (x *Issuer) GetNotAfter() string
func (*Issuer) GetNotBefore
func (x *Issuer) GetNotBefore() string
func (*Issuer) GetOrgID
func (x *Issuer) GetOrgID() string
func (*Issuer) GetParentID
func (x *Issuer) GetParentID() string
func (*Issuer) GetProfiles
func (x *Issuer) GetProfiles() []string
func (*Issuer) GetProjectID
func (x *Issuer) GetProjectID() string
func (*Issuer) GetRoot
func (x *Issuer) GetRoot() string
func (*Issuer) GetSKID
func (x *Issuer) GetSKID() string
func (*Issuer) GetSerialNumber
func (x *Issuer) GetSerialNumber() string
func (*Issuer) GetSha256
func (x *Issuer) GetSha256() string
func (*Issuer) GetStatus
func (x *Issuer) GetStatus() IssuerStatus_Enum
func (*Issuer) GetSubject
func (x *Issuer) GetSubject() string
func (*Issuer) GetType
func (x *Issuer) GetType() AuthorityType_Enum
func (*Issuer) GetUpdatedAt
func (x *Issuer) GetUpdatedAt() string
func (*Issuer) MarshalJSON
func (msg *Issuer) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*Issuer) Print
func (r *Issuer) Print(w io.Writer)
func (*Issuer) ProtoMessage
func (*Issuer) ProtoMessage()
func (*Issuer) ProtoReflect
func (x *Issuer) ProtoReflect() protoreflect.Message
func (*Issuer) Reset
func (x *Issuer) Reset()
func (*Issuer) String
func (x *Issuer) String() string
func (*Issuer) UnmarshalJSON
func (msg *Issuer) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type IssuerConfig
IssuerConfig provides runtime settings of an issuer. The shape matches the `issuers[].aia` section of ca-config files. The URL templates name the issuer with `:ISSUER_ID`, which is replaced with the issuer's SKID. The API also accepts `${ISSUER_ID}`; a ca-config file cannot use it, since its loader expands `${...}` as an environment variable, and the bootstrap refuses such a file.
type IssuerConfig struct {
// AiaURL specifies a template for the AIA Issuer URL
AiaURL string `protobuf:"bytes,1,opt,name=AiaURL,proto3" json:"AiaURL,omitempty"`
// OcspURL specifies a template for the OCSP URL
OcspURL string `protobuf:"bytes,2,opt,name=OcspURL,proto3" json:"OcspURL,omitempty"`
// CrlURL specifies a template for the CRL Distribution Point URL
CrlURL string `protobuf:"bytes,3,opt,name=CrlURL,proto3" json:"CrlURL,omitempty"`
// CrlExpiry specifies the duration of CRL validity, e.g. 48h
CrlExpiry string `protobuf:"bytes,4,opt,name=CrlExpiry,proto3" json:"CrlExpiry,omitempty"`
// CrlRenewal specifies how long before NextUpdate the CRL is renewed
CrlRenewal string `protobuf:"bytes,5,opt,name=CrlRenewal,proto3" json:"CrlRenewal,omitempty"`
// OcspExpiry specifies the duration of OCSP response validity
OcspExpiry string `protobuf:"bytes,6,opt,name=OcspExpiry,proto3" json:"OcspExpiry,omitempty"`
// DelegatedOcspProfile specifies the profile to issue a delegated OCSP
// responder certificate; empty to sign OCSP with the issuer key
DelegatedOcspProfile string `protobuf:"bytes,7,opt,name=DelegatedOcspProfile,proto3" json:"DelegatedOcspProfile,omitempty"`
// AllowedProfiles restricts the profiles the issuer may sign.
// Required for profiles with IssuerLabel "*".
AllowedProfiles []string `protobuf:"bytes,8,rep,name=AllowedProfiles,proto3" json:"AllowedProfiles,omitempty"`
// OmitDisabledExtensions specifies to drop not allowed extensions
// instead of failing the request
OmitDisabledExtensions bool `protobuf:"varint,9,opt,name=OmitDisabledExtensions,proto3" json:"OmitDisabledExtensions,omitempty"`
// contains filtered or unexported fields
}
func (*IssuerConfig) Descriptor
func (*IssuerConfig) Descriptor() ([]byte, []int)
Deprecated: Use IssuerConfig.ProtoReflect.Descriptor instead.
func (*IssuerConfig) GetAiaURL
func (x *IssuerConfig) GetAiaURL() string
func (*IssuerConfig) GetAllowedProfiles
func (x *IssuerConfig) GetAllowedProfiles() []string
func (*IssuerConfig) GetCrlExpiry
func (x *IssuerConfig) GetCrlExpiry() string
func (*IssuerConfig) GetCrlRenewal
func (x *IssuerConfig) GetCrlRenewal() string
func (*IssuerConfig) GetCrlURL
func (x *IssuerConfig) GetCrlURL() string
func (*IssuerConfig) GetDelegatedOcspProfile
func (x *IssuerConfig) GetDelegatedOcspProfile() string
func (*IssuerConfig) GetOcspExpiry
func (x *IssuerConfig) GetOcspExpiry() string
func (*IssuerConfig) GetOcspURL
func (x *IssuerConfig) GetOcspURL() string
func (*IssuerConfig) GetOmitDisabledExtensions
func (x *IssuerConfig) GetOmitDisabledExtensions() bool
func (*IssuerConfig) MarshalJSON
func (msg *IssuerConfig) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*IssuerConfig) ProtoMessage
func (*IssuerConfig) ProtoMessage()
func (*IssuerConfig) ProtoReflect
func (x *IssuerConfig) ProtoReflect() protoreflect.Message
func (*IssuerConfig) Reset
func (x *IssuerConfig) Reset()
func (*IssuerConfig) String
func (x *IssuerConfig) String() string
func (*IssuerConfig) UnmarshalJSON
func (msg *IssuerConfig) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type IssuerInfo
IssuerInfo provides the public view of an issuer
type IssuerInfo struct {
// Label of the issuer
Label string `protobuf:"bytes,1,opt,name=Label,proto3" json:"Label,omitempty"`
// Type of the authority
Type AuthorityType_Enum `protobuf:"varint,2,opt,name=Type,proto3,enum=pb.AuthorityType_Enum" json:"Type,omitempty"`
// Status of the issuer
Status IssuerStatus_Enum `protobuf:"varint,3,opt,name=Status,proto3,enum=pb.IssuerStatus_Enum" json:"Status,omitempty"`
// SKID provides Subject Key Identifier
SKID string `protobuf:"bytes,4,opt,name=SKID,proto3" json:"SKID,omitempty"`
// Subject name
Subject string `protobuf:"bytes,5,opt,name=Subject,proto3" json:"Subject,omitempty"`
// NotBefore in RFC3339 format
NotBefore string `protobuf:"bytes,6,opt,name=NotBefore,proto3" json:"NotBefore,omitempty"`
// NotAfter in RFC3339 format
NotAfter string `protobuf:"bytes,7,opt,name=NotAfter,proto3" json:"NotAfter,omitempty"`
// Certificate provides the issuer certificate in PEM format
Certificate string `protobuf:"bytes,8,opt,name=Certificate,proto3" json:"Certificate,omitempty"`
// Intermediates provides the intermediate CA certificates in PEM format
Intermediates string `protobuf:"bytes,9,opt,name=Intermediates,proto3" json:"Intermediates,omitempty"`
// Root provides the Root CA certificate in PEM format
Root string `protobuf:"bytes,10,opt,name=Root,proto3" json:"Root,omitempty"`
// CrlURL is the CRL Distribution Point
CrlURL string `protobuf:"bytes,11,opt,name=CrlURL,proto3" json:"CrlURL,omitempty"`
// OcspURL is the OCSP responder URL
OcspURL string `protobuf:"bytes,12,opt,name=OcspURL,proto3" json:"OcspURL,omitempty"`
// AiaURL is the AIA issuer certificate URL
AiaURL string `protobuf:"bytes,13,opt,name=AiaURL,proto3" json:"AiaURL,omitempty"`
// contains filtered or unexported fields
}
func (*IssuerInfo) Descriptor
func (*IssuerInfo) Descriptor() ([]byte, []int)
Deprecated: Use IssuerInfo.ProtoReflect.Descriptor instead.
func (*IssuerInfo) GetAiaURL
func (x *IssuerInfo) GetAiaURL() string
func (*IssuerInfo) GetCertificate
func (x *IssuerInfo) GetCertificate() string
func (*IssuerInfo) GetCrlURL
func (x *IssuerInfo) GetCrlURL() string
func (*IssuerInfo) GetIntermediates
func (x *IssuerInfo) GetIntermediates() string
func (*IssuerInfo) GetLabel
func (x *IssuerInfo) GetLabel() string
func (*IssuerInfo) GetMessageDescription
func (m *IssuerInfo) GetMessageDescription() *api.MessageDescription
func (*IssuerInfo) GetNotAfter
func (x *IssuerInfo) GetNotAfter() string
func (*IssuerInfo) GetNotBefore
func (x *IssuerInfo) GetNotBefore() string
func (*IssuerInfo) GetOcspURL
func (x *IssuerInfo) GetOcspURL() string
func (*IssuerInfo) GetRoot
func (x *IssuerInfo) GetRoot() string
func (*IssuerInfo) GetSKID
func (x *IssuerInfo) GetSKID() string
func (*IssuerInfo) GetStatus
func (x *IssuerInfo) GetStatus() IssuerStatus_Enum
func (*IssuerInfo) GetSubject
func (x *IssuerInfo) GetSubject() string
func (*IssuerInfo) GetType
func (x *IssuerInfo) GetType() AuthorityType_Enum
func (*IssuerInfo) MarshalJSON
func (msg *IssuerInfo) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*IssuerInfo) Print
func (r *IssuerInfo) Print(w io.Writer)
func (*IssuerInfo) ProtoMessage
func (*IssuerInfo) ProtoMessage()
func (*IssuerInfo) ProtoReflect
func (x *IssuerInfo) ProtoReflect() protoreflect.Message
func (*IssuerInfo) Reset
func (x *IssuerInfo) Reset()
func (*IssuerInfo) String
func (x *IssuerInfo) String() string
func (*IssuerInfo) UnmarshalJSON
func (msg *IssuerInfo) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type IssuerSerial
IssuerSerial identifies a certificate by its issuer and serial number
type IssuerSerial struct {
// IKID provides Issuer Key Identifier
IKID string `protobuf:"bytes,1,opt,name=IKID,proto3" json:"IKID,omitempty"`
// SerialNumber provides certificate's serial number
SerialNumber string `protobuf:"bytes,2,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"`
// contains filtered or unexported fields
}
func (*IssuerSerial) Descriptor
func (*IssuerSerial) Descriptor() ([]byte, []int)
Deprecated: Use IssuerSerial.ProtoReflect.Descriptor instead.
func (*IssuerSerial) GetIKID
func (x *IssuerSerial) GetIKID() string
func (*IssuerSerial) GetSerialNumber
func (x *IssuerSerial) GetSerialNumber() string
func (*IssuerSerial) MarshalJSON
func (msg *IssuerSerial) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*IssuerSerial) ProtoMessage
func (*IssuerSerial) ProtoMessage()
func (*IssuerSerial) ProtoReflect
func (x *IssuerSerial) ProtoReflect() protoreflect.Message
func (*IssuerSerial) Reset
func (x *IssuerSerial) Reset()
func (*IssuerSerial) String
func (x *IssuerSerial) String() string
func (*IssuerSerial) UnmarshalJSON
func (msg *IssuerSerial) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type IssuerStatus
type IssuerStatus struct {
// contains filtered or unexported fields
}
func (*IssuerStatus) Descriptor
func (*IssuerStatus) Descriptor() ([]byte, []int)
Deprecated: Use IssuerStatus.ProtoReflect.Descriptor instead.
func (*IssuerStatus) MarshalJSON
func (msg *IssuerStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*IssuerStatus) ProtoMessage
func (*IssuerStatus) ProtoMessage()
func (*IssuerStatus) ProtoReflect
func (x *IssuerStatus) ProtoReflect() protoreflect.Message
func (*IssuerStatus) Reset
func (x *IssuerStatus) Reset()
func (*IssuerStatus) String
func (x *IssuerStatus) String() string
func (*IssuerStatus) UnmarshalJSON
func (msg *IssuerStatus) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type IssuerStatusCount
IssuerStatusCount is the number of issuers of a lifecycle status
type IssuerStatusCount struct {
// Status of the issuers
Status IssuerStatus_Enum `protobuf:"varint,1,opt,name=Status,proto3,enum=pb.IssuerStatus_Enum" json:"Status,omitempty"`
// Count of the issuers of the status
Count uint32 `protobuf:"varint,2,opt,name=Count,proto3" json:"Count,omitempty"`
// contains filtered or unexported fields
}
func (*IssuerStatusCount) Descriptor
func (*IssuerStatusCount) Descriptor() ([]byte, []int)
Deprecated: Use IssuerStatusCount.ProtoReflect.Descriptor instead.
func (*IssuerStatusCount) GetCount
func (x *IssuerStatusCount) GetCount() uint32
func (*IssuerStatusCount) GetStatus
func (x *IssuerStatusCount) GetStatus() IssuerStatus_Enum
func (*IssuerStatusCount) MarshalJSON
func (msg *IssuerStatusCount) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*IssuerStatusCount) ProtoMessage
func (*IssuerStatusCount) ProtoMessage()
func (*IssuerStatusCount) ProtoReflect
func (x *IssuerStatusCount) ProtoReflect() protoreflect.Message
func (*IssuerStatusCount) Reset
func (x *IssuerStatusCount) Reset()
func (*IssuerStatusCount) String
func (x *IssuerStatusCount) String() string
func (*IssuerStatusCount) UnmarshalJSON
func (msg *IssuerStatusCount) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type IssuerStatus\_Enum
IssuerStatus defines lifecycle status of an issuer
type IssuerStatus_Enum int32
const (
// Unknown indicates that the issuer status is unknown
IssuerStatus_Unknown IssuerStatus_Enum = 0
// Pending indicates that the key is generated and the CSR is awaiting
// an externally signed certificate
IssuerStatus_Pending IssuerStatus_Enum = 1
// Active indicates that the issuer signs certificates
IssuerStatus_Active IssuerStatus_Enum = 2
// Archived indicates that the issuer does not sign new certificates,
// but still serves CRL and OCSP for the issued ones
IssuerStatus_Archived IssuerStatus_Enum = 3
// Destroyed indicates that the private key is destroyed;
// CRL and OCSP are no longer produced
IssuerStatus_Destroyed IssuerStatus_Enum = 4
)
func (IssuerStatus_Enum) Describe
func (s IssuerStatus_Enum) Describe() map[IssuerStatus_Enum]*api.EnumMeta
Describe returns Enum meta information for all values
func (IssuerStatus_Enum) Descriptor
func (IssuerStatus_Enum) Descriptor() protoreflect.EnumDescriptor
func (IssuerStatus_Enum) DisplayName
func (s IssuerStatus_Enum) DisplayName() string
DisplayName returns display name of Enum value
func (IssuerStatus_Enum) DisplayNames
func (s IssuerStatus_Enum) DisplayNames() []string
DisplayNames returns display names of Enum bitflag value
func (IssuerStatus_Enum) DisplayNamesMap
func (s IssuerStatus_Enum) DisplayNamesMap() map[int32]string
DisplayNamesMap returns a map of enum display names
func (IssuerStatus_Enum) Enum
func (x IssuerStatus_Enum) Enum() *IssuerStatus_Enum
func (IssuerStatus_Enum) EnumDescriptor
func (IssuerStatus_Enum) EnumDescriptor() ([]byte, []int)
Deprecated: Use IssuerStatus_Enum.Descriptor instead.
func (IssuerStatus_Enum) Flags
func (s IssuerStatus_Enum) Flags() []IssuerStatus_Enum
Flags returns list of Enum values
func (IssuerStatus_Enum) FlagsInt
func (s IssuerStatus_Enum) FlagsInt() []int32
FlagsInt returns list of Enum values as int32
func (IssuerStatus_Enum) GetDescription
func (s IssuerStatus_Enum) GetDescription() *api.EnumDescription
GetDescription returns Enum description
func (IssuerStatus_Enum) Meta
func (s IssuerStatus_Enum) Meta() *api.EnumMeta
Meta returns Enum meta information
func (IssuerStatus_Enum) NamesMap
func (s IssuerStatus_Enum) NamesMap() map[int32]string
NamesMap returns map of enum names
func (IssuerStatus_Enum) Number
func (x IssuerStatus_Enum) Number() protoreflect.EnumNumber
func (IssuerStatus_Enum) Parse
func (_ IssuerStatus_Enum) Parse(val any) IssuerStatus_Enum
Parse returns Enum value parsed from val
func (IssuerStatus_Enum) String
func (x IssuerStatus_Enum) String() string
func (IssuerStatus_Enum) SupportedNames
func (s IssuerStatus_Enum) SupportedNames() string
SupportedNames returns string of supported Enum name concatenated by ","
func (IssuerStatus_Enum) Type
func (IssuerStatus_Enum) Type() protoreflect.EnumType
func (*IssuerStatus_Enum) UnmarshalJSON
func (s *IssuerStatus_Enum) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals Enum from JSON
func (*IssuerStatus_Enum) UnmarshalYAML
func (s *IssuerStatus_Enum) UnmarshalYAML(unmarshal func(any) error) error
UnmarshalYAML unmarshals Enum from YAML
func (IssuerStatus_Enum) ValueNames
func (s IssuerStatus_Enum) ValueNames() []string
ValueNames returns list of Enum value names
func (IssuerStatus_Enum) ValueString
func (s IssuerStatus_Enum) ValueString() string
ValueString returns string of Enum value names concatenated by ","
func (IssuerStatus_Enum) ValuesMap
func (s IssuerStatus_Enum) ValuesMap() map[string]int32
ValuesMap returns a map of enum values
type IssuerStatus\_EnumSlice
type IssuerStatus_EnumSlice []IssuerStatus_Enum
type IssuersResponse
IssuersResponse returns list of issuers
type IssuersResponse struct {
Issuers []*Issuer `protobuf:"bytes,1,rep,name=Issuers,proto3" json:"Issuers,omitempty"`
// NextPage specifies pagination information, if there are more pages to
// fetch. If there are no more pages to fetch, NextPage will be empty.
NextPage *NextPage `protobuf:"bytes,2,opt,name=NextPage,proto3" json:"NextPage,omitempty"`
// contains filtered or unexported fields
}
func (*IssuersResponse) Descriptor
func (*IssuersResponse) Descriptor() ([]byte, []int)
Deprecated: Use IssuersResponse.ProtoReflect.Descriptor instead.
func (*IssuersResponse) GetIssuers
func (x *IssuersResponse) GetIssuers() []*Issuer
func (*IssuersResponse) GetMessageDescription
func (m *IssuersResponse) GetMessageDescription() *api.MessageDescription
func (*IssuersResponse) GetNextPage
func (x *IssuersResponse) GetNextPage() *NextPage
func (*IssuersResponse) MarshalJSON
func (msg *IssuersResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*IssuersResponse) Print
func (r *IssuersResponse) Print(w io.Writer)
func (*IssuersResponse) ProtoMessage
func (*IssuersResponse) ProtoMessage()
func (*IssuersResponse) ProtoReflect
func (x *IssuersResponse) ProtoReflect() protoreflect.Message
func (*IssuersResponse) Reset
func (x *IssuersResponse) Reset()
func (*IssuersResponse) String
func (x *IssuersResponse) String() string
func (*IssuersResponse) UnmarshalJSON
func (msg *IssuersResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type ItemStatus
type ItemStatus struct {
// contains filtered or unexported fields
}
func (*ItemStatus) Descriptor
func (*ItemStatus) Descriptor() ([]byte, []int)
Deprecated: Use ItemStatus.ProtoReflect.Descriptor instead.
func (*ItemStatus) MarshalJSON
func (msg *ItemStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*ItemStatus) ProtoMessage
func (*ItemStatus) ProtoMessage()
func (*ItemStatus) ProtoReflect
func (x *ItemStatus) ProtoReflect() protoreflect.Message
func (*ItemStatus) Reset
func (x *ItemStatus) Reset()
func (*ItemStatus) String
func (x *ItemStatus) String() string
func (*ItemStatus) UnmarshalJSON
func (msg *ItemStatus) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type ItemStatus\_Enum
ItemStatus defines status constants for items
type ItemStatus_Enum int32
const (
// Unknown indicates that the status is unknown
ItemStatus_Unknown ItemStatus_Enum = 0
// Inactive indicates that the item is inactive or pending deletion
ItemStatus_Inactive ItemStatus_Enum = 1
// Active indicates that the item is active and ready to use
ItemStatus_Active ItemStatus_Enum = 2
// Invalid indicates that the item is invalid and needs an action to be
// taken
ItemStatus_Invalid ItemStatus_Enum = 4
)
func (ItemStatus_Enum) Describe
func (s ItemStatus_Enum) Describe() map[ItemStatus_Enum]*api.EnumMeta
Describe returns Enum meta information for all values
func (ItemStatus_Enum) Descriptor
func (ItemStatus_Enum) Descriptor() protoreflect.EnumDescriptor
func (ItemStatus_Enum) DisplayName
func (s ItemStatus_Enum) DisplayName() string
DisplayName returns display name of Enum value
func (ItemStatus_Enum) DisplayNames
func (s ItemStatus_Enum) DisplayNames() []string
DisplayNames returns display names of Enum bitflag value
func (ItemStatus_Enum) DisplayNamesMap
func (s ItemStatus_Enum) DisplayNamesMap() map[int32]string
DisplayNamesMap returns a map of enum display names
func (ItemStatus_Enum) Enum
func (x ItemStatus_Enum) Enum() *ItemStatus_Enum
func (ItemStatus_Enum) EnumDescriptor
func (ItemStatus_Enum) EnumDescriptor() ([]byte, []int)
Deprecated: Use ItemStatus_Enum.Descriptor instead.
func (ItemStatus_Enum) Flags
func (s ItemStatus_Enum) Flags() []ItemStatus_Enum
Flags returns list of Enum values
func (ItemStatus_Enum) FlagsInt
func (s ItemStatus_Enum) FlagsInt() []int32
FlagsInt returns list of Enum values as int32
func (ItemStatus_Enum) GetDescription
func (s ItemStatus_Enum) GetDescription() *api.EnumDescription
GetDescription returns Enum description
func (ItemStatus_Enum) Meta
func (s ItemStatus_Enum) Meta() *api.EnumMeta
Meta returns Enum meta information
func (ItemStatus_Enum) NamesMap
func (s ItemStatus_Enum) NamesMap() map[int32]string
NamesMap returns map of enum names
func (ItemStatus_Enum) Number
func (x ItemStatus_Enum) Number() protoreflect.EnumNumber
func (ItemStatus_Enum) Parse
func (_ ItemStatus_Enum) Parse(val any) ItemStatus_Enum
Parse returns Enum value parsed from val
func (ItemStatus_Enum) String
func (x ItemStatus_Enum) String() string
func (ItemStatus_Enum) SupportedNames
func (s ItemStatus_Enum) SupportedNames() string
SupportedNames returns string of supported Enum name concatenated by ","
func (ItemStatus_Enum) Type
func (ItemStatus_Enum) Type() protoreflect.EnumType
func (*ItemStatus_Enum) UnmarshalJSON
func (s *ItemStatus_Enum) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals Enum from JSON
func (*ItemStatus_Enum) UnmarshalYAML
func (s *ItemStatus_Enum) UnmarshalYAML(unmarshal func(any) error) error
UnmarshalYAML unmarshals Enum from YAML
func (ItemStatus_Enum) ValueNames
func (s ItemStatus_Enum) ValueNames() []string
ValueNames returns list of Enum value names
func (ItemStatus_Enum) ValueString
func (s ItemStatus_Enum) ValueString() string
ValueString returns string of Enum value names concatenated by ","
func (ItemStatus_Enum) ValuesMap
func (s ItemStatus_Enum) ValuesMap() map[string]int32
ValuesMap returns a map of enum values
type ItemStatus\_EnumSlice
type ItemStatus_EnumSlice []ItemStatus_Enum
type KVPair
KVPair provides generic key-value pair
type KVPair struct {
// Key is a key of the pair
Key string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
// Value is a value of the pair
Value string `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"`
// contains filtered or unexported fields
}
func FlatMap
func FlatMap(meta map[string]string) []*KVPair
func (*KVPair) Descriptor
func (*KVPair) Descriptor() ([]byte, []int)
Deprecated: Use KVPair.ProtoReflect.Descriptor instead.
func (*KVPair) GetKey
func (x *KVPair) GetKey() string
func (*KVPair) GetValue
func (x *KVPair) GetValue() string
func (*KVPair) MarshalJSON
func (msg *KVPair) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*KVPair) ProtoMessage
func (*KVPair) ProtoMessage()
func (*KVPair) ProtoReflect
func (x *KVPair) ProtoReflect() protoreflect.Message
func (*KVPair) Reset
func (x *KVPair) Reset()
func (*KVPair) String
func (x *KVPair) String() string
func (*KVPair) UnmarshalJSON
func (msg *KVPair) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type KVSet
KVSet provides groupped values under a common key
type KVSet struct {
// Key is a key of the set
Key string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
// Values is a list of values under the key
Values []string `protobuf:"bytes,2,rep,name=Values,proto3" json:"Values,omitempty"`
// contains filtered or unexported fields
}
func FlatKVSet
func FlatKVSet(meta map[string][]string) []*KVSet
func (*KVSet) Descriptor
func (*KVSet) Descriptor() ([]byte, []int)
Deprecated: Use KVSet.ProtoReflect.Descriptor instead.
func (*KVSet) GetKey
func (x *KVSet) GetKey() string
func (*KVSet) GetValues
func (x *KVSet) GetValues() []string
func (*KVSet) MarshalJSON
func (msg *KVSet) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*KVSet) ProtoMessage
func (*KVSet) ProtoMessage()
func (*KVSet) ProtoReflect
func (x *KVSet) ProtoReflect() protoreflect.Message
func (*KVSet) Reset
func (x *KVSet) Reset()
func (*KVSet) String
func (x *KVSet) String() string
func (*KVSet) UnmarshalJSON
func (msg *KVSet) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type KeySpec
KeySpec specifies the key to generate for an issuer
type KeySpec struct {
// Algo specifies the key algorithm: RSA|ECDSA
Algo string `protobuf:"bytes,1,opt,name=Algo,proto3" json:"Algo,omitempty"`
// Size specifies RSA key size in bits or ECDSA curve size: 256|384|521
Size int32 `protobuf:"varint,2,opt,name=Size,proto3" json:"Size,omitempty"`
// contains filtered or unexported fields
}
func (*KeySpec) Descriptor
func (*KeySpec) Descriptor() ([]byte, []int)
Deprecated: Use KeySpec.ProtoReflect.Descriptor instead.
func (*KeySpec) GetAlgo
func (x *KeySpec) GetAlgo() string
func (*KeySpec) GetSize
func (x *KeySpec) GetSize() int32
func (*KeySpec) MarshalJSON
func (msg *KeySpec) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*KeySpec) ProtoMessage
func (*KeySpec) ProtoMessage()
func (*KeySpec) ProtoReflect
func (x *KeySpec) ProtoReflect() protoreflect.Message
func (*KeySpec) Reset
func (x *KeySpec) Reset()
func (*KeySpec) String
func (x *KeySpec) String() string
func (*KeySpec) UnmarshalJSON
func (msg *KeySpec) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type ListAPIKeysRequest
type ListAPIKeysRequest struct {
// ProjectID is optional for project scope.
// If not provided, will use Org scope for the current token.
ProjectID string `protobuf:"bytes,1,opt,name=ProjectID,proto3" json:"ProjectID,omitempty"`
Status ItemStatus_Enum `protobuf:"varint,2,opt,name=Status,proto3,enum=pb.ItemStatus_Enum" json:"Status,omitempty"`
// contains filtered or unexported fields
}
func (*ListAPIKeysRequest) Descriptor
func (*ListAPIKeysRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAPIKeysRequest.ProtoReflect.Descriptor instead.
func (*ListAPIKeysRequest) GetProjectID
func (x *ListAPIKeysRequest) GetProjectID() string
func (*ListAPIKeysRequest) GetStatus
func (x *ListAPIKeysRequest) GetStatus() ItemStatus_Enum
func (*ListAPIKeysRequest) MarshalJSON
func (msg *ListAPIKeysRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*ListAPIKeysRequest) ProtoMessage
func (*ListAPIKeysRequest) ProtoMessage()
func (*ListAPIKeysRequest) ProtoReflect
func (x *ListAPIKeysRequest) ProtoReflect() protoreflect.Message
func (*ListAPIKeysRequest) Reset
func (x *ListAPIKeysRequest) Reset()
func (*ListAPIKeysRequest) String
func (x *ListAPIKeysRequest) String() string
func (*ListAPIKeysRequest) UnmarshalJSON
func (msg *ListAPIKeysRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*ListAPIKeysRequest) Validate
func (m *ListAPIKeysRequest) Validate(ctx context.Context) error
type ListCertificatesRequest
ListCertificatesRequest specifies a paginated list of certificates, sorted by ID descending (newest first)
type ListCertificatesRequest struct {
// ProjectID filters by project; empty returns org-wide and all project
// certificates
ProjectID string `protobuf:"bytes,2,opt,name=ProjectID,proto3" json:"ProjectID,omitempty"`
// IKID filters by issuer
IKID string `protobuf:"bytes,3,opt,name=IKID,proto3" json:"IKID,omitempty"`
// Profile filters by profile label
Profile string `protobuf:"bytes,4,opt,name=Profile,proto3" json:"Profile,omitempty"`
// Status filters by status; Unknown returns all
Status CertificateStatus_Enum `protobuf:"varint,5,opt,name=Status,proto3,enum=pb.CertificateStatus_Enum" json:"Status,omitempty"`
// ExpiringBefore filters certificates with NotAfter before the time,
// in RFC3339 format
ExpiringBefore string `protobuf:"bytes,6,opt,name=ExpiringBefore,proto3" json:"ExpiringBefore,omitempty"`
// Limit specifies maximum number of records to return
Limit uint32 `protobuf:"varint,7,opt,name=Limit,proto3" json:"Limit,omitempty"`
// Offset specifies offset for the offset-based pagination
Offset uint32 `protobuf:"varint,8,opt,name=Offset,proto3" json:"Offset,omitempty"`
// Cursor specifies cursor for the cursor-based pagination.
// Use "initial" to start the pagination or pass the cursor returned from
// the previous request.
Cursor string `protobuf:"bytes,9,opt,name=Cursor,proto3" json:"Cursor,omitempty"`
// contains filtered or unexported fields
}
func (*ListCertificatesRequest) Descriptor
func (*ListCertificatesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListCertificatesRequest.ProtoReflect.Descriptor instead.
func (*ListCertificatesRequest) GetCursor
func (x *ListCertificatesRequest) GetCursor() string
func (*ListCertificatesRequest) GetExpiringBefore
func (x *ListCertificatesRequest) GetExpiringBefore() string
func (*ListCertificatesRequest) GetIKID
func (x *ListCertificatesRequest) GetIKID() string
func (*ListCertificatesRequest) GetLimit
func (x *ListCertificatesRequest) GetLimit() uint32
func (*ListCertificatesRequest) GetOffset
func (x *ListCertificatesRequest) GetOffset() uint32
func (*ListCertificatesRequest) GetProfile
func (x *ListCertificatesRequest) GetProfile() string
func (*ListCertificatesRequest) GetProjectID
func (x *ListCertificatesRequest) GetProjectID() string
func (*ListCertificatesRequest) GetStatus
func (x *ListCertificatesRequest) GetStatus() CertificateStatus_Enum
func (*ListCertificatesRequest) MarshalJSON
func (msg *ListCertificatesRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*ListCertificatesRequest) ProtoMessage
func (*ListCertificatesRequest) ProtoMessage()
func (*ListCertificatesRequest) ProtoReflect
func (x *ListCertificatesRequest) ProtoReflect() protoreflect.Message
func (*ListCertificatesRequest) Reset
func (x *ListCertificatesRequest) Reset()
func (*ListCertificatesRequest) String
func (x *ListCertificatesRequest) String() string
func (*ListCertificatesRequest) UnmarshalJSON
func (msg *ListCertificatesRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*ListCertificatesRequest) Validate
func (m *ListCertificatesRequest) Validate(ctx context.Context) error
type ListEventsRequest
ListEventsRequest specifies a page of the audit events of the org selected in the token, newest first (Orgs.ListEvents); the list pages by cursor only
type ListEventsRequest struct {
// ProjectID limits the result to the events of the project, in which
// the caller needs a role; empty lists the events of the org the caller
// may see
ProjectID string `protobuf:"bytes,1,opt,name=ProjectID,proto3" json:"ProjectID,omitempty"`
// Type limits the result to one event type; Unknown returns every type
Type EventType_Enum `protobuf:"varint,2,opt,name=Type,proto3,enum=pb.EventType_Enum" json:"Type,omitempty"`
// After is the inclusive start of the CreatedAt range in RFC3339
// format; empty is unbounded
After string `protobuf:"bytes,3,opt,name=After,proto3" json:"After,omitempty"`
// Before is the exclusive end of the CreatedAt range in RFC3339 format,
// later than After; empty is unbounded
Before string `protobuf:"bytes,4,opt,name=Before,proto3" json:"Before,omitempty"`
// Limit specifies maximum number of records to return
Limit uint32 `protobuf:"varint,5,opt,name=Limit,proto3" json:"Limit,omitempty"`
// Cursor continues the listing: empty or "initial" returns the first
// page, the Cursor of the previous NextPage the page after it
Cursor string `protobuf:"bytes,6,opt,name=Cursor,proto3" json:"Cursor,omitempty"`
// contains filtered or unexported fields
}
func (*ListEventsRequest) Descriptor
func (*ListEventsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListEventsRequest.ProtoReflect.Descriptor instead.
func (*ListEventsRequest) GetAfter
func (x *ListEventsRequest) GetAfter() string
func (*ListEventsRequest) GetBefore
func (x *ListEventsRequest) GetBefore() string
func (*ListEventsRequest) GetCursor
func (x *ListEventsRequest) GetCursor() string
func (*ListEventsRequest) GetLimit
func (x *ListEventsRequest) GetLimit() uint32
func (*ListEventsRequest) GetProjectID
func (x *ListEventsRequest) GetProjectID() string
func (*ListEventsRequest) GetType
func (x *ListEventsRequest) GetType() EventType_Enum
func (*ListEventsRequest) MarshalJSON
func (msg *ListEventsRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*ListEventsRequest) ProtoMessage
func (*ListEventsRequest) ProtoMessage()
func (*ListEventsRequest) ProtoReflect
func (x *ListEventsRequest) ProtoReflect() protoreflect.Message
func (*ListEventsRequest) Reset
func (x *ListEventsRequest) Reset()
func (*ListEventsRequest) String
func (x *ListEventsRequest) String() string
func (*ListEventsRequest) UnmarshalJSON
func (msg *ListEventsRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*ListEventsRequest) Validate
func (m *ListEventsRequest) Validate(ctx context.Context) error
type ListIssuersRequest
ListIssuersRequest specifies a paginated list of issuers
type ListIssuersRequest struct {
// ProjectID filters by project; empty returns org-wide and all project
// issuers
ProjectID string `protobuf:"bytes,2,opt,name=ProjectID,proto3" json:"ProjectID,omitempty"`
// Status filters by status; Unknown returns all
Status IssuerStatus_Enum `protobuf:"varint,3,opt,name=Status,proto3,enum=pb.IssuerStatus_Enum" json:"Status,omitempty"`
// Type filters by authority type; Unknown returns all
Type AuthorityType_Enum `protobuf:"varint,4,opt,name=Type,proto3,enum=pb.AuthorityType_Enum" json:"Type,omitempty"`
// Limit specifies maximum number of records to return
Limit uint32 `protobuf:"varint,5,opt,name=Limit,proto3" json:"Limit,omitempty"`
// Offset specifies offset for the offset-based pagination
Offset uint32 `protobuf:"varint,6,opt,name=Offset,proto3" json:"Offset,omitempty"`
// Cursor specifies cursor for the cursor-based pagination.
// Use "initial" to start the pagination or pass the cursor returned from
// the previous request.
Cursor string `protobuf:"bytes,7,opt,name=Cursor,proto3" json:"Cursor,omitempty"`
// IDs limits the result to the issuers with the IDs, at most 500: the
// issuers of a page of certificates in one call. An issuer outside the
// scope of the request is not returned.
IDs []string `protobuf:"bytes,8,rep,name=IDs,proto3" json:"IDs,omitempty"`
// IKIDs limits the result to the issuers with the key identifiers, as
// the certificates they issued carry them (the SKID of the issuer), at
// most 500: the labels of the issuers of a page of certificates in one
// call
IKIDs []string `protobuf:"bytes,9,rep,name=IKIDs,proto3" json:"IKIDs,omitempty"`
// contains filtered or unexported fields
}
func (*ListIssuersRequest) Descriptor
func (*ListIssuersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListIssuersRequest.ProtoReflect.Descriptor instead.
func (*ListIssuersRequest) GetCursor
func (x *ListIssuersRequest) GetCursor() string
func (*ListIssuersRequest) GetIDs
func (x *ListIssuersRequest) GetIDs() []string
func (*ListIssuersRequest) GetIKIDs
func (x *ListIssuersRequest) GetIKIDs() []string
func (*ListIssuersRequest) GetLimit
func (x *ListIssuersRequest) GetLimit() uint32
func (*ListIssuersRequest) GetOffset
func (x *ListIssuersRequest) GetOffset() uint32
func (*ListIssuersRequest) GetProjectID
func (x *ListIssuersRequest) GetProjectID() string
func (*ListIssuersRequest) GetStatus
func (x *ListIssuersRequest) GetStatus() IssuerStatus_Enum
func (*ListIssuersRequest) GetType
func (x *ListIssuersRequest) GetType() AuthorityType_Enum
func (*ListIssuersRequest) MarshalJSON
func (msg *ListIssuersRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*ListIssuersRequest) ProtoMessage
func (*ListIssuersRequest) ProtoMessage()
func (*ListIssuersRequest) ProtoReflect
func (x *ListIssuersRequest) ProtoReflect() protoreflect.Message
func (*ListIssuersRequest) Reset
func (x *ListIssuersRequest) Reset()
func (*ListIssuersRequest) String
func (x *ListIssuersRequest) String() string
func (*ListIssuersRequest) UnmarshalJSON
func (msg *ListIssuersRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*ListIssuersRequest) Validate
func (m *ListIssuersRequest) Validate(ctx context.Context) error
type ListProfilesRequest
ListProfilesRequest specifies a paginated list of profiles
type ListProfilesRequest struct {
// ProjectID filters by project; empty returns org-wide and all project
// profiles
ProjectID string `protobuf:"bytes,2,opt,name=ProjectID,proto3" json:"ProjectID,omitempty"`
// IssuerLabel filters by issuer label
IssuerLabel string `protobuf:"bytes,3,opt,name=IssuerLabel,proto3" json:"IssuerLabel,omitempty"`
// Limit specifies maximum number of records to return
Limit uint32 `protobuf:"varint,4,opt,name=Limit,proto3" json:"Limit,omitempty"`
// Offset specifies offset for the offset-based pagination
Offset uint32 `protobuf:"varint,5,opt,name=Offset,proto3" json:"Offset,omitempty"`
// Cursor specifies cursor for the cursor-based pagination
Cursor string `protobuf:"bytes,6,opt,name=Cursor,proto3" json:"Cursor,omitempty"`
// IDs limits the result to the profiles with the IDs, at most 500. A
// profile outside the scope of the request is not returned.
IDs []string `protobuf:"bytes,7,rep,name=IDs,proto3" json:"IDs,omitempty"`
// Labels limits the result to the profiles with the labels, in every
// scope the request covers, at most 500: the profiles of a page of
// certificates in one call
Labels []string `protobuf:"bytes,8,rep,name=Labels,proto3" json:"Labels,omitempty"`
// contains filtered or unexported fields
}
func (*ListProfilesRequest) Descriptor
func (*ListProfilesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListProfilesRequest.ProtoReflect.Descriptor instead.
func (*ListProfilesRequest) GetCursor
func (x *ListProfilesRequest) GetCursor() string
func (*ListProfilesRequest) GetIDs
func (x *ListProfilesRequest) GetIDs() []string
func (*ListProfilesRequest) GetIssuerLabel
func (x *ListProfilesRequest) GetIssuerLabel() string
func (*ListProfilesRequest) GetLabels
func (x *ListProfilesRequest) GetLabels() []string
func (*ListProfilesRequest) GetLimit
func (x *ListProfilesRequest) GetLimit() uint32
func (*ListProfilesRequest) GetOffset
func (x *ListProfilesRequest) GetOffset() uint32
func (*ListProfilesRequest) GetProjectID
func (x *ListProfilesRequest) GetProjectID() string
func (*ListProfilesRequest) MarshalJSON
func (msg *ListProfilesRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*ListProfilesRequest) ProtoMessage
func (*ListProfilesRequest) ProtoMessage()
func (*ListProfilesRequest) ProtoReflect
func (x *ListProfilesRequest) ProtoReflect() protoreflect.Message
func (*ListProfilesRequest) Reset
func (x *ListProfilesRequest) Reset()
func (*ListProfilesRequest) String
func (x *ListProfilesRequest) String() string
func (*ListProfilesRequest) UnmarshalJSON
func (msg *ListProfilesRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*ListProfilesRequest) Validate
func (m *ListProfilesRequest) Validate(ctx context.Context) error
type ListProjectsRequest
ListProjectsRequest specifies a paginated list of projects
type ListProjectsRequest struct {
// Status filters by status; Unknown returns all
Status ItemStatus_Enum `protobuf:"varint,1,opt,name=Status,proto3,enum=pb.ItemStatus_Enum" json:"Status,omitempty"`
// Limit specifies maximum number of records to return
Limit uint32 `protobuf:"varint,2,opt,name=Limit,proto3" json:"Limit,omitempty"`
// Offset specifies offset for the offset-based pagination
Offset uint32 `protobuf:"varint,3,opt,name=Offset,proto3" json:"Offset,omitempty"`
// Cursor specifies cursor for the cursor-based pagination
Cursor string `protobuf:"bytes,4,opt,name=Cursor,proto3" json:"Cursor,omitempty"`
// contains filtered or unexported fields
}
func (*ListProjectsRequest) Descriptor
func (*ListProjectsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListProjectsRequest.ProtoReflect.Descriptor instead.
func (*ListProjectsRequest) GetCursor
func (x *ListProjectsRequest) GetCursor() string
func (*ListProjectsRequest) GetLimit
func (x *ListProjectsRequest) GetLimit() uint32
func (*ListProjectsRequest) GetOffset
func (x *ListProjectsRequest) GetOffset() uint32
func (*ListProjectsRequest) GetStatus
func (x *ListProjectsRequest) GetStatus() ItemStatus_Enum
func (*ListProjectsRequest) MarshalJSON
func (msg *ListProjectsRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*ListProjectsRequest) ProtoMessage
func (*ListProjectsRequest) ProtoMessage()
func (*ListProjectsRequest) ProtoReflect
func (x *ListProjectsRequest) ProtoReflect() protoreflect.Message
func (*ListProjectsRequest) Reset
func (x *ListProjectsRequest) Reset()
func (*ListProjectsRequest) String
func (x *ListProjectsRequest) String() string
func (*ListProjectsRequest) UnmarshalJSON
func (msg *ListProjectsRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*ListProjectsRequest) Validate
func (m *ListProjectsRequest) Validate(ctx context.Context) error
type ListRevokedCertificatesRequest
ListRevokedCertificatesRequest specifies a paginated list of revoked certificates, sorted by revocation ID descending
type ListRevokedCertificatesRequest struct {
// ProjectID filters by project
ProjectID string `protobuf:"bytes,2,opt,name=ProjectID,proto3" json:"ProjectID,omitempty"`
// IKID filters by issuer
IKID string `protobuf:"bytes,3,opt,name=IKID,proto3" json:"IKID,omitempty"`
// Limit specifies maximum number of records to return
Limit uint32 `protobuf:"varint,4,opt,name=Limit,proto3" json:"Limit,omitempty"`
// Offset specifies offset for the offset-based pagination
Offset uint32 `protobuf:"varint,5,opt,name=Offset,proto3" json:"Offset,omitempty"`
// Cursor specifies cursor for the cursor-based pagination
Cursor string `protobuf:"bytes,6,opt,name=Cursor,proto3" json:"Cursor,omitempty"`
// contains filtered or unexported fields
}
func (*ListRevokedCertificatesRequest) Descriptor
func (*ListRevokedCertificatesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRevokedCertificatesRequest.ProtoReflect.Descriptor instead.
func (*ListRevokedCertificatesRequest) GetCursor
func (x *ListRevokedCertificatesRequest) GetCursor() string
func (*ListRevokedCertificatesRequest) GetIKID
func (x *ListRevokedCertificatesRequest) GetIKID() string
func (*ListRevokedCertificatesRequest) GetLimit
func (x *ListRevokedCertificatesRequest) GetLimit() uint32
func (*ListRevokedCertificatesRequest) GetOffset
func (x *ListRevokedCertificatesRequest) GetOffset() uint32
func (*ListRevokedCertificatesRequest) GetProjectID
func (x *ListRevokedCertificatesRequest) GetProjectID() string
func (*ListRevokedCertificatesRequest) MarshalJSON
func (msg *ListRevokedCertificatesRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*ListRevokedCertificatesRequest) ProtoMessage
func (*ListRevokedCertificatesRequest) ProtoMessage()
func (*ListRevokedCertificatesRequest) ProtoReflect
func (x *ListRevokedCertificatesRequest) ProtoReflect() protoreflect.Message
func (*ListRevokedCertificatesRequest) Reset
func (x *ListRevokedCertificatesRequest) Reset()
func (*ListRevokedCertificatesRequest) String
func (x *ListRevokedCertificatesRequest) String() string
func (*ListRevokedCertificatesRequest) UnmarshalJSON
func (msg *ListRevokedCertificatesRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*ListRevokedCertificatesRequest) Validate
func (m *ListRevokedCertificatesRequest) Validate(ctx context.Context) error
type ListRootsRequest
ListRootsRequest specifies a list of trust anchors
type ListRootsRequest struct {
// Limit specifies maximum number of records to return
Limit uint32 `protobuf:"varint,2,opt,name=Limit,proto3" json:"Limit,omitempty"`
// Offset specifies offset for the offset-based pagination
Offset uint32 `protobuf:"varint,3,opt,name=Offset,proto3" json:"Offset,omitempty"`
// Cursor specifies cursor for the cursor-based pagination
Cursor string `protobuf:"bytes,4,opt,name=Cursor,proto3" json:"Cursor,omitempty"`
// contains filtered or unexported fields
}
func (*ListRootsRequest) Descriptor
func (*ListRootsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRootsRequest.ProtoReflect.Descriptor instead.
func (*ListRootsRequest) GetCursor
func (x *ListRootsRequest) GetCursor() string
func (*ListRootsRequest) GetLimit
func (x *ListRootsRequest) GetLimit() uint32
func (*ListRootsRequest) GetOffset
func (x *ListRootsRequest) GetOffset() uint32
func (*ListRootsRequest) MarshalJSON
func (msg *ListRootsRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*ListRootsRequest) ProtoMessage
func (*ListRootsRequest) ProtoMessage()
func (*ListRootsRequest) ProtoReflect
func (x *ListRootsRequest) ProtoReflect() protoreflect.Message
func (*ListRootsRequest) Reset
func (x *ListRootsRequest) Reset()
func (*ListRootsRequest) String
func (x *ListRootsRequest) String() string
func (*ListRootsRequest) UnmarshalJSON
func (msg *ListRootsRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*ListRootsRequest) Validate
func (m *ListRootsRequest) Validate(ctx context.Context) error
type LoginInfo
LoginInfo provides basic info about user login
type LoginInfo struct {
ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
ExternalID string `protobuf:"bytes,2,opt,name=ExternalID,proto3" json:"ExternalID,omitempty"`
Provider IDP_Enum `protobuf:"varint,3,opt,name=Provider,proto3,enum=pb.IDP_Enum" json:"Provider,omitempty"`
Name string `protobuf:"bytes,4,opt,name=Name,proto3" json:"Name,omitempty"`
Email string `protobuf:"bytes,5,opt,name=Email,proto3" json:"Email,omitempty"`
EmailVerified bool `protobuf:"varint,6,opt,name=EmailVerified,proto3" json:"EmailVerified,omitempty"`
LoginCount uint32 `protobuf:"varint,7,opt,name=LoginCount,proto3" json:"LoginCount,omitempty"`
LastLoginAt string `protobuf:"bytes,8,opt,name=LastLoginAt,proto3" json:"LastLoginAt,omitempty"`
// contains filtered or unexported fields
}
func (*LoginInfo) Descriptor
func (*LoginInfo) Descriptor() ([]byte, []int)
Deprecated: Use LoginInfo.ProtoReflect.Descriptor instead.
func (*LoginInfo) GetEmail
func (x *LoginInfo) GetEmail() string
func (*LoginInfo) GetEmailVerified
func (x *LoginInfo) GetEmailVerified() bool
func (*LoginInfo) GetExternalID
func (x *LoginInfo) GetExternalID() string
func (*LoginInfo) GetID
func (x *LoginInfo) GetID() string
func (*LoginInfo) GetLastLoginAt
func (x *LoginInfo) GetLastLoginAt() string
func (*LoginInfo) GetLoginCount
func (x *LoginInfo) GetLoginCount() uint32
func (*LoginInfo) GetName
func (x *LoginInfo) GetName() string
func (*LoginInfo) GetProvider
func (x *LoginInfo) GetProvider() IDP_Enum
func (*LoginInfo) MarshalJSON
func (msg *LoginInfo) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*LoginInfo) ProtoMessage
func (*LoginInfo) ProtoMessage()
func (*LoginInfo) ProtoReflect
func (x *LoginInfo) ProtoReflect() protoreflect.Message
func (*LoginInfo) Reset
func (x *LoginInfo) Reset()
func (*LoginInfo) String
func (x *LoginInfo) String() string
func (*LoginInfo) UnmarshalJSON
func (msg *LoginInfo) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type MembersResponse
MembersResponse provides list of members and invites
type MembersResponse struct {
Memberships []*Membership `protobuf:"bytes,1,rep,name=Memberships,proto3" json:"Memberships,omitempty"`
Invites []*Invite `protobuf:"bytes,2,rep,name=Invites,proto3" json:"Invites,omitempty"`
// contains filtered or unexported fields
}
func (*MembersResponse) Descriptor
func (*MembersResponse) Descriptor() ([]byte, []int)
Deprecated: Use MembersResponse.ProtoReflect.Descriptor instead.
func (*MembersResponse) GetInvites
func (x *MembersResponse) GetInvites() []*Invite
func (*MembersResponse) GetMemberships
func (x *MembersResponse) GetMemberships() []*Membership
func (*MembersResponse) GetMessageDescription
func (m *MembersResponse) GetMessageDescription() *api.MessageDescription
func (*MembersResponse) MarshalJSON
func (msg *MembersResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*MembersResponse) Print
func (r *MembersResponse) Print(w io.Writer)
func (*MembersResponse) ProtoMessage
func (*MembersResponse) ProtoMessage()
func (*MembersResponse) ProtoReflect
func (x *MembersResponse) ProtoReflect() protoreflect.Message
func (*MembersResponse) Reset
func (x *MembersResponse) Reset()
func (*MembersResponse) String
func (x *MembersResponse) String() string
func (*MembersResponse) UnmarshalJSON
func (msg *MembersResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type Membership
Membership is an explicit role assignment (grant). Org scope grant (empty ProjectID) is inherited by every project of the org. Project scope grant applies to the project only; grants are additive.
type Membership struct {
ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
OrgID string `protobuf:"bytes,2,opt,name=OrgID,proto3" json:"OrgID,omitempty"`
OrgAlias string `protobuf:"bytes,3,opt,name=OrgAlias,proto3" json:"OrgAlias,omitempty"`
OrgName string `protobuf:"bytes,4,opt,name=OrgName,proto3" json:"OrgName,omitempty"`
UserID string `protobuf:"bytes,5,opt,name=UserID,proto3" json:"UserID,omitempty"`
Name string `protobuf:"bytes,6,opt,name=Name,proto3" json:"Name,omitempty"`
Email string `protobuf:"bytes,7,opt,name=Email,proto3" json:"Email,omitempty"`
Role Role_Enum `protobuf:"varint,8,opt,name=Role,proto3,enum=pb.Role_Enum" json:"Role,omitempty"`
CreatedAt string `protobuf:"bytes,9,opt,name=CreatedAt,proto3" json:"CreatedAt,omitempty"`
// Scope of the grant: Org or Project
Scope Scope_Enum `protobuf:"varint,10,opt,name=Scope,proto3,enum=pb.Scope_Enum" json:"Scope,omitempty"`
// ProjectID is set for Project scope grants
ProjectID string `protobuf:"bytes,11,opt,name=ProjectID,proto3" json:"ProjectID,omitempty"`
ProjectAlias string `protobuf:"bytes,12,opt,name=ProjectAlias,proto3" json:"ProjectAlias,omitempty"`
ProjectName string `protobuf:"bytes,13,opt,name=ProjectName,proto3" json:"ProjectName,omitempty"`
// contains filtered or unexported fields
}
func (*Membership) Descriptor
func (*Membership) Descriptor() ([]byte, []int)
Deprecated: Use Membership.ProtoReflect.Descriptor instead.
func (*Membership) GetCreatedAt
func (x *Membership) GetCreatedAt() string
func (*Membership) GetEmail
func (x *Membership) GetEmail() string
func (*Membership) GetID
func (x *Membership) GetID() string
func (*Membership) GetMessageDescription
func (m *Membership) GetMessageDescription() *api.MessageDescription
func (*Membership) GetName
func (x *Membership) GetName() string
func (*Membership) GetOrgAlias
func (x *Membership) GetOrgAlias() string
func (*Membership) GetOrgID
func (x *Membership) GetOrgID() string
func (*Membership) GetOrgName
func (x *Membership) GetOrgName() string
func (*Membership) GetProjectAlias
func (x *Membership) GetProjectAlias() string
func (*Membership) GetProjectID
func (x *Membership) GetProjectID() string
func (*Membership) GetProjectName
func (x *Membership) GetProjectName() string
func (*Membership) GetRole
func (x *Membership) GetRole() Role_Enum
func (*Membership) GetScope
func (x *Membership) GetScope() Scope_Enum
func (*Membership) GetUserID
func (x *Membership) GetUserID() string
func (*Membership) MarshalJSON
func (msg *Membership) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*Membership) Print
func (r *Membership) Print(w io.Writer)
func (*Membership) ProtoMessage
func (*Membership) ProtoMessage()
func (*Membership) ProtoReflect
func (x *Membership) ProtoReflect() protoreflect.Message
func (*Membership) Reset
func (x *Membership) Reset()
func (*Membership) String
func (x *Membership) String() string
func (*Membership) UnmarshalJSON
func (msg *Membership) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type MessageAllocator
MessageAllocator defines constructor to allocate Protobuf message
type MessageAllocator func() any
type MethodAccess
MethodAccess describes the access rules of a method and whether the caller satisfies them at org scope
type MethodAccess struct {
// Method is the full method name
Method string `protobuf:"bytes,1,opt,name=Method,proto3" json:"Method,omitempty"`
// AllowedRoles are the minimum roles at Org or Project scope; a caller with
// a role that can assume any of them is allowed. Empty means any
// authenticated caller.
AllowedRoles []string `protobuf:"bytes,2,rep,name=AllowedRoles,proto3" json:"AllowedRoles,omitempty"`
// Scopes are required from an API key or a token with a scope claim
Scopes []string `protobuf:"bytes,3,rep,name=Scopes,proto3" json:"Scopes,omitempty"`
// Allowed is true when the caller may call the method at org scope
Allowed bool `protobuf:"varint,4,opt,name=Allowed,proto3" json:"Allowed,omitempty"`
// contains filtered or unexported fields
}
func (*MethodAccess) Descriptor
func (*MethodAccess) Descriptor() ([]byte, []int)
Deprecated: Use MethodAccess.ProtoReflect.Descriptor instead.
func (*MethodAccess) GetAllowed
func (x *MethodAccess) GetAllowed() bool
func (*MethodAccess) GetAllowedRoles
func (x *MethodAccess) GetAllowedRoles() []string
func (*MethodAccess) GetMethod
func (x *MethodAccess) GetMethod() string
func (*MethodAccess) GetScopes
func (x *MethodAccess) GetScopes() []string
func (*MethodAccess) MarshalJSON
func (msg *MethodAccess) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*MethodAccess) ProtoMessage
func (*MethodAccess) ProtoMessage()
func (*MethodAccess) ProtoReflect
func (x *MethodAccess) ProtoReflect() protoreflect.Message
func (*MethodAccess) Reset
func (x *MethodAccess) Reset()
func (*MethodAccess) String
func (x *MethodAccess) String() string
func (*MethodAccess) UnmarshalJSON
func (msg *MethodAccess) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type MethodInfo
MethodInfo provides info about RPC method
type MethodInfo struct {
Allocator RequestAllocator
AllowedRoles []string
Scopes []string
CliCmd string
RefreshInterval uint32
}
func GetMethodInfo
func GetMethodInfo(method string) *MethodInfo
GetMethodInfo returns MethodInfo
func UnmarshalRequest
func UnmarshalRequest(w http.ResponseWriter, r *http.Request) (any, *MethodInfo, error)
UnmarshalRequest unmarshals JSON body of HTTP request to protobuf request
type NextPage
NextPage specifies pagination information, if there are more pages to fetch.
type NextPage struct {
// Offset is the offset of the next page for offset-based pagination.
// Offset is limited to 10000.
// To paginate for large number of records, use cursor-based pagination
// instead.
Offset uint32 `protobuf:"varint,1,opt,name=Offset,proto3" json:"Offset,omitempty"`
// Cursor is the cursor of the next page for cursor-based pagination.
// Use "initial" to start the pagination or pass the cursor returned from
// this response.
Cursor string `protobuf:"bytes,2,opt,name=Cursor,proto3" json:"Cursor,omitempty"`
// contains filtered or unexported fields
}
func (*NextPage) Descriptor
func (*NextPage) Descriptor() ([]byte, []int)
Deprecated: Use NextPage.ProtoReflect.Descriptor instead.
func (*NextPage) GetCursor
func (x *NextPage) GetCursor() string
func (*NextPage) GetOffset
func (x *NextPage) GetOffset() uint32
func (*NextPage) MarshalJSON
func (msg *NextPage) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*NextPage) ProtoMessage
func (*NextPage) ProtoMessage()
func (*NextPage) ProtoReflect
func (x *NextPage) ProtoReflect() protoreflect.Message
func (*NextPage) Reset
func (x *NextPage) Reset()
func (*NextPage) String
func (x *NextPage) String() string
func (*NextPage) UnmarshalJSON
func (msg *NextPage) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type OCSPRequest
OCSPRequest provides DER encoded OCSP request
type OCSPRequest struct {
// Der provides DER encoded request
Der []byte `protobuf:"bytes,1,opt,name=Der,proto3" json:"Der,omitempty"`
// contains filtered or unexported fields
}
func (*OCSPRequest) Descriptor
func (*OCSPRequest) Descriptor() ([]byte, []int)
Deprecated: Use OCSPRequest.ProtoReflect.Descriptor instead.
func (*OCSPRequest) GetDer
func (x *OCSPRequest) GetDer() []byte
func (*OCSPRequest) MarshalJSON
func (msg *OCSPRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*OCSPRequest) ProtoMessage
func (*OCSPRequest) ProtoMessage()
func (*OCSPRequest) ProtoReflect
func (x *OCSPRequest) ProtoReflect() protoreflect.Message
func (*OCSPRequest) Reset
func (x *OCSPRequest) Reset()
func (*OCSPRequest) String
func (x *OCSPRequest) String() string
func (*OCSPRequest) UnmarshalJSON
func (msg *OCSPRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*OCSPRequest) Validate
func (m *OCSPRequest) Validate(ctx context.Context) error
type OCSPResponse
OCSPResponse returns DER encoded OCSP response
type OCSPResponse struct {
// Der provides DER encoded response
Der []byte `protobuf:"bytes,1,opt,name=Der,proto3" json:"Der,omitempty"`
// contains filtered or unexported fields
}
func (*OCSPResponse) Descriptor
func (*OCSPResponse) Descriptor() ([]byte, []int)
Deprecated: Use OCSPResponse.ProtoReflect.Descriptor instead.
func (*OCSPResponse) GetDer
func (x *OCSPResponse) GetDer() []byte
func (*OCSPResponse) GetMessageDescription
func (m *OCSPResponse) GetMessageDescription() *api.MessageDescription
func (*OCSPResponse) MarshalJSON
func (msg *OCSPResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*OCSPResponse) ProtoMessage
func (*OCSPResponse) ProtoMessage()
func (*OCSPResponse) ProtoReflect
func (x *OCSPResponse) ProtoReflect() protoreflect.Message
func (*OCSPResponse) Reset
func (x *OCSPResponse) Reset()
func (*OCSPResponse) String
func (x *OCSPResponse) String() string
func (*OCSPResponse) UnmarshalJSON
func (msg *OCSPResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type Org
type Org struct {
ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
Alias string `protobuf:"bytes,2,opt,name=Alias,proto3" json:"Alias,omitempty"`
Name string `protobuf:"bytes,3,opt,name=Name,proto3" json:"Name,omitempty"`
Description string `protobuf:"bytes,4,opt,name=Description,proto3" json:"Description,omitempty"`
CreatedAt string `protobuf:"bytes,5,opt,name=CreatedAt,proto3" json:"CreatedAt,omitempty"`
Status ItemStatus_Enum `protobuf:"varint,6,opt,name=Status,proto3,enum=pb.ItemStatus_Enum" json:"Status,omitempty"`
// contains filtered or unexported fields
}
func (*Org) Descriptor
func (*Org) Descriptor() ([]byte, []int)
Deprecated: Use Org.ProtoReflect.Descriptor instead.
func (*Org) GetAlias
func (x *Org) GetAlias() string
func (*Org) GetCreatedAt
func (x *Org) GetCreatedAt() string
func (*Org) GetDescription
func (x *Org) GetDescription() string
func (*Org) GetID
func (x *Org) GetID() string
func (*Org) GetMessageDescription
func (m *Org) GetMessageDescription() *api.MessageDescription
func (*Org) GetName
func (x *Org) GetName() string
func (*Org) GetStatus
func (x *Org) GetStatus() ItemStatus_Enum
func (*Org) MarshalJSON
func (msg *Org) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*Org) Print
func (r *Org) Print(w io.Writer)
func (*Org) ProtoMessage
func (*Org) ProtoMessage()
func (*Org) ProtoReflect
func (x *Org) ProtoReflect() protoreflect.Message
func (*Org) Reset
func (x *Org) Reset()
func (*Org) String
func (x *Org) String() string
func (*Org) UnmarshalJSON
func (msg *Org) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type OrgAccess
OrgAccess provides the resolved access of a user to an org
type OrgAccess struct {
OrgID string `protobuf:"bytes,1,opt,name=OrgID,proto3" json:"OrgID,omitempty"`
OrgAlias string `protobuf:"bytes,2,opt,name=OrgAlias,proto3" json:"OrgAlias,omitempty"`
OrgName string `protobuf:"bytes,3,opt,name=OrgName,proto3" json:"OrgName,omitempty"`
// Role is the resolved org role: the explicit org-wide role, or Viewer
// when the user only has project grants
Role Role_Enum `protobuf:"varint,4,opt,name=Role,proto3,enum=pb.Role_Enum" json:"Role,omitempty"`
// RoleSource explains how Role was resolved
RoleSource RoleSource_Enum `protobuf:"varint,5,opt,name=RoleSource,proto3,enum=pb.RoleSource_Enum" json:"RoleSource,omitempty"`
// ExplicitRole is the explicit org-wide role, None when derived
ExplicitRole Role_Enum `protobuf:"varint,6,opt,name=ExplicitRole,proto3,enum=pb.Role_Enum" json:"ExplicitRole,omitempty"`
// contains filtered or unexported fields
}
func (*OrgAccess) Descriptor
func (*OrgAccess) Descriptor() ([]byte, []int)
Deprecated: Use OrgAccess.ProtoReflect.Descriptor instead.
func (*OrgAccess) GetExplicitRole
func (x *OrgAccess) GetExplicitRole() Role_Enum
func (*OrgAccess) GetOrgAlias
func (x *OrgAccess) GetOrgAlias() string
func (*OrgAccess) GetOrgID
func (x *OrgAccess) GetOrgID() string
func (*OrgAccess) GetOrgName
func (x *OrgAccess) GetOrgName() string
func (*OrgAccess) GetRole
func (x *OrgAccess) GetRole() Role_Enum
func (*OrgAccess) GetRoleSource
func (x *OrgAccess) GetRoleSource() RoleSource_Enum
func (*OrgAccess) MarshalJSON
func (msg *OrgAccess) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*OrgAccess) ProtoMessage
func (*OrgAccess) ProtoMessage()
func (*OrgAccess) ProtoReflect
func (x *OrgAccess) ProtoReflect() protoreflect.Message
func (*OrgAccess) Reset
func (x *OrgAccess) Reset()
func (*OrgAccess) String
func (x *OrgAccess) String() string
func (*OrgAccess) UnmarshalJSON
func (msg *OrgAccess) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type OrgsClient
OrgsClient is the client API for Orgs service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
Orgs manages organizations, projects, memberships and invites.
Tenant scoped requests do not carry OrgID: the server takes the selected organization from the validated access token (see Auth.SelectOrg). Requests that act on a project carry ProjectID; the authorization layer verifies that the project belongs to the token organization and that the caller holds the required permission through an explicit org-wide grant or a project grant.
(es.api.allowed_roles) lists the minimum roles allowed to call a method at org scope, or at project scope when the request carries ProjectID; a caller passes when one of its roles at that scope can assume an allowed role. (es.api.scopes) lists the scopes an API key must hold; API keys are only allowed where allowed_roles includes APIKey. Methods without allowed_roles require an authenticated caller only.
type OrgsClient interface {
// RegisterOrg registers a new org. The caller becomes its Owner.
RegisterOrg(ctx context.Context, in *RegisterOrgRequest, opts ...grpc.CallOption) (*Org, error)
// GetOrg returns the org selected in the token
GetOrg(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Org, error)
// UpdateOrg updates the org selected in the token
UpdateOrg(ctx context.Context, in *UpdateOrgRequest, opts ...grpc.CallOption) (*Org, error)
// DeleteOrg deactivates the org selected in the token
DeleteOrg(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Org, error)
// GetUserOrgs returns the orgs the caller can select, each once, with the
// resolved org role. Available before an org is selected.
GetUserOrgs(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*UserOrgsResponse, error)
// GetUserMemberships returns the caller's resolved access to the org
// selected in the token and the caller's explicit grants in that org
GetUserMemberships(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*UserMemberships, error)
// GetMembers returns memberships and invites of the org selected in the
// token. With ProjectID only the project's grants are returned; with
// Scope Org only the org-wide grants are returned.
GetMembers(ctx context.Context, in *GetMembersRequest, opts ...grpc.CallOption) (*MembersResponse, error)
// AddMember grants a role to a user at org scope (empty ProjectID) or in
// a project. If the user does not exist yet, an invite is created.
AddMember(ctx context.Context, in *AddMemberRequest, opts ...grpc.CallOption) (*AddMemberResponse, error)
// ChangeMemberRole changes the role of an existing grant at the given scope
ChangeMemberRole(ctx context.Context, in *ChangeMemberRoleRequest, opts ...grpc.CallOption) (*Membership, error)
// DeleteMember removes the grant at the given scope
DeleteMember(ctx context.Context, in *DeleteMemberRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// DeleteInvite removes the invite at the given scope
DeleteInvite(ctx context.Context, in *DeleteInviteRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// RegisterProject creates a project in the org selected in the token
RegisterProject(ctx context.Context, in *RegisterProjectRequest, opts ...grpc.CallOption) (*Project, error)
// UpdateProject updates a project
UpdateProject(ctx context.Context, in *UpdateProjectRequest, opts ...grpc.CallOption) (*Project, error)
// GetProject returns a project by ID or alias
GetProject(ctx context.Context, in *GetProjectRequest, opts ...grpc.CallOption) (*Project, error)
// ListProjects returns the projects of the org selected in the token that
// the caller can access
ListProjects(ctx context.Context, in *ListProjectsRequest, opts ...grpc.CallOption) (*ProjectsResponse, error)
// DeleteProject deactivates a project. Records owned by the project are
// kept.
DeleteProject(ctx context.Context, in *DeleteProjectRequest, opts ...grpc.CallOption) (*Project, error)
// ListEvents returns the audit events of the org selected in the token,
// newest first: every event of the org for a caller with an org-wide
// role or an org-wide API key, the org-wide events and those of the
// caller's projects for a member with project grants only, and the
// events of one project with ProjectID, or for an API key restricted to
// the project
ListEvents(ctx context.Context, in *ListEventsRequest, opts ...grpc.CallOption) (*EventsResponse, error)
// CreateAPIKey creates a new API key
CreateAPIKey(ctx context.Context, in *CreateAPIKeyRequest, opts ...grpc.CallOption) (*APIKey, error)
// ListAPIKeys lists the API keys of the org selected in the token
ListAPIKeys(ctx context.Context, in *ListAPIKeysRequest, opts ...grpc.CallOption) (*APIKeysResponse, error)
// DeleteAPIKey deletes an API key
DeleteAPIKey(ctx context.Context, in *APIKeyRequest, opts ...grpc.CallOption) (*RecordsResult, error)
}
func NewOrgsClient
func NewOrgsClient(cc grpc.ClientConnInterface) OrgsClient
type OrgsResponse
type OrgsResponse struct {
Orgs []*Org `protobuf:"bytes,1,rep,name=Orgs,proto3" json:"Orgs,omitempty"`
// NextPage specifies pagination information, if there are more pages to
// fetch. If there are no more pages to fetch, NextPage will be empty.
NextPage *NextPage `protobuf:"bytes,2,opt,name=NextPage,proto3" json:"NextPage,omitempty"`
// contains filtered or unexported fields
}
func (*OrgsResponse) Descriptor
func (*OrgsResponse) Descriptor() ([]byte, []int)
Deprecated: Use OrgsResponse.ProtoReflect.Descriptor instead.
func (*OrgsResponse) GetNextPage
func (x *OrgsResponse) GetNextPage() *NextPage
func (*OrgsResponse) GetOrgs
func (x *OrgsResponse) GetOrgs() []*Org
func (*OrgsResponse) MarshalJSON
func (msg *OrgsResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*OrgsResponse) Print
func (r *OrgsResponse) Print(w io.Writer)
func (*OrgsResponse) ProtoMessage
func (*OrgsResponse) ProtoMessage()
func (*OrgsResponse) ProtoReflect
func (x *OrgsResponse) ProtoReflect() protoreflect.Message
func (*OrgsResponse) Reset
func (x *OrgsResponse) Reset()
func (*OrgsResponse) String
func (x *OrgsResponse) String() string
func (*OrgsResponse) UnmarshalJSON
func (msg *OrgsResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type OrgsServer
OrgsServer is the server API for Orgs service. All implementations should embed UnimplementedOrgsServer for forward compatibility.
Orgs manages organizations, projects, memberships and invites.
Tenant scoped requests do not carry OrgID: the server takes the selected organization from the validated access token (see Auth.SelectOrg). Requests that act on a project carry ProjectID; the authorization layer verifies that the project belongs to the token organization and that the caller holds the required permission through an explicit org-wide grant or a project grant.
(es.api.allowed_roles) lists the minimum roles allowed to call a method at org scope, or at project scope when the request carries ProjectID; a caller passes when one of its roles at that scope can assume an allowed role. (es.api.scopes) lists the scopes an API key must hold; API keys are only allowed where allowed_roles includes APIKey. Methods without allowed_roles require an authenticated caller only.
type OrgsServer interface {
// RegisterOrg registers a new org. The caller becomes its Owner.
RegisterOrg(context.Context, *RegisterOrgRequest) (*Org, error)
// GetOrg returns the org selected in the token
GetOrg(context.Context, *emptypb.Empty) (*Org, error)
// UpdateOrg updates the org selected in the token
UpdateOrg(context.Context, *UpdateOrgRequest) (*Org, error)
// DeleteOrg deactivates the org selected in the token
DeleteOrg(context.Context, *emptypb.Empty) (*Org, error)
// GetUserOrgs returns the orgs the caller can select, each once, with the
// resolved org role. Available before an org is selected.
GetUserOrgs(context.Context, *emptypb.Empty) (*UserOrgsResponse, error)
// GetUserMemberships returns the caller's resolved access to the org
// selected in the token and the caller's explicit grants in that org
GetUserMemberships(context.Context, *emptypb.Empty) (*UserMemberships, error)
// GetMembers returns memberships and invites of the org selected in the
// token. With ProjectID only the project's grants are returned; with
// Scope Org only the org-wide grants are returned.
GetMembers(context.Context, *GetMembersRequest) (*MembersResponse, error)
// AddMember grants a role to a user at org scope (empty ProjectID) or in
// a project. If the user does not exist yet, an invite is created.
AddMember(context.Context, *AddMemberRequest) (*AddMemberResponse, error)
// ChangeMemberRole changes the role of an existing grant at the given scope
ChangeMemberRole(context.Context, *ChangeMemberRoleRequest) (*Membership, error)
// DeleteMember removes the grant at the given scope
DeleteMember(context.Context, *DeleteMemberRequest) (*emptypb.Empty, error)
// DeleteInvite removes the invite at the given scope
DeleteInvite(context.Context, *DeleteInviteRequest) (*emptypb.Empty, error)
// RegisterProject creates a project in the org selected in the token
RegisterProject(context.Context, *RegisterProjectRequest) (*Project, error)
// UpdateProject updates a project
UpdateProject(context.Context, *UpdateProjectRequest) (*Project, error)
// GetProject returns a project by ID or alias
GetProject(context.Context, *GetProjectRequest) (*Project, error)
// ListProjects returns the projects of the org selected in the token that
// the caller can access
ListProjects(context.Context, *ListProjectsRequest) (*ProjectsResponse, error)
// DeleteProject deactivates a project. Records owned by the project are
// kept.
DeleteProject(context.Context, *DeleteProjectRequest) (*Project, error)
// ListEvents returns the audit events of the org selected in the token,
// newest first: every event of the org for a caller with an org-wide
// role or an org-wide API key, the org-wide events and those of the
// caller's projects for a member with project grants only, and the
// events of one project with ProjectID, or for an API key restricted to
// the project
ListEvents(context.Context, *ListEventsRequest) (*EventsResponse, error)
// CreateAPIKey creates a new API key
CreateAPIKey(context.Context, *CreateAPIKeyRequest) (*APIKey, error)
// ListAPIKeys lists the API keys of the org selected in the token
ListAPIKeys(context.Context, *ListAPIKeysRequest) (*APIKeysResponse, error)
// DeleteAPIKey deletes an API key
DeleteAPIKey(context.Context, *APIKeyRequest) (*RecordsResult, error)
}
type ProfilesResponse
ProfilesResponse returns list of profiles
type ProfilesResponse struct {
Profiles []*CertProfile `protobuf:"bytes,1,rep,name=Profiles,proto3" json:"Profiles,omitempty"`
// NextPage specifies pagination information, if there are more pages to
// fetch. If there are no more pages to fetch, NextPage will be empty.
NextPage *NextPage `protobuf:"bytes,2,opt,name=NextPage,proto3" json:"NextPage,omitempty"`
// contains filtered or unexported fields
}
func (*ProfilesResponse) Descriptor
func (*ProfilesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ProfilesResponse.ProtoReflect.Descriptor instead.
func (*ProfilesResponse) GetMessageDescription
func (m *ProfilesResponse) GetMessageDescription() *api.MessageDescription
func (*ProfilesResponse) GetNextPage
func (x *ProfilesResponse) GetNextPage() *NextPage
func (*ProfilesResponse) GetProfiles
func (x *ProfilesResponse) GetProfiles() []*CertProfile
func (*ProfilesResponse) MarshalJSON
func (msg *ProfilesResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*ProfilesResponse) Print
func (r *ProfilesResponse) Print(w io.Writer)
func (*ProfilesResponse) ProtoMessage
func (*ProfilesResponse) ProtoMessage()
func (*ProfilesResponse) ProtoReflect
func (x *ProfilesResponse) ProtoReflect() protoreflect.Message
func (*ProfilesResponse) Reset
func (x *ProfilesResponse) Reset()
func (*ProfilesResponse) String
func (x *ProfilesResponse) String() string
func (*ProfilesResponse) UnmarshalJSON
func (msg *ProfilesResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type Project
Project owns a collection of resources governed by a common access policy
type Project struct {
ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
OrgID string `protobuf:"bytes,2,opt,name=OrgID,proto3" json:"OrgID,omitempty"`
// Alias is a stable, org-unique identifier chosen by the client,
// e.g. a cloud account ID or a slug
Alias string `protobuf:"bytes,3,opt,name=Alias,proto3" json:"Alias,omitempty"`
Name string `protobuf:"bytes,4,opt,name=Name,proto3" json:"Name,omitempty"`
Description string `protobuf:"bytes,5,opt,name=Description,proto3" json:"Description,omitempty"`
Status ItemStatus_Enum `protobuf:"varint,6,opt,name=Status,proto3,enum=pb.ItemStatus_Enum" json:"Status,omitempty"`
CreatedAt string `protobuf:"bytes,7,opt,name=CreatedAt,proto3" json:"CreatedAt,omitempty"`
UpdatedAt string `protobuf:"bytes,8,opt,name=UpdatedAt,proto3" json:"UpdatedAt,omitempty"`
// contains filtered or unexported fields
}
func (*Project) Descriptor
func (*Project) Descriptor() ([]byte, []int)
Deprecated: Use Project.ProtoReflect.Descriptor instead.
func (*Project) GetAlias
func (x *Project) GetAlias() string
func (*Project) GetCreatedAt
func (x *Project) GetCreatedAt() string
func (*Project) GetDescription
func (x *Project) GetDescription() string
func (*Project) GetID
func (x *Project) GetID() string
func (*Project) GetMessageDescription
func (m *Project) GetMessageDescription() *api.MessageDescription
func (*Project) GetName
func (x *Project) GetName() string
func (*Project) GetOrgID
func (x *Project) GetOrgID() string
func (*Project) GetStatus
func (x *Project) GetStatus() ItemStatus_Enum
func (*Project) GetUpdatedAt
func (x *Project) GetUpdatedAt() string
func (*Project) MarshalJSON
func (msg *Project) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*Project) Print
func (r *Project) Print(w io.Writer)
func (*Project) ProtoMessage
func (*Project) ProtoMessage()
func (*Project) ProtoReflect
func (x *Project) ProtoReflect() protoreflect.Message
func (*Project) Reset
func (x *Project) Reset()
func (*Project) String
func (x *Project) String() string
func (*Project) UnmarshalJSON
func (msg *Project) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type ProjectsResponse
ProjectsResponse returns list of projects
type ProjectsResponse struct {
Projects []*Project `protobuf:"bytes,1,rep,name=Projects,proto3" json:"Projects,omitempty"`
// NextPage specifies pagination information, if there are more pages to
// fetch. If there are no more pages to fetch, NextPage will be empty.
NextPage *NextPage `protobuf:"bytes,2,opt,name=NextPage,proto3" json:"NextPage,omitempty"`
// contains filtered or unexported fields
}
func (*ProjectsResponse) Descriptor
func (*ProjectsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ProjectsResponse.ProtoReflect.Descriptor instead.
func (*ProjectsResponse) GetMessageDescription
func (m *ProjectsResponse) GetMessageDescription() *api.MessageDescription
func (*ProjectsResponse) GetNextPage
func (x *ProjectsResponse) GetNextPage() *NextPage
func (*ProjectsResponse) GetProjects
func (x *ProjectsResponse) GetProjects() []*Project
func (*ProjectsResponse) MarshalJSON
func (msg *ProjectsResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*ProjectsResponse) Print
func (r *ProjectsResponse) Print(w io.Writer)
func (*ProjectsResponse) ProtoMessage
func (*ProjectsResponse) ProtoMessage()
func (*ProjectsResponse) ProtoReflect
func (x *ProjectsResponse) ProtoReflect() protoreflect.Message
func (*ProjectsResponse) Reset
func (x *ProjectsResponse) Reset()
func (*ProjectsResponse) String
func (x *ProjectsResponse) String() string
func (*ProjectsResponse) UnmarshalJSON
func (msg *ProjectsResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type PublishCrlsRequest
PublishCrlsRequest allows to publish CRLs on demand
type PublishCrlsRequest struct {
// ProjectID limits the scope to the project: the issuer of the IKID
// must belong to it, and without an IKID the issuers of the project
// publish. Empty publishes for the org-wide issuers and the projects the
// caller may read; a project Admin names the project, and an API key
// restricted to a project publishes for its project.
ProjectID string `protobuf:"bytes,2,opt,name=ProjectID,proto3" json:"ProjectID,omitempty"`
// IKID specifies Issuer Key ID; empty to publish for all issuers in scope
IKID string `protobuf:"bytes,3,opt,name=IKID,proto3" json:"IKID,omitempty"`
// Force specifies to publish even if the current CRL is not due for renewal
Force bool `protobuf:"varint,4,opt,name=Force,proto3" json:"Force,omitempty"`
// contains filtered or unexported fields
}
func (*PublishCrlsRequest) Descriptor
func (*PublishCrlsRequest) Descriptor() ([]byte, []int)
Deprecated: Use PublishCrlsRequest.ProtoReflect.Descriptor instead.
func (*PublishCrlsRequest) GetForce
func (x *PublishCrlsRequest) GetForce() bool
func (*PublishCrlsRequest) GetIKID
func (x *PublishCrlsRequest) GetIKID() string
func (*PublishCrlsRequest) GetProjectID
func (x *PublishCrlsRequest) GetProjectID() string
func (*PublishCrlsRequest) MarshalJSON
func (msg *PublishCrlsRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*PublishCrlsRequest) ProtoMessage
func (*PublishCrlsRequest) ProtoMessage()
func (*PublishCrlsRequest) ProtoReflect
func (x *PublishCrlsRequest) ProtoReflect() protoreflect.Message
func (*PublishCrlsRequest) Reset
func (x *PublishCrlsRequest) Reset()
func (*PublishCrlsRequest) String
func (x *PublishCrlsRequest) String() string
func (*PublishCrlsRequest) UnmarshalJSON
func (msg *PublishCrlsRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*PublishCrlsRequest) Validate
func (m *PublishCrlsRequest) Validate(ctx context.Context) error
type ReasonCode
ReasonCode specifies Certificate Revocation Reason from RFC 5280
CRLReason ::= ENUMERATED {
unspecified (0),
keyCompromise (1),
cACompromise (2),
affiliationChanged (3),
superseded (4),
cessationOfOperation (5),
certificateHold (6),
-- value 7 is not used
removeFromCRL (8),
privilegeWithdrawn (9),
aACompromise (10)
}
type ReasonCode struct {
// contains filtered or unexported fields
}
func (*ReasonCode) Descriptor
func (*ReasonCode) Descriptor() ([]byte, []int)
Deprecated: Use ReasonCode.ProtoReflect.Descriptor instead.
func (*ReasonCode) MarshalJSON
func (msg *ReasonCode) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*ReasonCode) ProtoMessage
func (*ReasonCode) ProtoMessage()
func (*ReasonCode) ProtoReflect
func (x *ReasonCode) ProtoReflect() protoreflect.Message
func (*ReasonCode) Reset
func (x *ReasonCode) Reset()
func (*ReasonCode) String
func (x *ReasonCode) String() string
func (*ReasonCode) UnmarshalJSON
func (msg *ReasonCode) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type ReasonCode\_Enum
type ReasonCode_Enum int32
const (
// Unspecified indicates that the reason code is unspecified
ReasonCode_Unspecified ReasonCode_Enum = 0
// KeyCompromise indicates that the subject key is compromised
ReasonCode_KeyCompromise ReasonCode_Enum = 1
// CACompromise indicates that the issuing CA is compromised
ReasonCode_CACompromise ReasonCode_Enum = 2
// AffiliationChanged indicates that the subject affiliation changed
ReasonCode_AffiliationChanged ReasonCode_Enum = 3
// Superseded indicates that the certificate is superseded
ReasonCode_Superseded ReasonCode_Enum = 4
// CessationOfOperation indicates that the certificate is no longer in
// operation
ReasonCode_CessationOfOperation ReasonCode_Enum = 5
// CertificateHold indicates that the certificate is on hold
ReasonCode_CertificateHold ReasonCode_Enum = 6
// RemoveFromCRL indicates that the certificate is removed from the CRL
ReasonCode_RemoveFromCRL ReasonCode_Enum = 8
// PrivilegeWithdrawn indicates that the privilege is withdrawn
ReasonCode_PrivilegeWithdrawn ReasonCode_Enum = 9
// AACompromise indicates that the attribute authority is compromised
ReasonCode_AACompromise ReasonCode_Enum = 10
)
func (ReasonCode_Enum) Describe
func (s ReasonCode_Enum) Describe() map[ReasonCode_Enum]*api.EnumMeta
Describe returns Enum meta information for all values
func (ReasonCode_Enum) Descriptor
func (ReasonCode_Enum) Descriptor() protoreflect.EnumDescriptor
func (ReasonCode_Enum) DisplayName
func (s ReasonCode_Enum) DisplayName() string
DisplayName returns display name of Enum value
func (ReasonCode_Enum) DisplayNames
func (s ReasonCode_Enum) DisplayNames() []string
DisplayNames returns display names of Enum bitflag value
func (ReasonCode_Enum) DisplayNamesMap
func (s ReasonCode_Enum) DisplayNamesMap() map[int32]string
DisplayNamesMap returns a map of enum display names
func (ReasonCode_Enum) Enum
func (x ReasonCode_Enum) Enum() *ReasonCode_Enum
func (ReasonCode_Enum) EnumDescriptor
func (ReasonCode_Enum) EnumDescriptor() ([]byte, []int)
Deprecated: Use ReasonCode_Enum.Descriptor instead.
func (ReasonCode_Enum) Flags
func (s ReasonCode_Enum) Flags() []ReasonCode_Enum
Flags returns list of Enum values
func (ReasonCode_Enum) FlagsInt
func (s ReasonCode_Enum) FlagsInt() []int32
FlagsInt returns list of Enum values as int32
func (ReasonCode_Enum) GetDescription
func (s ReasonCode_Enum) GetDescription() *api.EnumDescription
GetDescription returns Enum description
func (ReasonCode_Enum) Meta
func (s ReasonCode_Enum) Meta() *api.EnumMeta
Meta returns Enum meta information
func (ReasonCode_Enum) NamesMap
func (s ReasonCode_Enum) NamesMap() map[int32]string
NamesMap returns map of enum names
func (ReasonCode_Enum) Number
func (x ReasonCode_Enum) Number() protoreflect.EnumNumber
func (ReasonCode_Enum) Parse
func (_ ReasonCode_Enum) Parse(val any) ReasonCode_Enum
Parse returns Enum value parsed from val
func (ReasonCode_Enum) String
func (x ReasonCode_Enum) String() string
func (ReasonCode_Enum) SupportedNames
func (s ReasonCode_Enum) SupportedNames() string
SupportedNames returns string of supported Enum name concatenated by ","
func (ReasonCode_Enum) Type
func (ReasonCode_Enum) Type() protoreflect.EnumType
func (*ReasonCode_Enum) UnmarshalJSON
func (s *ReasonCode_Enum) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals Enum from JSON
func (*ReasonCode_Enum) UnmarshalYAML
func (s *ReasonCode_Enum) UnmarshalYAML(unmarshal func(any) error) error
UnmarshalYAML unmarshals Enum from YAML
func (ReasonCode_Enum) ValueNames
func (s ReasonCode_Enum) ValueNames() []string
ValueNames returns list of Enum value names
func (ReasonCode_Enum) ValueString
func (s ReasonCode_Enum) ValueString() string
ValueString returns string of Enum value names concatenated by ","
func (ReasonCode_Enum) ValuesMap
func (s ReasonCode_Enum) ValuesMap() map[string]int32
ValuesMap returns a map of enum values
type ReasonCode\_EnumSlice
type ReasonCode_EnumSlice []ReasonCode_Enum
type RecordsResult
RecordsResult provides the number of created, updated and deleted records
type RecordsResult struct {
Created int64 `protobuf:"varint,1,opt,name=Created,proto3" json:"Created,omitempty"`
Updated int64 `protobuf:"varint,2,opt,name=Updated,proto3" json:"Updated,omitempty"`
Deleted int64 `protobuf:"varint,3,opt,name=Deleted,proto3" json:"Deleted,omitempty"`
// contains filtered or unexported fields
}
func (*RecordsResult) Descriptor
func (*RecordsResult) Descriptor() ([]byte, []int)
Deprecated: Use RecordsResult.ProtoReflect.Descriptor instead.
func (*RecordsResult) GetCreated
func (x *RecordsResult) GetCreated() int64
func (*RecordsResult) GetDeleted
func (x *RecordsResult) GetDeleted() int64
func (*RecordsResult) GetMessageDescription
func (m *RecordsResult) GetMessageDescription() *api.MessageDescription
func (*RecordsResult) GetUpdated
func (x *RecordsResult) GetUpdated() int64
func (*RecordsResult) MarshalJSON
func (msg *RecordsResult) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*RecordsResult) ProtoMessage
func (*RecordsResult) ProtoMessage()
func (*RecordsResult) ProtoReflect
func (x *RecordsResult) ProtoReflect() protoreflect.Message
func (*RecordsResult) Reset
func (x *RecordsResult) Reset()
func (*RecordsResult) String
func (x *RecordsResult) String() string
func (*RecordsResult) UnmarshalJSON
func (msg *RecordsResult) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type RegisterIssuerRequest
RegisterIssuerRequest specifies a request to create a new issuer
type RegisterIssuerRequest struct {
// ProjectID of the owning project; empty for an org-wide issuer
ProjectID string `protobuf:"bytes,2,opt,name=ProjectID,proto3" json:"ProjectID,omitempty"`
// Label of the issuer, unique per (Org, Project)
Label string `protobuf:"bytes,3,opt,name=Label,proto3" json:"Label,omitempty"`
// Type of the authority
Type AuthorityType_Enum `protobuf:"varint,4,opt,name=Type,proto3,enum=pb.AuthorityType_Enum" json:"Type,omitempty"`
// Subject of the issuer certificate
Subject *X509Subject `protobuf:"bytes,5,opt,name=Subject,proto3" json:"Subject,omitempty"`
// KeySpec of the key to generate; defaults to ECDSA P-256
KeySpec *KeySpec `protobuf:"bytes,6,opt,name=KeySpec,proto3" json:"KeySpec,omitempty"`
// KeyProvider selects the crypto provider; empty for the server default
KeyProvider string `protobuf:"bytes,7,opt,name=KeyProvider,proto3" json:"KeyProvider,omitempty"`
// ParentID specifies the signing issuer. It must belong to the same org,
// or be a platform issuer that allows the Profile.
// Empty for Root type, or to create a Pending issuer with a CSR.
ParentID string `protobuf:"bytes,8,opt,name=ParentID,proto3" json:"ParentID,omitempty"`
// Profile specifies the CA profile the parent uses to sign the issuer
// certificate. Required when ParentID is set or Type is Root.
Profile string `protobuf:"bytes,9,opt,name=Profile,proto3" json:"Profile,omitempty"`
// Config provides runtime settings
Config *IssuerConfig `protobuf:"bytes,10,opt,name=Config,proto3" json:"Config,omitempty"`
// SAN specifies Subject Alternative Names for the issuer certificate
SAN []string `protobuf:"bytes,11,rep,name=SAN,proto3" json:"SAN,omitempty"`
// Extensions specifies additional extensions for the issuer certificate
Extensions []*X509Extension `protobuf:"bytes,12,rep,name=Extensions,proto3" json:"Extensions,omitempty"`
// contains filtered or unexported fields
}
func (*RegisterIssuerRequest) Descriptor
func (*RegisterIssuerRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisterIssuerRequest.ProtoReflect.Descriptor instead.
func (*RegisterIssuerRequest) GetConfig
func (x *RegisterIssuerRequest) GetConfig() *IssuerConfig
func (*RegisterIssuerRequest) GetExtensions
func (x *RegisterIssuerRequest) GetExtensions() []*X509Extension
func (*RegisterIssuerRequest) GetKeyProvider
func (x *RegisterIssuerRequest) GetKeyProvider() string
func (*RegisterIssuerRequest) GetKeySpec
func (x *RegisterIssuerRequest) GetKeySpec() *KeySpec
func (*RegisterIssuerRequest) GetLabel
func (x *RegisterIssuerRequest) GetLabel() string
func (*RegisterIssuerRequest) GetParentID
func (x *RegisterIssuerRequest) GetParentID() string
func (*RegisterIssuerRequest) GetProfile
func (x *RegisterIssuerRequest) GetProfile() string
func (*RegisterIssuerRequest) GetProjectID
func (x *RegisterIssuerRequest) GetProjectID() string
func (*RegisterIssuerRequest) GetSAN
func (x *RegisterIssuerRequest) GetSAN() []string
func (*RegisterIssuerRequest) GetSubject
func (x *RegisterIssuerRequest) GetSubject() *X509Subject
func (*RegisterIssuerRequest) GetType
func (x *RegisterIssuerRequest) GetType() AuthorityType_Enum
func (*RegisterIssuerRequest) MarshalJSON
func (msg *RegisterIssuerRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*RegisterIssuerRequest) ProtoMessage
func (*RegisterIssuerRequest) ProtoMessage()
func (*RegisterIssuerRequest) ProtoReflect
func (x *RegisterIssuerRequest) ProtoReflect() protoreflect.Message
func (*RegisterIssuerRequest) Reset
func (x *RegisterIssuerRequest) Reset()
func (*RegisterIssuerRequest) String
func (x *RegisterIssuerRequest) String() string
func (*RegisterIssuerRequest) UnmarshalJSON
func (msg *RegisterIssuerRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*RegisterIssuerRequest) Validate
func (m *RegisterIssuerRequest) Validate(ctx context.Context) error
type RegisterOrgRequest
type RegisterOrgRequest struct {
Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
Description string `protobuf:"bytes,2,opt,name=Description,proto3" json:"Description,omitempty"`
// contains filtered or unexported fields
}
func (*RegisterOrgRequest) Descriptor
func (*RegisterOrgRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisterOrgRequest.ProtoReflect.Descriptor instead.
func (*RegisterOrgRequest) GetDescription
func (x *RegisterOrgRequest) GetDescription() string
func (*RegisterOrgRequest) GetName
func (x *RegisterOrgRequest) GetName() string
func (*RegisterOrgRequest) MarshalJSON
func (msg *RegisterOrgRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*RegisterOrgRequest) ProtoMessage
func (*RegisterOrgRequest) ProtoMessage()
func (*RegisterOrgRequest) ProtoReflect
func (x *RegisterOrgRequest) ProtoReflect() protoreflect.Message
func (*RegisterOrgRequest) Reset
func (x *RegisterOrgRequest) Reset()
func (*RegisterOrgRequest) String
func (x *RegisterOrgRequest) String() string
func (*RegisterOrgRequest) UnmarshalJSON
func (msg *RegisterOrgRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*RegisterOrgRequest) Validate
func (m *RegisterOrgRequest) Validate(ctx context.Context) error
type RegisterProfileRequest
RegisterProfileRequest creates or replaces a profile
type RegisterProfileRequest struct {
// ProjectID of the owning project; empty for an org-wide profile
ProjectID string `protobuf:"bytes,2,opt,name=ProjectID,proto3" json:"ProjectID,omitempty"`
// Profile provides the profile definition.
// Profile.Label and Profile.IssuerLabel are required.
Profile *CertProfile `protobuf:"bytes,3,opt,name=Profile,proto3" json:"Profile,omitempty"`
// contains filtered or unexported fields
}
func (*RegisterProfileRequest) Descriptor
func (*RegisterProfileRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisterProfileRequest.ProtoReflect.Descriptor instead.
func (*RegisterProfileRequest) GetProfile
func (x *RegisterProfileRequest) GetProfile() *CertProfile
func (*RegisterProfileRequest) GetProjectID
func (x *RegisterProfileRequest) GetProjectID() string
func (*RegisterProfileRequest) MarshalJSON
func (msg *RegisterProfileRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*RegisterProfileRequest) ProtoMessage
func (*RegisterProfileRequest) ProtoMessage()
func (*RegisterProfileRequest) ProtoReflect
func (x *RegisterProfileRequest) ProtoReflect() protoreflect.Message
func (*RegisterProfileRequest) Reset
func (x *RegisterProfileRequest) Reset()
func (*RegisterProfileRequest) String
func (x *RegisterProfileRequest) String() string
func (*RegisterProfileRequest) UnmarshalJSON
func (msg *RegisterProfileRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*RegisterProfileRequest) Validate
func (m *RegisterProfileRequest) Validate(ctx context.Context) error
type RegisterProjectRequest
RegisterProjectRequest specifies request to create a project in the org selected in the token
type RegisterProjectRequest struct {
// Alias is org-unique; generated when empty
Alias string `protobuf:"bytes,1,opt,name=Alias,proto3" json:"Alias,omitempty"`
Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
Description string `protobuf:"bytes,3,opt,name=Description,proto3" json:"Description,omitempty"`
// contains filtered or unexported fields
}
func (*RegisterProjectRequest) Descriptor
func (*RegisterProjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisterProjectRequest.ProtoReflect.Descriptor instead.
func (*RegisterProjectRequest) GetAlias
func (x *RegisterProjectRequest) GetAlias() string
func (*RegisterProjectRequest) GetDescription
func (x *RegisterProjectRequest) GetDescription() string
func (*RegisterProjectRequest) GetName
func (x *RegisterProjectRequest) GetName() string
func (*RegisterProjectRequest) MarshalJSON
func (msg *RegisterProjectRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*RegisterProjectRequest) ProtoMessage
func (*RegisterProjectRequest) ProtoMessage()
func (*RegisterProjectRequest) ProtoReflect
func (x *RegisterProjectRequest) ProtoReflect() protoreflect.Message
func (*RegisterProjectRequest) Reset
func (x *RegisterProjectRequest) Reset()
func (*RegisterProjectRequest) String
func (x *RegisterProjectRequest) String() string
func (*RegisterProjectRequest) UnmarshalJSON
func (msg *RegisterProjectRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*RegisterProjectRequest) Validate
func (m *RegisterProjectRequest) Validate(ctx context.Context) error
type RegisterRootRequest
RegisterRootRequest registers an external trust anchor
type RegisterRootRequest struct {
// Pem encoded root certificate
Pem string `protobuf:"bytes,2,opt,name=Pem,proto3" json:"Pem,omitempty"`
// Trust scope
Trust Trust_Enum `protobuf:"varint,3,opt,name=Trust,proto3,enum=pb.Trust_Enum" json:"Trust,omitempty"`
// contains filtered or unexported fields
}
func (*RegisterRootRequest) Descriptor
func (*RegisterRootRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisterRootRequest.ProtoReflect.Descriptor instead.
func (*RegisterRootRequest) GetPem
func (x *RegisterRootRequest) GetPem() string
func (*RegisterRootRequest) GetTrust
func (x *RegisterRootRequest) GetTrust() Trust_Enum
func (*RegisterRootRequest) MarshalJSON
func (msg *RegisterRootRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*RegisterRootRequest) ProtoMessage
func (*RegisterRootRequest) ProtoMessage()
func (*RegisterRootRequest) ProtoReflect
func (x *RegisterRootRequest) ProtoReflect() protoreflect.Message
func (*RegisterRootRequest) Reset
func (x *RegisterRootRequest) Reset()
func (*RegisterRootRequest) String
func (x *RegisterRootRequest) String() string
func (*RegisterRootRequest) UnmarshalJSON
func (msg *RegisterRootRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*RegisterRootRequest) Validate
func (m *RegisterRootRequest) Validate(ctx context.Context) error
type RequestAllocator
RequestAllocator defines constructor to allocate Protobuf request
type RequestAllocator func() any
type RevokeCertificateRequest
RevokeCertificateRequest specifies revocation request
type RevokeCertificateRequest struct {
// ID specifies certificate ID
ID string `protobuf:"bytes,2,opt,name=ID,proto3" json:"ID,omitempty"`
// SKID specifies Subject Key ID to search
SKID string `protobuf:"bytes,3,opt,name=SKID,proto3" json:"SKID,omitempty"`
// IssuerSerial specifies Issuer Key ID and certificate serial number
IssuerSerial *IssuerSerial `protobuf:"bytes,4,opt,name=IssuerSerial,proto3" json:"IssuerSerial,omitempty"`
// Reason for revocation; RemoveFromCRL is refused, since it releases a
// certificate from hold instead of revoking it
Reason ReasonCode_Enum `protobuf:"varint,5,opt,name=Reason,proto3,enum=pb.ReasonCode_Enum" json:"Reason,omitempty"`
// ReasonText provides optional free-form revocation note
ReasonText string `protobuf:"bytes,6,opt,name=ReasonText,proto3" json:"ReasonText,omitempty"`
// ProjectID of the certificate's project. A caller whose role is granted
// in the project only must name it, since the request is authorized at
// that scope; the certificate must belong to it.
ProjectID string `protobuf:"bytes,7,opt,name=ProjectID,proto3" json:"ProjectID,omitempty"`
// contains filtered or unexported fields
}
func (*RevokeCertificateRequest) Descriptor
func (*RevokeCertificateRequest) Descriptor() ([]byte, []int)
Deprecated: Use RevokeCertificateRequest.ProtoReflect.Descriptor instead.
func (*RevokeCertificateRequest) GetID
func (x *RevokeCertificateRequest) GetID() string
func (*RevokeCertificateRequest) GetIssuerSerial
func (x *RevokeCertificateRequest) GetIssuerSerial() *IssuerSerial
func (*RevokeCertificateRequest) GetProjectID
func (x *RevokeCertificateRequest) GetProjectID() string
func (*RevokeCertificateRequest) GetReason
func (x *RevokeCertificateRequest) GetReason() ReasonCode_Enum
func (*RevokeCertificateRequest) GetReasonText
func (x *RevokeCertificateRequest) GetReasonText() string
func (*RevokeCertificateRequest) GetSKID
func (x *RevokeCertificateRequest) GetSKID() string
func (*RevokeCertificateRequest) MarshalJSON
func (msg *RevokeCertificateRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*RevokeCertificateRequest) ProtoMessage
func (*RevokeCertificateRequest) ProtoMessage()
func (*RevokeCertificateRequest) ProtoReflect
func (x *RevokeCertificateRequest) ProtoReflect() protoreflect.Message
func (*RevokeCertificateRequest) Reset
func (x *RevokeCertificateRequest) Reset()
func (*RevokeCertificateRequest) String
func (x *RevokeCertificateRequest) String() string
func (*RevokeCertificateRequest) UnmarshalJSON
func (msg *RevokeCertificateRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*RevokeCertificateRequest) Validate
func (m *RevokeCertificateRequest) Validate(ctx context.Context) error
type RevokedCertificate
RevokedCertificate provides revoked X509 Certificate information
type RevokedCertificate struct {
// Certificate provides the revoked certificate
Certificate *Certificate `protobuf:"bytes,1,opt,name=Certificate,proto3" json:"Certificate,omitempty"`
// RevokedAt is the revocation time in RFC3339 format
RevokedAt string `protobuf:"bytes,2,opt,name=RevokedAt,proto3" json:"RevokedAt,omitempty"`
// Reason of the revocation
Reason ReasonCode_Enum `protobuf:"varint,3,opt,name=Reason,proto3,enum=pb.ReasonCode_Enum" json:"Reason,omitempty"`
// ReasonText provides optional free-form revocation note
ReasonText string `protobuf:"bytes,4,opt,name=ReasonText,proto3" json:"ReasonText,omitempty"`
// contains filtered or unexported fields
}
func (*RevokedCertificate) Descriptor
func (*RevokedCertificate) Descriptor() ([]byte, []int)
Deprecated: Use RevokedCertificate.ProtoReflect.Descriptor instead.
func (*RevokedCertificate) GetCertificate
func (x *RevokedCertificate) GetCertificate() *Certificate
func (*RevokedCertificate) GetReason
func (x *RevokedCertificate) GetReason() ReasonCode_Enum
func (*RevokedCertificate) GetReasonText
func (x *RevokedCertificate) GetReasonText() string
func (*RevokedCertificate) GetRevokedAt
func (x *RevokedCertificate) GetRevokedAt() string
func (*RevokedCertificate) MarshalJSON
func (msg *RevokedCertificate) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*RevokedCertificate) Print
func (r *RevokedCertificate) Print(w io.Writer)
func (*RevokedCertificate) ProtoMessage
func (*RevokedCertificate) ProtoMessage()
func (*RevokedCertificate) ProtoReflect
func (x *RevokedCertificate) ProtoReflect() protoreflect.Message
func (*RevokedCertificate) Reset
func (x *RevokedCertificate) Reset()
func (*RevokedCertificate) String
func (x *RevokedCertificate) String() string
func (*RevokedCertificate) UnmarshalJSON
func (msg *RevokedCertificate) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type RevokedCertificateResponse
RevokedCertificateResponse returns Revoked Certificate
type RevokedCertificateResponse struct {
Revoked *RevokedCertificate `protobuf:"bytes,1,opt,name=Revoked,proto3" json:"Revoked,omitempty"`
// contains filtered or unexported fields
}
func (*RevokedCertificateResponse) Descriptor
func (*RevokedCertificateResponse) Descriptor() ([]byte, []int)
Deprecated: Use RevokedCertificateResponse.ProtoReflect.Descriptor instead.
func (*RevokedCertificateResponse) GetMessageDescription
func (m *RevokedCertificateResponse) GetMessageDescription() *api.MessageDescription
func (*RevokedCertificateResponse) GetRevoked
func (x *RevokedCertificateResponse) GetRevoked() *RevokedCertificate
func (*RevokedCertificateResponse) MarshalJSON
func (msg *RevokedCertificateResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*RevokedCertificateResponse) Print
func (r *RevokedCertificateResponse) Print(w io.Writer)
func (*RevokedCertificateResponse) ProtoMessage
func (*RevokedCertificateResponse) ProtoMessage()
func (*RevokedCertificateResponse) ProtoReflect
func (x *RevokedCertificateResponse) ProtoReflect() protoreflect.Message
func (*RevokedCertificateResponse) Reset
func (x *RevokedCertificateResponse) Reset()
func (*RevokedCertificateResponse) String
func (x *RevokedCertificateResponse) String() string
func (*RevokedCertificateResponse) UnmarshalJSON
func (msg *RevokedCertificateResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type RevokedCertificatesResponse
RevokedCertificatesResponse returns Revoked Certificates list
type RevokedCertificatesResponse struct {
RevokedCertificates []*RevokedCertificate `protobuf:"bytes,1,rep,name=RevokedCertificates,proto3" json:"RevokedCertificates,omitempty"`
// NextPage specifies pagination information, if there are more pages to
// fetch. If there are no more pages to fetch, NextPage will be empty.
NextPage *NextPage `protobuf:"bytes,2,opt,name=NextPage,proto3" json:"NextPage,omitempty"`
// contains filtered or unexported fields
}
func (*RevokedCertificatesResponse) Descriptor
func (*RevokedCertificatesResponse) Descriptor() ([]byte, []int)
Deprecated: Use RevokedCertificatesResponse.ProtoReflect.Descriptor instead.
func (*RevokedCertificatesResponse) GetMessageDescription
func (m *RevokedCertificatesResponse) GetMessageDescription() *api.MessageDescription
func (*RevokedCertificatesResponse) GetNextPage
func (x *RevokedCertificatesResponse) GetNextPage() *NextPage
func (*RevokedCertificatesResponse) GetRevokedCertificates
func (x *RevokedCertificatesResponse) GetRevokedCertificates() []*RevokedCertificate
func (*RevokedCertificatesResponse) MarshalJSON
func (msg *RevokedCertificatesResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*RevokedCertificatesResponse) Print
func (r *RevokedCertificatesResponse) Print(w io.Writer)
func (*RevokedCertificatesResponse) ProtoMessage
func (*RevokedCertificatesResponse) ProtoMessage()
func (*RevokedCertificatesResponse) ProtoReflect
func (x *RevokedCertificatesResponse) ProtoReflect() protoreflect.Message
func (*RevokedCertificatesResponse) Reset
func (x *RevokedCertificatesResponse) Reset()
func (*RevokedCertificatesResponse) String
func (x *RevokedCertificatesResponse) String() string
func (*RevokedCertificatesResponse) UnmarshalJSON
func (msg *RevokedCertificatesResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type Role
type Role struct {
// contains filtered or unexported fields
}
func (*Role) Descriptor
func (*Role) Descriptor() ([]byte, []int)
Deprecated: Use Role.ProtoReflect.Descriptor instead.
func (*Role) MarshalJSON
func (msg *Role) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*Role) ProtoMessage
func (*Role) ProtoMessage()
func (*Role) ProtoReflect
func (x *Role) ProtoReflect() protoreflect.Message
func (*Role) Reset
func (x *Role) Reset()
func (*Role) String
func (x *Role) String() string
func (*Role) UnmarshalJSON
func (msg *Role) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type RoleSource
type RoleSource struct {
// contains filtered or unexported fields
}
func (*RoleSource) Descriptor
func (*RoleSource) Descriptor() ([]byte, []int)
Deprecated: Use RoleSource.ProtoReflect.Descriptor instead.
func (*RoleSource) MarshalJSON
func (msg *RoleSource) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*RoleSource) ProtoMessage
func (*RoleSource) ProtoMessage()
func (*RoleSource) ProtoReflect
func (x *RoleSource) ProtoReflect() protoreflect.Message
func (*RoleSource) Reset
func (x *RoleSource) Reset()
func (*RoleSource) String
func (x *RoleSource) String() string
func (*RoleSource) UnmarshalJSON
func (msg *RoleSource) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type RoleSource\_Enum
RoleSource explains how an org role was resolved
type RoleSource_Enum int32
const (
// Unknown indicates that the source is unknown
RoleSource_Unknown RoleSource_Enum = 0
// Direct indicates an explicit org-wide grant
RoleSource_Direct RoleSource_Enum = 1
// Project indicates a derived org Viewer classification from project
// grants only; it does not inherit project permissions
RoleSource_Project RoleSource_Enum = 2
)
func (RoleSource_Enum) Describe
func (s RoleSource_Enum) Describe() map[RoleSource_Enum]*api.EnumMeta
Describe returns Enum meta information for all values
func (RoleSource_Enum) Descriptor
func (RoleSource_Enum) Descriptor() protoreflect.EnumDescriptor
func (RoleSource_Enum) DisplayName
func (s RoleSource_Enum) DisplayName() string
DisplayName returns display name of Enum value
func (RoleSource_Enum) DisplayNames
func (s RoleSource_Enum) DisplayNames() []string
DisplayNames returns display names of Enum bitflag value
func (RoleSource_Enum) DisplayNamesMap
func (s RoleSource_Enum) DisplayNamesMap() map[int32]string
DisplayNamesMap returns a map of enum display names
func (RoleSource_Enum) Enum
func (x RoleSource_Enum) Enum() *RoleSource_Enum
func (RoleSource_Enum) EnumDescriptor
func (RoleSource_Enum) EnumDescriptor() ([]byte, []int)
Deprecated: Use RoleSource_Enum.Descriptor instead.
func (RoleSource_Enum) Flags
func (s RoleSource_Enum) Flags() []RoleSource_Enum
Flags returns list of Enum values
func (RoleSource_Enum) FlagsInt
func (s RoleSource_Enum) FlagsInt() []int32
FlagsInt returns list of Enum values as int32
func (RoleSource_Enum) GetDescription
func (s RoleSource_Enum) GetDescription() *api.EnumDescription
GetDescription returns Enum description
func (RoleSource_Enum) Meta
func (s RoleSource_Enum) Meta() *api.EnumMeta
Meta returns Enum meta information
func (RoleSource_Enum) NamesMap
func (s RoleSource_Enum) NamesMap() map[int32]string
NamesMap returns map of enum names
func (RoleSource_Enum) Number
func (x RoleSource_Enum) Number() protoreflect.EnumNumber
func (RoleSource_Enum) Parse
func (_ RoleSource_Enum) Parse(val any) RoleSource_Enum
Parse returns Enum value parsed from val
func (RoleSource_Enum) String
func (x RoleSource_Enum) String() string
func (RoleSource_Enum) SupportedNames
func (s RoleSource_Enum) SupportedNames() string
SupportedNames returns string of supported Enum name concatenated by ","
func (RoleSource_Enum) Type
func (RoleSource_Enum) Type() protoreflect.EnumType
func (*RoleSource_Enum) UnmarshalJSON
func (s *RoleSource_Enum) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals Enum from JSON
func (*RoleSource_Enum) UnmarshalYAML
func (s *RoleSource_Enum) UnmarshalYAML(unmarshal func(any) error) error
UnmarshalYAML unmarshals Enum from YAML
func (RoleSource_Enum) ValueNames
func (s RoleSource_Enum) ValueNames() []string
ValueNames returns list of Enum value names
func (RoleSource_Enum) ValueString
func (s RoleSource_Enum) ValueString() string
ValueString returns string of Enum value names concatenated by ","
func (RoleSource_Enum) ValuesMap
func (s RoleSource_Enum) ValuesMap() map[string]int32
ValuesMap returns a map of enum values
type RoleSource\_EnumSlice
type RoleSource_EnumSlice []RoleSource_Enum
type Role\_Enum
Role is assigned org-wide or per project. Roles form a hierarchy for access checks (see authctx.CanAssumeRoles); integer values are not used for comparison.
type Role_Enum int32
const (
// None specifies no role
Role_None Role_Enum = 0
Role_APIKey Role_Enum = 1
// Viewer specifies name for Viewer role
Role_Viewer Role_Enum = 2
// User specifies name for User role
Role_User Role_Enum = 3
// Support specifies name for Support role.
Role_Support Role_Enum = 4
// Billing specifies name for Billing role
Role_Billing Role_Enum = 5
// Security specifies name for Security role
Role_Security Role_Enum = 6
// Admin specifies name for Admin role
Role_Admin Role_Enum = 7
// Owner specifies name for Owner role
Role_Owner Role_Enum = 8
)
func (Role_Enum) Describe
func (s Role_Enum) Describe() map[Role_Enum]*api.EnumMeta
Describe returns Enum meta information for all values
func (Role_Enum) Descriptor
func (Role_Enum) Descriptor() protoreflect.EnumDescriptor
func (Role_Enum) DisplayName
func (s Role_Enum) DisplayName() string
DisplayName returns display name of Enum value
func (Role_Enum) DisplayNames
func (s Role_Enum) DisplayNames() []string
DisplayNames returns display names of Enum bitflag value
func (Role_Enum) DisplayNamesMap
func (s Role_Enum) DisplayNamesMap() map[int32]string
DisplayNamesMap returns a map of enum display names
func (Role_Enum) Enum
func (x Role_Enum) Enum() *Role_Enum
func (Role_Enum) EnumDescriptor
func (Role_Enum) EnumDescriptor() ([]byte, []int)
Deprecated: Use Role_Enum.Descriptor instead.
func (Role_Enum) Flags
func (s Role_Enum) Flags() []Role_Enum
Flags returns list of Enum values
func (Role_Enum) FlagsInt
func (s Role_Enum) FlagsInt() []int32
FlagsInt returns list of Enum values as int32
func (Role_Enum) GetDescription
func (s Role_Enum) GetDescription() *api.EnumDescription
GetDescription returns Enum description
func (Role_Enum) Meta
func (s Role_Enum) Meta() *api.EnumMeta
Meta returns Enum meta information
func (Role_Enum) NamesMap
func (s Role_Enum) NamesMap() map[int32]string
NamesMap returns map of enum names
func (Role_Enum) Number
func (x Role_Enum) Number() protoreflect.EnumNumber
func (Role_Enum) Parse
func (_ Role_Enum) Parse(val any) Role_Enum
Parse returns Enum value parsed from val
func (Role_Enum) String
func (x Role_Enum) String() string
func (Role_Enum) SupportedNames
func (s Role_Enum) SupportedNames() string
SupportedNames returns string of supported Enum name concatenated by ","
func (Role_Enum) Type
func (Role_Enum) Type() protoreflect.EnumType
func (*Role_Enum) UnmarshalJSON
func (s *Role_Enum) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals Enum from JSON
func (*Role_Enum) UnmarshalYAML
func (s *Role_Enum) UnmarshalYAML(unmarshal func(any) error) error
UnmarshalYAML unmarshals Enum from YAML
func (Role_Enum) ValueNames
func (s Role_Enum) ValueNames() []string
ValueNames returns list of Enum value names
func (Role_Enum) ValueString
func (s Role_Enum) ValueString() string
ValueString returns string of Enum value names concatenated by ","
func (Role_Enum) ValuesMap
func (s Role_Enum) ValuesMap() map[string]int32
ValuesMap returns a map of enum values
type Role\_EnumSlice
type Role_EnumSlice []Role_Enum
type RootCertificate
RootCertificate provides X509 Root Certificate information
type RootCertificate struct {
// ID of the root certificate
ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
// OrgID of the owning org; empty for platform roots
OrgID string `protobuf:"bytes,2,opt,name=OrgID,proto3" json:"OrgID,omitempty"`
// SKID provides Subject Key Identifier
SKID string `protobuf:"bytes,3,opt,name=SKID,proto3" json:"SKID,omitempty"`
// NotBefore is the time when the validity period starts in RFC3339 format
NotBefore string `protobuf:"bytes,4,opt,name=NotBefore,proto3" json:"NotBefore,omitempty"`
// NotAfter is the time when the validity period ends in RFC3339 format
NotAfter string `protobuf:"bytes,5,opt,name=NotAfter,proto3" json:"NotAfter,omitempty"`
// Subject name
Subject string `protobuf:"bytes,6,opt,name=Subject,proto3" json:"Subject,omitempty"`
// Sha256 thumbprint of the cert
Sha256 string `protobuf:"bytes,7,opt,name=Sha256,proto3" json:"Sha256,omitempty"`
// Trust scope
Trust Trust_Enum `protobuf:"varint,8,opt,name=Trust,proto3,enum=pb.Trust_Enum" json:"Trust,omitempty"`
// Pem encoded certificate
Pem string `protobuf:"bytes,9,opt,name=Pem,proto3" json:"Pem,omitempty"`
// CreatedAt is the registration time in RFC3339 format
CreatedAt string `protobuf:"bytes,10,opt,name=CreatedAt,proto3" json:"CreatedAt,omitempty"`
// contains filtered or unexported fields
}
func (*RootCertificate) Descriptor
func (*RootCertificate) Descriptor() ([]byte, []int)
Deprecated: Use RootCertificate.ProtoReflect.Descriptor instead.
func (*RootCertificate) GetCreatedAt
func (x *RootCertificate) GetCreatedAt() string
func (*RootCertificate) GetID
func (x *RootCertificate) GetID() string
func (*RootCertificate) GetMessageDescription
func (m *RootCertificate) GetMessageDescription() *api.MessageDescription
func (*RootCertificate) GetNotAfter
func (x *RootCertificate) GetNotAfter() string
func (*RootCertificate) GetNotBefore
func (x *RootCertificate) GetNotBefore() string
func (*RootCertificate) GetOrgID
func (x *RootCertificate) GetOrgID() string
func (*RootCertificate) GetPem
func (x *RootCertificate) GetPem() string
func (*RootCertificate) GetSKID
func (x *RootCertificate) GetSKID() string
func (*RootCertificate) GetSha256
func (x *RootCertificate) GetSha256() string
func (*RootCertificate) GetSubject
func (x *RootCertificate) GetSubject() string
func (*RootCertificate) GetTrust
func (x *RootCertificate) GetTrust() Trust_Enum
func (*RootCertificate) MarshalJSON
func (msg *RootCertificate) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*RootCertificate) Print
func (r *RootCertificate) Print(w io.Writer)
func (*RootCertificate) ProtoMessage
func (*RootCertificate) ProtoMessage()
func (*RootCertificate) ProtoReflect
func (x *RootCertificate) ProtoReflect() protoreflect.Message
func (*RootCertificate) Reset
func (x *RootCertificate) Reset()
func (*RootCertificate) String
func (x *RootCertificate) String() string
func (*RootCertificate) UnmarshalJSON
func (msg *RootCertificate) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type RootsResponse
RootsResponse returns Root Certificates
type RootsResponse struct {
Roots []*RootCertificate `protobuf:"bytes,1,rep,name=Roots,proto3" json:"Roots,omitempty"`
// NextPage specifies pagination information, if there are more pages to
// fetch. If there are no more pages to fetch, NextPage will be empty.
NextPage *NextPage `protobuf:"bytes,2,opt,name=NextPage,proto3" json:"NextPage,omitempty"`
// contains filtered or unexported fields
}
func (*RootsResponse) Descriptor
func (*RootsResponse) Descriptor() ([]byte, []int)
Deprecated: Use RootsResponse.ProtoReflect.Descriptor instead.
func (*RootsResponse) GetMessageDescription
func (m *RootsResponse) GetMessageDescription() *api.MessageDescription
func (*RootsResponse) GetNextPage
func (x *RootsResponse) GetNextPage() *NextPage
func (*RootsResponse) GetRoots
func (x *RootsResponse) GetRoots() []*RootCertificate
func (*RootsResponse) MarshalJSON
func (msg *RootsResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*RootsResponse) Print
func (r *RootsResponse) Print(w io.Writer)
func (*RootsResponse) ProtoMessage
func (*RootsResponse) ProtoMessage()
func (*RootsResponse) ProtoReflect
func (x *RootsResponse) ProtoReflect() protoreflect.Message
func (*RootsResponse) Reset
func (x *RootsResponse) Reset()
func (*RootsResponse) String
func (x *RootsResponse) String() string
func (*RootsResponse) UnmarshalJSON
func (msg *RootsResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type Scope
type Scope struct {
// contains filtered or unexported fields
}
func (*Scope) Descriptor
func (*Scope) Descriptor() ([]byte, []int)
Deprecated: Use Scope.ProtoReflect.Descriptor instead.
func (*Scope) MarshalJSON
func (msg *Scope) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*Scope) ProtoMessage
func (*Scope) ProtoMessage()
func (*Scope) ProtoReflect
func (x *Scope) ProtoReflect() protoreflect.Message
func (*Scope) Reset
func (x *Scope) Reset()
func (*Scope) String
func (x *Scope) String() string
func (*Scope) UnmarshalJSON
func (msg *Scope) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type Scope\_Enum
Scope defines tenancy scopes
type Scope_Enum int32
const (
// Undefined indicates that the scope is undefined
Scope_Undefined Scope_Enum = 0
// Org indicates that the scope is org
Scope_Org Scope_Enum = 1
// Project indicates that the scope is project
Scope_Project Scope_Enum = 2
)
func (Scope_Enum) Describe
func (s Scope_Enum) Describe() map[Scope_Enum]*api.EnumMeta
Describe returns Enum meta information for all values
func (Scope_Enum) Descriptor
func (Scope_Enum) Descriptor() protoreflect.EnumDescriptor
func (Scope_Enum) DisplayName
func (s Scope_Enum) DisplayName() string
DisplayName returns display name of Enum value
func (Scope_Enum) DisplayNames
func (s Scope_Enum) DisplayNames() []string
DisplayNames returns display names of Enum bitflag value
func (Scope_Enum) DisplayNamesMap
func (s Scope_Enum) DisplayNamesMap() map[int32]string
DisplayNamesMap returns a map of enum display names
func (Scope_Enum) Enum
func (x Scope_Enum) Enum() *Scope_Enum
func (Scope_Enum) EnumDescriptor
func (Scope_Enum) EnumDescriptor() ([]byte, []int)
Deprecated: Use Scope_Enum.Descriptor instead.
func (Scope_Enum) Flags
func (s Scope_Enum) Flags() []Scope_Enum
Flags returns list of Enum values
func (Scope_Enum) FlagsInt
func (s Scope_Enum) FlagsInt() []int32
FlagsInt returns list of Enum values as int32
func (Scope_Enum) GetDescription
func (s Scope_Enum) GetDescription() *api.EnumDescription
GetDescription returns Enum description
func (Scope_Enum) Meta
func (s Scope_Enum) Meta() *api.EnumMeta
Meta returns Enum meta information
func (Scope_Enum) NamesMap
func (s Scope_Enum) NamesMap() map[int32]string
NamesMap returns map of enum names
func (Scope_Enum) Number
func (x Scope_Enum) Number() protoreflect.EnumNumber
func (Scope_Enum) Parse
func (_ Scope_Enum) Parse(val any) Scope_Enum
Parse returns Enum value parsed from val
func (Scope_Enum) String
func (x Scope_Enum) String() string
func (Scope_Enum) SupportedNames
func (s Scope_Enum) SupportedNames() string
SupportedNames returns string of supported Enum name concatenated by ","
func (Scope_Enum) Type
func (Scope_Enum) Type() protoreflect.EnumType
func (*Scope_Enum) UnmarshalJSON
func (s *Scope_Enum) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals Enum from JSON
func (*Scope_Enum) UnmarshalYAML
func (s *Scope_Enum) UnmarshalYAML(unmarshal func(any) error) error
UnmarshalYAML unmarshals Enum from YAML
func (Scope_Enum) ValueNames
func (s Scope_Enum) ValueNames() []string
ValueNames returns list of Enum value names
func (Scope_Enum) ValueString
func (s Scope_Enum) ValueString() string
ValueString returns string of Enum value names concatenated by ","
func (Scope_Enum) ValuesMap
func (s Scope_Enum) ValuesMap() map[string]int32
ValuesMap returns a map of enum values
type Scope\_EnumSlice
type Scope_EnumSlice []Scope_Enum
type SelectOrgRequest
SelectOrgRequest specifies a request to switch the token to a specific Org
type SelectOrgRequest struct {
// OrgID specifies the Org to switch to
OrgID string `protobuf:"bytes,1,opt,name=OrgID,proto3" json:"OrgID,omitempty"`
// RememberMe specifies if the cookie should be set for the user.
// Otherwise, if the cookie is used, it will be set for the session only.
RememberMe bool `protobuf:"varint,2,opt,name=RememberMe,proto3" json:"RememberMe,omitempty"`
// contains filtered or unexported fields
}
func (*SelectOrgRequest) Descriptor
func (*SelectOrgRequest) Descriptor() ([]byte, []int)
Deprecated: Use SelectOrgRequest.ProtoReflect.Descriptor instead.
func (*SelectOrgRequest) GetOrgID
func (x *SelectOrgRequest) GetOrgID() string
func (*SelectOrgRequest) GetRememberMe
func (x *SelectOrgRequest) GetRememberMe() bool
func (*SelectOrgRequest) MarshalJSON
func (msg *SelectOrgRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*SelectOrgRequest) ProtoMessage
func (*SelectOrgRequest) ProtoMessage()
func (*SelectOrgRequest) ProtoReflect
func (x *SelectOrgRequest) ProtoReflect() protoreflect.Message
func (*SelectOrgRequest) Reset
func (x *SelectOrgRequest) Reset()
func (*SelectOrgRequest) String
func (x *SelectOrgRequest) String() string
func (*SelectOrgRequest) UnmarshalJSON
func (msg *SelectOrgRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*SelectOrgRequest) Validate
func (m *SelectOrgRequest) Validate(ctx context.Context) error
type ServerStatus
ServerStatus provides server status information
type ServerStatus struct {
// Name of the server or application.
Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
// Nodename is the human-readable name of the cluster member,
// or empty for single host.
Nodename string `protobuf:"bytes,2,opt,name=Nodename,proto3" json:"Nodename,omitempty"`
// Hostname is operating system's host name.
Hostname string `protobuf:"bytes,3,opt,name=Hostname,proto3" json:"Hostname,omitempty"`
// ListenURLs is the list of URLs the service is listening on.
ListenUrls []string `protobuf:"bytes,4,rep,name=ListenUrls,proto3" json:"ListenUrls,omitempty"`
// StartedAt is the time in RFC3339 format.
StartedAt string `protobuf:"bytes,5,opt,name=StartedAt,proto3" json:"StartedAt,omitempty"`
// contains filtered or unexported fields
}
func (*ServerStatus) Descriptor
func (*ServerStatus) Descriptor() ([]byte, []int)
Deprecated: Use ServerStatus.ProtoReflect.Descriptor instead.
func (*ServerStatus) GetHostname
func (x *ServerStatus) GetHostname() string
func (*ServerStatus) GetListenUrls
func (x *ServerStatus) GetListenUrls() []string
func (*ServerStatus) GetName
func (x *ServerStatus) GetName() string
func (*ServerStatus) GetNodename
func (x *ServerStatus) GetNodename() string
func (*ServerStatus) GetStartedAt
func (x *ServerStatus) GetStartedAt() string
func (*ServerStatus) MarshalJSON
func (msg *ServerStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*ServerStatus) ProtoMessage
func (*ServerStatus) ProtoMessage()
func (*ServerStatus) ProtoReflect
func (x *ServerStatus) ProtoReflect() protoreflect.Message
func (*ServerStatus) Reset
func (x *ServerStatus) Reset()
func (*ServerStatus) String
func (x *ServerStatus) String() string
func (*ServerStatus) UnmarshalJSON
func (msg *ServerStatus) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type ServerStatusResponse
ServerStatusResponse returns status and version
type ServerStatusResponse struct {
// Status of the server.
Status *ServerStatus `protobuf:"bytes,1,opt,name=Status,proto3" json:"Status,omitempty"`
// Version of the server.
Version *ServerVersion `protobuf:"bytes,2,opt,name=Version,proto3" json:"Version,omitempty"`
Pods map[string]string `protobuf:"bytes,3,rep,name=Pods,proto3" json:"Pods,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// contains filtered or unexported fields
}
func (*ServerStatusResponse) Descriptor
func (*ServerStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use ServerStatusResponse.ProtoReflect.Descriptor instead.
func (*ServerStatusResponse) GetMessageDescription
func (m *ServerStatusResponse) GetMessageDescription() *api.MessageDescription
func (*ServerStatusResponse) GetPods
func (x *ServerStatusResponse) GetPods() map[string]string
func (*ServerStatusResponse) GetStatus
func (x *ServerStatusResponse) GetStatus() *ServerStatus
func (*ServerStatusResponse) GetVersion
func (x *ServerStatusResponse) GetVersion() *ServerVersion
func (*ServerStatusResponse) MarshalJSON
func (msg *ServerStatusResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*ServerStatusResponse) Print
func (r *ServerStatusResponse) Print(w io.Writer)
func (*ServerStatusResponse) ProtoMessage
func (*ServerStatusResponse) ProtoMessage()
func (*ServerStatusResponse) ProtoReflect
func (x *ServerStatusResponse) ProtoReflect() protoreflect.Message
func (*ServerStatusResponse) Reset
func (x *ServerStatusResponse) Reset()
func (*ServerStatusResponse) String
func (x *ServerStatusResponse) String() string
func (*ServerStatusResponse) UnmarshalJSON
func (msg *ServerStatusResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type ServerVersion
ServerVersion provides server build and runtime version
type ServerVersion struct {
// Build is the server build version.
Build string `protobuf:"bytes,1,opt,name=Build,proto3" json:"Build,omitempty"`
// Runtime is the runtime version.
Runtime string `protobuf:"bytes,2,opt,name=Runtime,proto3" json:"Runtime,omitempty"`
// contains filtered or unexported fields
}
func (*ServerVersion) Descriptor
func (*ServerVersion) Descriptor() ([]byte, []int)
Deprecated: Use ServerVersion.ProtoReflect.Descriptor instead.
func (*ServerVersion) GetBuild
func (x *ServerVersion) GetBuild() string
func (*ServerVersion) GetMessageDescription
func (m *ServerVersion) GetMessageDescription() *api.MessageDescription
func (*ServerVersion) GetRuntime
func (x *ServerVersion) GetRuntime() string
func (*ServerVersion) MarshalJSON
func (msg *ServerVersion) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*ServerVersion) Print
func (r *ServerVersion) Print(w io.Writer)
func (*ServerVersion) ProtoMessage
func (*ServerVersion) ProtoMessage()
func (*ServerVersion) ProtoReflect
func (x *ServerVersion) ProtoReflect() protoreflect.Message
func (*ServerVersion) Reset
func (x *ServerVersion) Reset()
func (*ServerVersion) String
func (x *ServerVersion) String() string
func (*ServerVersion) UnmarshalJSON
func (msg *ServerVersion) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type ServiceAccessInfo
type ServiceAccessInfo struct {
Allowed []*AllowedMethods `protobuf:"bytes,1,rep,name=Allowed,proto3" json:"Allowed,omitempty"`
// contains filtered or unexported fields
}
func (*ServiceAccessInfo) Descriptor
func (*ServiceAccessInfo) Descriptor() ([]byte, []int)
Deprecated: Use ServiceAccessInfo.ProtoReflect.Descriptor instead.
func (*ServiceAccessInfo) GetAllowed
func (x *ServiceAccessInfo) GetAllowed() []*AllowedMethods
func (*ServiceAccessInfo) GetMessageDescription
func (m *ServiceAccessInfo) GetMessageDescription() *api.MessageDescription
func (*ServiceAccessInfo) MarshalJSON
func (msg *ServiceAccessInfo) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*ServiceAccessInfo) ProtoMessage
func (*ServiceAccessInfo) ProtoMessage()
func (*ServiceAccessInfo) ProtoReflect
func (x *ServiceAccessInfo) ProtoReflect() protoreflect.Message
func (*ServiceAccessInfo) Reset
func (x *ServiceAccessInfo) Reset()
func (*ServiceAccessInfo) String
func (x *ServiceAccessInfo) String() string
func (*ServiceAccessInfo) UnmarshalJSON
func (msg *ServiceAccessInfo) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type SignCertificateRequest
SignCertificateRequest specifies certificate sign request
type SignCertificateRequest struct {
// ProjectID of the owning project; recorded on the certificate and used to
// resolve project-scoped profiles and issuers
ProjectID string `protobuf:"bytes,2,opt,name=ProjectID,proto3" json:"ProjectID,omitempty"`
// Profile specifies the certificate profile label
Profile string `protobuf:"bytes,3,opt,name=Profile,proto3" json:"Profile,omitempty"`
// IssuerLabel selects the issuer when the profile binds to "*";
// otherwise it must match the profile's issuer
IssuerLabel string `protobuf:"bytes,4,opt,name=IssuerLabel,proto3" json:"IssuerLabel,omitempty"`
// RequestFormat provides the certificate request format: PEM or DER
RequestFormat EncodingFormat_Enum `protobuf:"varint,5,opt,name=RequestFormat,proto3,enum=pb.EncodingFormat_Enum" json:"RequestFormat,omitempty"`
// Request provides the PKCS#10 certificate request
Request []byte `protobuf:"bytes,6,opt,name=Request,proto3" json:"Request,omitempty"`
// SAN specifies Subject Alternative Names to add or override
SAN []string `protobuf:"bytes,7,rep,name=SAN,proto3" json:"SAN,omitempty"`
// Subject overrides the subject name from the request
Subject *X509Subject `protobuf:"bytes,8,opt,name=Subject,proto3" json:"Subject,omitempty"`
// NotBefore overrides the validity start in RFC3339 format;
// no backdate is applied when provided
NotBefore string `protobuf:"bytes,9,opt,name=NotBefore,proto3" json:"NotBefore,omitempty"`
// NotAfter overrides the validity end in RFC3339 format;
// it must not exceed the profile expiry
NotAfter string `protobuf:"bytes,10,opt,name=NotAfter,proto3" json:"NotAfter,omitempty"`
// Extensions specifies additional extensions to include, subject to the
// profile's AllowedExtensions
Extensions []*X509Extension `protobuf:"bytes,11,rep,name=Extensions,proto3" json:"Extensions,omitempty"`
// Label is provided by the client for search and display
Label string `protobuf:"bytes,12,opt,name=Label,proto3" json:"Label,omitempty"`
// Metadata is provided by the client
Metadata map[string]string `protobuf:"bytes,13,rep,name=Metadata,proto3" json:"Metadata,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// contains filtered or unexported fields
}
func (*SignCertificateRequest) Descriptor
func (*SignCertificateRequest) Descriptor() ([]byte, []int)
Deprecated: Use SignCertificateRequest.ProtoReflect.Descriptor instead.
func (*SignCertificateRequest) GetExtensions
func (x *SignCertificateRequest) GetExtensions() []*X509Extension
func (*SignCertificateRequest) GetIssuerLabel
func (x *SignCertificateRequest) GetIssuerLabel() string
func (*SignCertificateRequest) GetLabel
func (x *SignCertificateRequest) GetLabel() string
func (*SignCertificateRequest) GetMetadata
func (x *SignCertificateRequest) GetMetadata() map[string]string
func (*SignCertificateRequest) GetNotAfter
func (x *SignCertificateRequest) GetNotAfter() string
func (*SignCertificateRequest) GetNotBefore
func (x *SignCertificateRequest) GetNotBefore() string
func (*SignCertificateRequest) GetProfile
func (x *SignCertificateRequest) GetProfile() string
func (*SignCertificateRequest) GetProjectID
func (x *SignCertificateRequest) GetProjectID() string
func (*SignCertificateRequest) GetRequest
func (x *SignCertificateRequest) GetRequest() []byte
func (*SignCertificateRequest) GetRequestFormat
func (x *SignCertificateRequest) GetRequestFormat() EncodingFormat_Enum
func (*SignCertificateRequest) GetSAN
func (x *SignCertificateRequest) GetSAN() []string
func (*SignCertificateRequest) GetSubject
func (x *SignCertificateRequest) GetSubject() *X509Subject
func (*SignCertificateRequest) MarshalJSON
func (msg *SignCertificateRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*SignCertificateRequest) ProtoMessage
func (*SignCertificateRequest) ProtoMessage()
func (*SignCertificateRequest) ProtoReflect
func (x *SignCertificateRequest) ProtoReflect() protoreflect.Message
func (*SignCertificateRequest) Reset
func (x *SignCertificateRequest) Reset()
func (*SignCertificateRequest) String
func (x *SignCertificateRequest) String() string
func (*SignCertificateRequest) UnmarshalJSON
func (msg *SignCertificateRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*SignCertificateRequest) Validate
func (m *SignCertificateRequest) Validate(ctx context.Context) error
type StatusClient
StatusClient is the client API for Status service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
type StatusClient interface {
// Version returns the server version.
Version(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ServerVersion, error)
// Server returns the server status.
Server(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ServerStatusResponse, error)
}
func NewStatusClient
func NewStatusClient(cc grpc.ClientConnInterface) StatusClient
type StatusServer
StatusServer is the server API for Status service. All implementations should embed UnimplementedStatusServer for forward compatibility.
type StatusServer interface {
// Version returns the server version.
Version(context.Context, *emptypb.Empty) (*ServerVersion, error)
// Server returns the server status.
Server(context.Context, *emptypb.Empty) (*ServerStatusResponse, error)
}
type SummaryResponse
SummaryResponse returns the counts of the rows of the scope at the time of the request. The counts are exact: a count of the certificates of a scope reads their index entries, so it grows with the tenant.
type SummaryResponse struct {
// At is the time of the counts, RFC3339
At string `protobuf:"bytes,1,opt,name=At,proto3" json:"At,omitempty"`
// Issuers counts the issuers by lifecycle status; every status is
// reported, with a zero count when the scope has none
Issuers []*IssuerStatusCount `protobuf:"bytes,2,rep,name=Issuers,proto3" json:"Issuers,omitempty"`
// Certificates counts the certificates by status; every status is
// reported, with a zero count when the scope has none
Certificates []*CertificateStatusCount `protobuf:"bytes,3,rep,name=Certificates,proto3" json:"Certificates,omitempty"`
// Expiring counts the Active certificates whose validity ends within
// the days after At. The buckets are cumulative: 7, 30 and 90 days. A
// certificate past its NotAfter is expired, not expiring, whatever its
// status.
Expiring []*ExpiryBucket `protobuf:"bytes,4,rep,name=Expiring,proto3" json:"Expiring,omitempty"`
// Crls counts the issuers that publish CRLs by the state of their CRL
Crls *CrlCounts `protobuf:"bytes,5,opt,name=Crls,proto3" json:"Crls,omitempty"`
// contains filtered or unexported fields
}
func (*SummaryResponse) Descriptor
func (*SummaryResponse) Descriptor() ([]byte, []int)
Deprecated: Use SummaryResponse.ProtoReflect.Descriptor instead.
func (*SummaryResponse) GetAt
func (x *SummaryResponse) GetAt() string
func (*SummaryResponse) GetCertificates
func (x *SummaryResponse) GetCertificates() []*CertificateStatusCount
func (*SummaryResponse) GetCrls
func (x *SummaryResponse) GetCrls() *CrlCounts
func (*SummaryResponse) GetExpiring
func (x *SummaryResponse) GetExpiring() []*ExpiryBucket
func (*SummaryResponse) GetIssuers
func (x *SummaryResponse) GetIssuers() []*IssuerStatusCount
func (*SummaryResponse) GetMessageDescription
func (m *SummaryResponse) GetMessageDescription() *api.MessageDescription
func (*SummaryResponse) MarshalJSON
func (msg *SummaryResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*SummaryResponse) Print
func (r *SummaryResponse) Print(w io.Writer)
func (*SummaryResponse) ProtoMessage
func (*SummaryResponse) ProtoMessage()
func (*SummaryResponse) ProtoReflect
func (x *SummaryResponse) ProtoReflect() protoreflect.Message
func (*SummaryResponse) Reset
func (x *SummaryResponse) Reset()
func (*SummaryResponse) String
func (x *SummaryResponse) String() string
func (*SummaryResponse) UnmarshalJSON
func (msg *SummaryResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type Token
Token is returned to the client
type Token struct {
TokenType string `protobuf:"bytes,1,opt,name=TokenType,proto3" json:"TokenType,omitempty"`
AccessToken string `protobuf:"bytes,2,opt,name=AccessToken,proto3" json:"AccessToken,omitempty"`
Jkt string `protobuf:"bytes,3,opt,name=Jkt,proto3" json:"Jkt,omitempty"`
// ExpiresAt returns time in RFC3339 format
ExpiresAt string `protobuf:"bytes,4,opt,name=ExpiresAt,proto3" json:"ExpiresAt,omitempty"`
// IssuedAt returns time in RFC3339 format
IssuedAt string `protobuf:"bytes,5,opt,name=IssuedAt,proto3" json:"IssuedAt,omitempty"`
Issuer string `protobuf:"bytes,6,opt,name=Issuer,proto3" json:"Issuer,omitempty"`
Audience string `protobuf:"bytes,7,opt,name=Audience,proto3" json:"Audience,omitempty"`
Provider IDP_Enum `protobuf:"varint,8,opt,name=Provider,proto3,enum=pb.IDP_Enum" json:"Provider,omitempty"`
ExpiresIn uint32 `protobuf:"varint,9,opt,name=ExpiresIn,proto3" json:"ExpiresIn,omitempty"`
// contains filtered or unexported fields
}
func (*Token) Descriptor
func (*Token) Descriptor() ([]byte, []int)
Deprecated: Use Token.ProtoReflect.Descriptor instead.
func (*Token) GetAccessToken
func (x *Token) GetAccessToken() string
func (*Token) GetAudience
func (x *Token) GetAudience() string
func (*Token) GetExpiresAt
func (x *Token) GetExpiresAt() string
func (*Token) GetExpiresIn
func (x *Token) GetExpiresIn() uint32
func (*Token) GetIssuedAt
func (x *Token) GetIssuedAt() string
func (*Token) GetIssuer
func (x *Token) GetIssuer() string
func (*Token) GetJkt
func (x *Token) GetJkt() string
func (*Token) GetMessageDescription
func (m *Token) GetMessageDescription() *api.MessageDescription
func (*Token) GetProvider
func (x *Token) GetProvider() IDP_Enum
func (*Token) GetTokenType
func (x *Token) GetTokenType() string
func (*Token) MarshalJSON
func (msg *Token) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*Token) Print
func (r *Token) Print(w io.Writer)
func (*Token) ProtoMessage
func (*Token) ProtoMessage()
func (*Token) ProtoReflect
func (x *Token) ProtoReflect() protoreflect.Message
func (*Token) Reset
func (x *Token) Reset()
func (*Token) String
func (x *Token) String() string
func (*Token) UnmarshalJSON
func (msg *Token) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type Trust
type Trust struct {
// contains filtered or unexported fields
}
func (*Trust) Descriptor
func (*Trust) Descriptor() ([]byte, []int)
Deprecated: Use Trust.ProtoReflect.Descriptor instead.
func (*Trust) MarshalJSON
func (msg *Trust) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*Trust) ProtoMessage
func (*Trust) ProtoMessage()
func (*Trust) ProtoReflect
func (x *Trust) ProtoReflect() protoreflect.Message
func (*Trust) Reset
func (x *Trust) Reset()
func (*Trust) String
func (x *Trust) String() string
func (*Trust) UnmarshalJSON
func (msg *Trust) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type Trust\_Enum
Trust defines the trust scope of a root certificate
type Trust_Enum int32
const (
// Any indicates any trust scope
Trust_Any Trust_Enum = 0
// Public indicates a publicly trusted root
Trust_Public Trust_Enum = 1
// Private indicates a private (enterprise) root
Trust_Private Trust_Enum = 2
)
func (Trust_Enum) Describe
func (s Trust_Enum) Describe() map[Trust_Enum]*api.EnumMeta
Describe returns Enum meta information for all values
func (Trust_Enum) Descriptor
func (Trust_Enum) Descriptor() protoreflect.EnumDescriptor
func (Trust_Enum) DisplayName
func (s Trust_Enum) DisplayName() string
DisplayName returns display name of Enum value
func (Trust_Enum) DisplayNames
func (s Trust_Enum) DisplayNames() []string
DisplayNames returns display names of Enum bitflag value
func (Trust_Enum) DisplayNamesMap
func (s Trust_Enum) DisplayNamesMap() map[int32]string
DisplayNamesMap returns a map of enum display names
func (Trust_Enum) Enum
func (x Trust_Enum) Enum() *Trust_Enum
func (Trust_Enum) EnumDescriptor
func (Trust_Enum) EnumDescriptor() ([]byte, []int)
Deprecated: Use Trust_Enum.Descriptor instead.
func (Trust_Enum) Flags
func (s Trust_Enum) Flags() []Trust_Enum
Flags returns list of Enum values
func (Trust_Enum) FlagsInt
func (s Trust_Enum) FlagsInt() []int32
FlagsInt returns list of Enum values as int32
func (Trust_Enum) GetDescription
func (s Trust_Enum) GetDescription() *api.EnumDescription
GetDescription returns Enum description
func (Trust_Enum) Meta
func (s Trust_Enum) Meta() *api.EnumMeta
Meta returns Enum meta information
func (Trust_Enum) NamesMap
func (s Trust_Enum) NamesMap() map[int32]string
NamesMap returns map of enum names
func (Trust_Enum) Number
func (x Trust_Enum) Number() protoreflect.EnumNumber
func (Trust_Enum) Parse
func (_ Trust_Enum) Parse(val any) Trust_Enum
Parse returns Enum value parsed from val
func (Trust_Enum) String
func (x Trust_Enum) String() string
func (Trust_Enum) SupportedNames
func (s Trust_Enum) SupportedNames() string
SupportedNames returns string of supported Enum name concatenated by ","
func (Trust_Enum) Type
func (Trust_Enum) Type() protoreflect.EnumType
func (*Trust_Enum) UnmarshalJSON
func (s *Trust_Enum) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals Enum from JSON
func (*Trust_Enum) UnmarshalYAML
func (s *Trust_Enum) UnmarshalYAML(unmarshal func(any) error) error
UnmarshalYAML unmarshals Enum from YAML
func (Trust_Enum) ValueNames
func (s Trust_Enum) ValueNames() []string
ValueNames returns list of Enum value names
func (Trust_Enum) ValueString
func (s Trust_Enum) ValueString() string
ValueString returns string of Enum value names concatenated by ","
func (Trust_Enum) ValuesMap
func (s Trust_Enum) ValuesMap() map[string]int32
ValuesMap returns a map of enum values
type Trust\_EnumSlice
type Trust_EnumSlice []Trust_Enum
type UnimplementedAuthServer
UnimplementedAuthServer should be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
type UnimplementedAuthServer struct{}
func (UnimplementedAuthServer) AuthenticateAPIKey
func (UnimplementedAuthServer) AuthenticateAPIKey(context.Context, *emptypb.Empty) (*UserTokenResponse, error)
func (UnimplementedAuthServer) Caller
func (UnimplementedAuthServer) Caller(context.Context, *emptypb.Empty) (*CallerStatusResponse, error)
func (UnimplementedAuthServer) ExchangeCode
func (UnimplementedAuthServer) ExchangeCode(context.Context, *ExchangeCodeRequest) (*Token, error)
func (UnimplementedAuthServer) GetAllowedMethods
func (UnimplementedAuthServer) GetAllowedMethods(context.Context, *emptypb.Empty) (*ServiceAccessInfo, error)
func (UnimplementedAuthServer) GetCallerScope
func (UnimplementedAuthServer) GetCallerScope(context.Context, *emptypb.Empty) (*CallerScope, error)
func (UnimplementedAuthServer) GetProviders
func (UnimplementedAuthServer) GetProviders(context.Context, *AuthProvidersRequest) (*AuthProvidersResponse, error)
func (UnimplementedAuthServer) GetUserToken
func (UnimplementedAuthServer) GetUserToken(context.Context, *emptypb.Empty) (*UserTokenResponse, error)
func (UnimplementedAuthServer) RevokeToken
func (UnimplementedAuthServer) RevokeToken(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
func (UnimplementedAuthServer) SelectOrg
func (UnimplementedAuthServer) SelectOrg(context.Context, *SelectOrgRequest) (*UserTokenResponse, error)
type UnimplementedCAServer
UnimplementedCAServer should be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
type UnimplementedCAServer struct{}
func (UnimplementedCAServer) ActivateIssuer
func (UnimplementedCAServer) ActivateIssuer(context.Context, *ActivateIssuerRequest) (*Issuer, error)
func (UnimplementedCAServer) DeleteProfile
func (UnimplementedCAServer) DeleteProfile(context.Context, *DeleteProfileRequest) (*emptypb.Empty, error)
func (UnimplementedCAServer) GetCRL
func (UnimplementedCAServer) GetCRL(context.Context, *GetCrlRequest) (*CrlResponse, error)
func (UnimplementedCAServer) GetCertificate
func (UnimplementedCAServer) GetCertificate(context.Context, *GetCertificateRequest) (*CertificateResponse, error)
func (UnimplementedCAServer) GetIssuer
func (UnimplementedCAServer) GetIssuer(context.Context, *GetIssuerRequest) (*Issuer, error)
func (UnimplementedCAServer) GetProfile
func (UnimplementedCAServer) GetProfile(context.Context, *GetProfileRequest) (*CertProfile, error)
func (UnimplementedCAServer) GetSummary
func (UnimplementedCAServer) GetSummary(context.Context, *GetSummaryRequest) (*SummaryResponse, error)
func (UnimplementedCAServer) ImportIssuer
func (UnimplementedCAServer) ImportIssuer(context.Context, *ImportIssuerRequest) (*Issuer, error)
func (UnimplementedCAServer) ListCertificates
func (UnimplementedCAServer) ListCertificates(context.Context, *ListCertificatesRequest) (*CertificatesResponse, error)
func (UnimplementedCAServer) ListIssuers
func (UnimplementedCAServer) ListIssuers(context.Context, *ListIssuersRequest) (*IssuersResponse, error)
func (UnimplementedCAServer) ListProfiles
func (UnimplementedCAServer) ListProfiles(context.Context, *ListProfilesRequest) (*ProfilesResponse, error)
func (UnimplementedCAServer) ListRevokedCertificates
func (UnimplementedCAServer) ListRevokedCertificates(context.Context, *ListRevokedCertificatesRequest) (*RevokedCertificatesResponse, error)
func (UnimplementedCAServer) ListRoots
func (UnimplementedCAServer) ListRoots(context.Context, *ListRootsRequest) (*RootsResponse, error)
func (UnimplementedCAServer) PublishCrls
func (UnimplementedCAServer) PublishCrls(context.Context, *PublishCrlsRequest) (*CrlsResponse, error)
func (UnimplementedCAServer) RegisterIssuer
func (UnimplementedCAServer) RegisterIssuer(context.Context, *RegisterIssuerRequest) (*Issuer, error)
func (UnimplementedCAServer) RegisterProfile
func (UnimplementedCAServer) RegisterProfile(context.Context, *RegisterProfileRequest) (*CertProfile, error)
func (UnimplementedCAServer) RegisterRoot
func (UnimplementedCAServer) RegisterRoot(context.Context, *RegisterRootRequest) (*RootCertificate, error)
func (UnimplementedCAServer) RevokeCertificate
func (UnimplementedCAServer) RevokeCertificate(context.Context, *RevokeCertificateRequest) (*RevokedCertificateResponse, error)
func (UnimplementedCAServer) SignCertificate
func (UnimplementedCAServer) SignCertificate(context.Context, *SignCertificateRequest) (*CertificateResponse, error)
func (UnimplementedCAServer) SignOCSP
func (UnimplementedCAServer) SignOCSP(context.Context, *OCSPRequest) (*OCSPResponse, error)
func (UnimplementedCAServer) UpdateCertificateLabel
func (UnimplementedCAServer) UpdateCertificateLabel(context.Context, *UpdateCertificateLabelRequest) (*CertificateResponse, error)
func (UnimplementedCAServer) UpdateIssuer
func (UnimplementedCAServer) UpdateIssuer(context.Context, *UpdateIssuerRequest) (*Issuer, error)
type UnimplementedCISServer
UnimplementedCISServer should be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
type UnimplementedCISServer struct{}
func (UnimplementedCISServer) GetCRL
func (UnimplementedCISServer) GetCRL(context.Context, *GetCrlRequest) (*CrlResponse, error)
func (UnimplementedCISServer) GetCertificate
func (UnimplementedCISServer) GetCertificate(context.Context, *GetCertificateInfoRequest) (*CertificateResponse, error)
func (UnimplementedCISServer) GetCertificateStatus
func (UnimplementedCISServer) GetCertificateStatus(context.Context, *GetCertificateInfoRequest) (*CertificateStatusResponse, error)
func (UnimplementedCISServer) GetIssuer
func (UnimplementedCISServer) GetIssuer(context.Context, *GetIssuerInfoRequest) (*IssuerInfo, error)
func (UnimplementedCISServer) GetRoots
func (UnimplementedCISServer) GetRoots(context.Context, *GetRootsRequest) (*RootsResponse, error)
type UnimplementedOrgsServer
UnimplementedOrgsServer should be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
type UnimplementedOrgsServer struct{}
func (UnimplementedOrgsServer) AddMember
func (UnimplementedOrgsServer) AddMember(context.Context, *AddMemberRequest) (*AddMemberResponse, error)
func (UnimplementedOrgsServer) ChangeMemberRole
func (UnimplementedOrgsServer) ChangeMemberRole(context.Context, *ChangeMemberRoleRequest) (*Membership, error)
func (UnimplementedOrgsServer) CreateAPIKey
func (UnimplementedOrgsServer) CreateAPIKey(context.Context, *CreateAPIKeyRequest) (*APIKey, error)
func (UnimplementedOrgsServer) DeleteAPIKey
func (UnimplementedOrgsServer) DeleteAPIKey(context.Context, *APIKeyRequest) (*RecordsResult, error)
func (UnimplementedOrgsServer) DeleteInvite
func (UnimplementedOrgsServer) DeleteInvite(context.Context, *DeleteInviteRequest) (*emptypb.Empty, error)
func (UnimplementedOrgsServer) DeleteMember
func (UnimplementedOrgsServer) DeleteMember(context.Context, *DeleteMemberRequest) (*emptypb.Empty, error)
func (UnimplementedOrgsServer) DeleteOrg
func (UnimplementedOrgsServer) DeleteOrg(context.Context, *emptypb.Empty) (*Org, error)
func (UnimplementedOrgsServer) DeleteProject
func (UnimplementedOrgsServer) DeleteProject(context.Context, *DeleteProjectRequest) (*Project, error)
func (UnimplementedOrgsServer) GetMembers
func (UnimplementedOrgsServer) GetMembers(context.Context, *GetMembersRequest) (*MembersResponse, error)
func (UnimplementedOrgsServer) GetOrg
func (UnimplementedOrgsServer) GetOrg(context.Context, *emptypb.Empty) (*Org, error)
func (UnimplementedOrgsServer) GetProject
func (UnimplementedOrgsServer) GetProject(context.Context, *GetProjectRequest) (*Project, error)
func (UnimplementedOrgsServer) GetUserMemberships
func (UnimplementedOrgsServer) GetUserMemberships(context.Context, *emptypb.Empty) (*UserMemberships, error)
func (UnimplementedOrgsServer) GetUserOrgs
func (UnimplementedOrgsServer) GetUserOrgs(context.Context, *emptypb.Empty) (*UserOrgsResponse, error)
func (UnimplementedOrgsServer) ListAPIKeys
func (UnimplementedOrgsServer) ListAPIKeys(context.Context, *ListAPIKeysRequest) (*APIKeysResponse, error)
func (UnimplementedOrgsServer) ListEvents
func (UnimplementedOrgsServer) ListEvents(context.Context, *ListEventsRequest) (*EventsResponse, error)
func (UnimplementedOrgsServer) ListProjects
func (UnimplementedOrgsServer) ListProjects(context.Context, *ListProjectsRequest) (*ProjectsResponse, error)
func (UnimplementedOrgsServer) RegisterOrg
func (UnimplementedOrgsServer) RegisterOrg(context.Context, *RegisterOrgRequest) (*Org, error)
func (UnimplementedOrgsServer) RegisterProject
func (UnimplementedOrgsServer) RegisterProject(context.Context, *RegisterProjectRequest) (*Project, error)
func (UnimplementedOrgsServer) UpdateOrg
func (UnimplementedOrgsServer) UpdateOrg(context.Context, *UpdateOrgRequest) (*Org, error)
func (UnimplementedOrgsServer) UpdateProject
func (UnimplementedOrgsServer) UpdateProject(context.Context, *UpdateProjectRequest) (*Project, error)
type UnimplementedStatusServer
UnimplementedStatusServer should be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
type UnimplementedStatusServer struct{}
func (UnimplementedStatusServer) Server
func (UnimplementedStatusServer) Server(context.Context, *emptypb.Empty) (*ServerStatusResponse, error)
func (UnimplementedStatusServer) Version
func (UnimplementedStatusServer) Version(context.Context, *emptypb.Empty) (*ServerVersion, error)
type UnsafeAuthServer
UnsafeAuthServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AuthServer will result in compilation errors.
type UnsafeAuthServer interface {
// contains filtered or unexported methods
}
type UnsafeCAServer
UnsafeCAServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CAServer will result in compilation errors.
type UnsafeCAServer interface {
// contains filtered or unexported methods
}
type UnsafeCISServer
UnsafeCISServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CISServer will result in compilation errors.
type UnsafeCISServer interface {
// contains filtered or unexported methods
}
type UnsafeOrgsServer
UnsafeOrgsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OrgsServer will result in compilation errors.
type UnsafeOrgsServer interface {
// contains filtered or unexported methods
}
type UnsafeStatusServer
UnsafeStatusServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to StatusServer will result in compilation errors.
type UnsafeStatusServer interface {
// contains filtered or unexported methods
}
type UpdateCertificateLabelRequest
UpdateCertificateLabelRequest specifies certificate label update request
type UpdateCertificateLabelRequest struct {
// ID specifies certificate ID
ID string `protobuf:"bytes,2,opt,name=ID,proto3" json:"ID,omitempty"`
// Label is provided by the client
Label string `protobuf:"bytes,3,opt,name=Label,proto3" json:"Label,omitempty"`
// Metadata replaces the client metadata when provided
Metadata map[string]string `protobuf:"bytes,4,rep,name=Metadata,proto3" json:"Metadata,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// ProjectID of the certificate's project. A caller whose role is granted
// in the project only must name it, since the request is authorized at
// that scope; the certificate must belong to it.
ProjectID string `protobuf:"bytes,5,opt,name=ProjectID,proto3" json:"ProjectID,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateCertificateLabelRequest) Descriptor
func (*UpdateCertificateLabelRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCertificateLabelRequest.ProtoReflect.Descriptor instead.
func (*UpdateCertificateLabelRequest) GetID
func (x *UpdateCertificateLabelRequest) GetID() string
func (*UpdateCertificateLabelRequest) GetLabel
func (x *UpdateCertificateLabelRequest) GetLabel() string
func (*UpdateCertificateLabelRequest) GetMetadata
func (x *UpdateCertificateLabelRequest) GetMetadata() map[string]string
func (*UpdateCertificateLabelRequest) GetProjectID
func (x *UpdateCertificateLabelRequest) GetProjectID() string
func (*UpdateCertificateLabelRequest) MarshalJSON
func (msg *UpdateCertificateLabelRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*UpdateCertificateLabelRequest) ProtoMessage
func (*UpdateCertificateLabelRequest) ProtoMessage()
func (*UpdateCertificateLabelRequest) ProtoReflect
func (x *UpdateCertificateLabelRequest) ProtoReflect() protoreflect.Message
func (*UpdateCertificateLabelRequest) Reset
func (x *UpdateCertificateLabelRequest) Reset()
func (*UpdateCertificateLabelRequest) String
func (x *UpdateCertificateLabelRequest) String() string
func (*UpdateCertificateLabelRequest) UnmarshalJSON
func (msg *UpdateCertificateLabelRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*UpdateCertificateLabelRequest) Validate
func (m *UpdateCertificateLabelRequest) Validate(ctx context.Context) error
type UpdateIssuerRequest
UpdateIssuerRequest updates issuer config or status
type UpdateIssuerRequest struct {
// ID of the issuer
ID string `protobuf:"bytes,2,opt,name=ID,proto3" json:"ID,omitempty"`
// Config replaces runtime settings when provided
Config *IssuerConfig `protobuf:"bytes,3,opt,name=Config,proto3" json:"Config,omitempty"`
// Status changes the status when provided: Archived or Destroyed
Status IssuerStatus_Enum `protobuf:"varint,4,opt,name=Status,proto3,enum=pb.IssuerStatus_Enum" json:"Status,omitempty"`
// ProjectID of the issuer's project. A caller whose role is granted
// in the project only must name it, since the request is authorized at
// that scope; the issuer must belong to it.
ProjectID string `protobuf:"bytes,5,opt,name=ProjectID,proto3" json:"ProjectID,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateIssuerRequest) Descriptor
func (*UpdateIssuerRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateIssuerRequest.ProtoReflect.Descriptor instead.
func (*UpdateIssuerRequest) GetConfig
func (x *UpdateIssuerRequest) GetConfig() *IssuerConfig
func (*UpdateIssuerRequest) GetID
func (x *UpdateIssuerRequest) GetID() string
func (*UpdateIssuerRequest) GetProjectID
func (x *UpdateIssuerRequest) GetProjectID() string
func (*UpdateIssuerRequest) GetStatus
func (x *UpdateIssuerRequest) GetStatus() IssuerStatus_Enum
func (*UpdateIssuerRequest) MarshalJSON
func (msg *UpdateIssuerRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*UpdateIssuerRequest) ProtoMessage
func (*UpdateIssuerRequest) ProtoMessage()
func (*UpdateIssuerRequest) ProtoReflect
func (x *UpdateIssuerRequest) ProtoReflect() protoreflect.Message
func (*UpdateIssuerRequest) Reset
func (x *UpdateIssuerRequest) Reset()
func (*UpdateIssuerRequest) String
func (x *UpdateIssuerRequest) String() string
func (*UpdateIssuerRequest) UnmarshalJSON
func (msg *UpdateIssuerRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*UpdateIssuerRequest) Validate
func (m *UpdateIssuerRequest) Validate(ctx context.Context) error
type UpdateOrgRequest
UpdateOrgRequest updates the org selected in the token
type UpdateOrgRequest struct {
Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
Description string `protobuf:"bytes,2,opt,name=Description,proto3" json:"Description,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateOrgRequest) Descriptor
func (*UpdateOrgRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateOrgRequest.ProtoReflect.Descriptor instead.
func (*UpdateOrgRequest) GetDescription
func (x *UpdateOrgRequest) GetDescription() string
func (*UpdateOrgRequest) GetName
func (x *UpdateOrgRequest) GetName() string
func (*UpdateOrgRequest) MarshalJSON
func (msg *UpdateOrgRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*UpdateOrgRequest) ProtoMessage
func (*UpdateOrgRequest) ProtoMessage()
func (*UpdateOrgRequest) ProtoReflect
func (x *UpdateOrgRequest) ProtoReflect() protoreflect.Message
func (*UpdateOrgRequest) Reset
func (x *UpdateOrgRequest) Reset()
func (*UpdateOrgRequest) String
func (x *UpdateOrgRequest) String() string
func (*UpdateOrgRequest) UnmarshalJSON
func (msg *UpdateOrgRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*UpdateOrgRequest) Validate
func (m *UpdateOrgRequest) Validate(ctx context.Context) error
type UpdateProjectRequest
UpdateProjectRequest specifies request to update a project
type UpdateProjectRequest struct {
ProjectID string `protobuf:"bytes,1,opt,name=ProjectID,proto3" json:"ProjectID,omitempty"`
Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
Description string `protobuf:"bytes,3,opt,name=Description,proto3" json:"Description,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateProjectRequest) Descriptor
func (*UpdateProjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateProjectRequest.ProtoReflect.Descriptor instead.
func (*UpdateProjectRequest) GetDescription
func (x *UpdateProjectRequest) GetDescription() string
func (*UpdateProjectRequest) GetName
func (x *UpdateProjectRequest) GetName() string
func (*UpdateProjectRequest) GetProjectID
func (x *UpdateProjectRequest) GetProjectID() string
func (*UpdateProjectRequest) MarshalJSON
func (msg *UpdateProjectRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*UpdateProjectRequest) ProtoMessage
func (*UpdateProjectRequest) ProtoMessage()
func (*UpdateProjectRequest) ProtoReflect
func (x *UpdateProjectRequest) ProtoReflect() protoreflect.Message
func (*UpdateProjectRequest) Reset
func (x *UpdateProjectRequest) Reset()
func (*UpdateProjectRequest) String
func (x *UpdateProjectRequest) String() string
func (*UpdateProjectRequest) UnmarshalJSON
func (msg *UpdateProjectRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*UpdateProjectRequest) Validate
func (m *UpdateProjectRequest) Validate(ctx context.Context) error
type UserInfo
UserInfo provides basic info about user
type UserInfo struct {
ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
Email string `protobuf:"bytes,3,opt,name=Email,proto3" json:"Email,omitempty"`
EmailVerified bool `protobuf:"varint,4,opt,name=EmailVerified,proto3" json:"EmailVerified,omitempty"`
// Role is the role of the user in the application.
// For most of the users, the role is "user".
Role string `protobuf:"bytes,5,opt,name=Role,proto3" json:"Role,omitempty"`
// Orgs maps the IDs of the orgs the user can select to the resolved role
Orgs map[string]string `protobuf:"bytes,6,rep,name=Orgs,proto3" json:"Orgs,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// OrgID is the org selected in the token
OrgID string `protobuf:"bytes,7,opt,name=OrgID,proto3" json:"OrgID,omitempty"`
// OrgRole is the resolved role in the selected org: the explicit org-wide
// role, or Viewer derived from project grants
OrgRole string `protobuf:"bytes,8,opt,name=OrgRole,proto3" json:"OrgRole,omitempty"`
// OrgRoleSource is "direct" for an explicit org-wide grant or "project"
// for a derived Viewer classification
OrgRoleSource string `protobuf:"bytes,9,opt,name=OrgRoleSource,proto3" json:"OrgRoleSource,omitempty"`
// contains filtered or unexported fields
}
func (*UserInfo) Descriptor
func (*UserInfo) Descriptor() ([]byte, []int)
Deprecated: Use UserInfo.ProtoReflect.Descriptor instead.
func (*UserInfo) GetEmail
func (x *UserInfo) GetEmail() string
func (*UserInfo) GetEmailVerified
func (x *UserInfo) GetEmailVerified() bool
func (*UserInfo) GetID
func (x *UserInfo) GetID() string
func (*UserInfo) GetName
func (x *UserInfo) GetName() string
func (*UserInfo) GetOrgID
func (x *UserInfo) GetOrgID() string
func (*UserInfo) GetOrgRole
func (x *UserInfo) GetOrgRole() string
func (*UserInfo) GetOrgRoleSource
func (x *UserInfo) GetOrgRoleSource() string
func (*UserInfo) GetOrgs
func (x *UserInfo) GetOrgs() map[string]string
func (*UserInfo) GetRole
func (x *UserInfo) GetRole() string
func (*UserInfo) MarshalJSON
func (msg *UserInfo) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*UserInfo) Print
func (r *UserInfo) Print(w io.Writer)
func (*UserInfo) ProtoMessage
func (*UserInfo) ProtoMessage()
func (*UserInfo) ProtoReflect
func (x *UserInfo) ProtoReflect() protoreflect.Message
func (*UserInfo) Reset
func (x *UserInfo) Reset()
func (*UserInfo) String
func (x *UserInfo) String() string
func (*UserInfo) UnmarshalJSON
func (msg *UserInfo) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type UserMemberships
UserMemberships provides the caller's access to the selected org
type UserMemberships struct {
// Org is the resolved org access
Org *OrgAccess `protobuf:"bytes,1,opt,name=Org,proto3" json:"Org,omitempty"`
// Memberships are the caller's explicit grants in the org: the org-wide
// grant (empty ProjectID) and one per project grant
Memberships []*Membership `protobuf:"bytes,2,rep,name=Memberships,proto3" json:"Memberships,omitempty"`
// contains filtered or unexported fields
}
func (*UserMemberships) Descriptor
func (*UserMemberships) Descriptor() ([]byte, []int)
Deprecated: Use UserMemberships.ProtoReflect.Descriptor instead.
func (*UserMemberships) GetMemberships
func (x *UserMemberships) GetMemberships() []*Membership
func (*UserMemberships) GetMessageDescription
func (m *UserMemberships) GetMessageDescription() *api.MessageDescription
func (*UserMemberships) GetOrg
func (x *UserMemberships) GetOrg() *OrgAccess
func (*UserMemberships) MarshalJSON
func (msg *UserMemberships) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*UserMemberships) Print
func (r *UserMemberships) Print(w io.Writer)
func (*UserMemberships) ProtoMessage
func (*UserMemberships) ProtoMessage()
func (*UserMemberships) ProtoReflect
func (x *UserMemberships) ProtoReflect() protoreflect.Message
func (*UserMemberships) Reset
func (x *UserMemberships) Reset()
func (*UserMemberships) String
func (x *UserMemberships) String() string
func (*UserMemberships) UnmarshalJSON
func (msg *UserMemberships) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type UserOrgsResponse
UserOrgsResponse provides the orgs the caller can select
type UserOrgsResponse struct {
Orgs []*OrgAccess `protobuf:"bytes,1,rep,name=Orgs,proto3" json:"Orgs,omitempty"`
// contains filtered or unexported fields
}
func (*UserOrgsResponse) Descriptor
func (*UserOrgsResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserOrgsResponse.ProtoReflect.Descriptor instead.
func (*UserOrgsResponse) GetMessageDescription
func (m *UserOrgsResponse) GetMessageDescription() *api.MessageDescription
func (*UserOrgsResponse) GetOrgs
func (x *UserOrgsResponse) GetOrgs() []*OrgAccess
func (*UserOrgsResponse) MarshalJSON
func (msg *UserOrgsResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*UserOrgsResponse) Print
func (r *UserOrgsResponse) Print(w io.Writer)
func (*UserOrgsResponse) ProtoMessage
func (*UserOrgsResponse) ProtoMessage()
func (*UserOrgsResponse) ProtoReflect
func (x *UserOrgsResponse) ProtoReflect() protoreflect.Message
func (*UserOrgsResponse) Reset
func (x *UserOrgsResponse) Reset()
func (*UserOrgsResponse) String
func (x *UserOrgsResponse) String() string
func (*UserOrgsResponse) UnmarshalJSON
func (msg *UserOrgsResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type UserTokenResponse
UserTokenResponse provides response with Token and UserInfo
type UserTokenResponse struct {
Token *Token `protobuf:"bytes,1,opt,name=Token,proto3" json:"Token,omitempty"`
UserInfo *UserInfo `protobuf:"bytes,2,opt,name=UserInfo,proto3" json:"UserInfo,omitempty"`
// contains filtered or unexported fields
}
func (*UserTokenResponse) Descriptor
func (*UserTokenResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserTokenResponse.ProtoReflect.Descriptor instead.
func (*UserTokenResponse) GetMessageDescription
func (m *UserTokenResponse) GetMessageDescription() *api.MessageDescription
func (*UserTokenResponse) GetToken
func (x *UserTokenResponse) GetToken() *Token
func (*UserTokenResponse) GetUserInfo
func (x *UserTokenResponse) GetUserInfo() *UserInfo
func (*UserTokenResponse) MarshalJSON
func (msg *UserTokenResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*UserTokenResponse) Print
func (r *UserTokenResponse) Print(w io.Writer)
func (*UserTokenResponse) ProtoMessage
func (*UserTokenResponse) ProtoMessage()
func (*UserTokenResponse) ProtoReflect
func (x *UserTokenResponse) ProtoReflect() protoreflect.Message
func (*UserTokenResponse) Reset
func (x *UserTokenResponse) Reset()
func (*UserTokenResponse) String
func (x *UserTokenResponse) String() string
func (*UserTokenResponse) UnmarshalJSON
func (msg *UserTokenResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type X509Extension
X509Extension represents a raw extension to be included in the certificate.
type X509Extension struct {
// ID is the extension OID in dotted notation, e.g. 2.5.29.31
ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
// Critical flag
Critical bool `protobuf:"varint,2,opt,name=Critical,proto3" json:"Critical,omitempty"`
// Value is hex or base64 encoded DER value of the extension
Value string `protobuf:"bytes,3,opt,name=Value,proto3" json:"Value,omitempty"`
// contains filtered or unexported fields
}
func (*X509Extension) Descriptor
func (*X509Extension) Descriptor() ([]byte, []int)
Deprecated: Use X509Extension.ProtoReflect.Descriptor instead.
func (*X509Extension) GetCritical
func (x *X509Extension) GetCritical() bool
func (*X509Extension) GetID
func (x *X509Extension) GetID() string
func (*X509Extension) GetValue
func (x *X509Extension) GetValue() string
func (*X509Extension) MarshalJSON
func (msg *X509Extension) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*X509Extension) ProtoMessage
func (*X509Extension) ProtoMessage()
func (*X509Extension) ProtoReflect
func (x *X509Extension) ProtoReflect() protoreflect.Message
func (*X509Extension) Reset
func (x *X509Extension) Reset()
func (*X509Extension) String
func (x *X509Extension) String() string
func (*X509Extension) UnmarshalJSON
func (msg *X509Extension) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type X509Name
X509Name specifies X509 Name
type X509Name struct {
Country string `protobuf:"bytes,1,opt,name=Country,proto3" json:"Country,omitempty"`
State string `protobuf:"bytes,2,opt,name=State,proto3" json:"State,omitempty"`
Locality string `protobuf:"bytes,3,opt,name=Locality,proto3" json:"Locality,omitempty"`
Organisation string `protobuf:"bytes,4,opt,name=Organisation,proto3" json:"Organisation,omitempty"`
OrganisationalUnit string `protobuf:"bytes,5,opt,name=OrganisationalUnit,proto3" json:"OrganisationalUnit,omitempty"`
SerialNumber string `protobuf:"bytes,6,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"`
// contains filtered or unexported fields
}
func (*X509Name) Descriptor
func (*X509Name) Descriptor() ([]byte, []int)
Deprecated: Use X509Name.ProtoReflect.Descriptor instead.
func (*X509Name) GetCountry
func (x *X509Name) GetCountry() string
func (*X509Name) GetLocality
func (x *X509Name) GetLocality() string
func (*X509Name) GetOrganisation
func (x *X509Name) GetOrganisation() string
func (*X509Name) GetOrganisationalUnit
func (x *X509Name) GetOrganisationalUnit() string
func (*X509Name) GetSerialNumber
func (x *X509Name) GetSerialNumber() string
func (*X509Name) GetState
func (x *X509Name) GetState() string
func (*X509Name) MarshalJSON
func (msg *X509Name) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*X509Name) ProtoMessage
func (*X509Name) ProtoMessage()
func (*X509Name) ProtoReflect
func (x *X509Name) ProtoReflect() protoreflect.Message
func (*X509Name) Reset
func (x *X509Name) Reset()
func (*X509Name) String
func (x *X509Name) String() string
func (*X509Name) UnmarshalJSON
func (msg *X509Name) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type X509Subject
X509Subject specifies X509 Subject
type X509Subject struct {
CommonName string `protobuf:"bytes,1,opt,name=CommonName,proto3" json:"CommonName,omitempty"`
Names []*X509Name `protobuf:"bytes,2,rep,name=Names,proto3" json:"Names,omitempty"`
SerialNumber string `protobuf:"bytes,3,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"`
// contains filtered or unexported fields
}
func (*X509Subject) Descriptor
func (*X509Subject) Descriptor() ([]byte, []int)
Deprecated: Use X509Subject.ProtoReflect.Descriptor instead.
func (*X509Subject) GetCommonName
func (x *X509Subject) GetCommonName() string
func (*X509Subject) GetNames
func (x *X509Subject) GetNames() []*X509Name
func (*X509Subject) GetSerialNumber
func (x *X509Subject) GetSerialNumber() string
func (*X509Subject) MarshalJSON
func (msg *X509Subject) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*X509Subject) ProtoMessage
func (*X509Subject) ProtoMessage()
func (*X509Subject) ProtoReflect
func (x *X509Subject) ProtoReflect() protoreflect.Message
func (*X509Subject) Reset
func (x *X509Subject) Reset()
func (*X509Subject) String
func (x *X509Subject) String() string
func (*X509Subject) UnmarshalJSON
func (msg *X509Subject) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
Generated by gomarkdoc