Documentation ¶
Index ¶
- Constants
- Variables
- func NewContextWithAdmin(ctx context.Context, admin *Admin) context.Context
- func NewContextWithExternalAccountKey(ctx context.Context, k *EABKey) context.Context
- func NewContextWithProvisioner(ctx context.Context, provisioner *Provisioner) context.Context
- func RegisterMajordomoServer(s grpc.ServiceRegistrar, srv MajordomoServer)
- type ACMEProvisioner
- func (*ACMEProvisioner) Descriptor() ([]byte, []int)deprecated
- func (x *ACMEProvisioner) GetAttestationFormats() []ACMEProvisioner_AttestationFormatType
- func (x *ACMEProvisioner) GetAttestationRoots() [][]byte
- func (x *ACMEProvisioner) GetCaaIdentities() []string
- func (x *ACMEProvisioner) GetChallenges() []ACMEProvisioner_ChallengeType
- func (x *ACMEProvisioner) GetForceCn() bool
- func (x *ACMEProvisioner) GetRequireEab() bool
- func (x *ACMEProvisioner) GetTermsOfService() string
- func (x *ACMEProvisioner) GetWebsite() string
- func (*ACMEProvisioner) ProtoMessage()
- func (x *ACMEProvisioner) ProtoReflect() protoreflect.Message
- func (x *ACMEProvisioner) Reset()
- func (x *ACMEProvisioner) String() string
- type ACMEProvisioner_AttestationFormatType
- func (ACMEProvisioner_AttestationFormatType) Descriptor() protoreflect.EnumDescriptor
- func (x ACMEProvisioner_AttestationFormatType) Enum() *ACMEProvisioner_AttestationFormatType
- func (ACMEProvisioner_AttestationFormatType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ACMEProvisioner_AttestationFormatType) Number() protoreflect.EnumNumber
- func (x ACMEProvisioner_AttestationFormatType) String() string
- func (ACMEProvisioner_AttestationFormatType) Type() protoreflect.EnumType
- type ACMEProvisioner_ChallengeType
- func (ACMEProvisioner_ChallengeType) Descriptor() protoreflect.EnumDescriptor
- func (x ACMEProvisioner_ChallengeType) Enum() *ACMEProvisioner_ChallengeType
- func (ACMEProvisioner_ChallengeType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ACMEProvisioner_ChallengeType) Number() protoreflect.EnumNumber
- func (x ACMEProvisioner_ChallengeType) String() string
- func (ACMEProvisioner_ChallengeType) Type() protoreflect.EnumType
- type AWSProvisioner
- func (*AWSProvisioner) Descriptor() ([]byte, []int)deprecated
- func (x *AWSProvisioner) GetAccounts() []string
- func (x *AWSProvisioner) GetDisableCustomSans() bool
- func (x *AWSProvisioner) GetDisableTrustOnFirstUse() bool
- func (x *AWSProvisioner) GetInstanceAge() string
- func (*AWSProvisioner) ProtoMessage()
- func (x *AWSProvisioner) ProtoReflect() protoreflect.Message
- func (x *AWSProvisioner) Reset()
- func (x *AWSProvisioner) String() string
- type Admin
- func (*Admin) Descriptor() ([]byte, []int)deprecated
- func (x *Admin) GetAuthorityId() string
- func (x *Admin) GetCreatedAt() *timestamppb.Timestamp
- func (x *Admin) GetDeletedAt() *timestamppb.Timestamp
- func (x *Admin) GetId() string
- func (x *Admin) GetProvisionerId() string
- func (x *Admin) GetSubject() string
- func (x *Admin) GetType() Admin_Type
- func (*Admin) ProtoMessage()
- func (x *Admin) ProtoReflect() protoreflect.Message
- func (x *Admin) Reset()
- func (x *Admin) String() string
- type AdminList
- type Admin_Type
- type AttestationData
- type Authority
- func (*Authority) Descriptor() ([]byte, []int)deprecated
- func (x *Authority) GetAdmins() []*Admin
- func (x *Authority) GetBackdate() string
- func (x *Authority) GetCertificateAuthority() string
- func (x *Authority) GetCertificateAuthorityFingerprint() string
- func (x *Authority) GetCertificateIssuer() *CertificateIssuer
- func (x *Authority) GetClaims() *Claims
- func (x *Authority) GetCredentialsFile() string
- func (x *Authority) GetDeploymentType() string
- func (x *Authority) GetDisableIssuedAtCheck() bool
- func (x *Authority) GetEnableAdmin() bool
- func (x *Authority) GetId() string
- func (x *Authority) GetPolicy() *Policy
- func (x *Authority) GetProvisioners() []*Provisioner
- func (x *Authority) GetTemplate() *DistinguishedName
- func (x *Authority) GetType() Authority_Type
- func (*Authority) ProtoMessage()
- func (x *Authority) ProtoReflect() protoreflect.Message
- func (x *Authority) Reset()
- func (x *Authority) String() string
- type Authority_Type
- func (Authority_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Authority_Type) Enum() *Authority_Type
- func (Authority_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Authority_Type) Number() protoreflect.EnumNumber
- func (x Authority_Type) String() string
- func (Authority_Type) Type() protoreflect.EnumType
- type AzureProvisioner
- func (*AzureProvisioner) Descriptor() ([]byte, []int)deprecated
- func (x *AzureProvisioner) GetAudience() string
- func (x *AzureProvisioner) GetDisableCustomSans() bool
- func (x *AzureProvisioner) GetDisableTrustOnFirstUse() bool
- func (x *AzureProvisioner) GetObjectIds() []string
- func (x *AzureProvisioner) GetResourceGroups() []string
- func (x *AzureProvisioner) GetSubscriptionIds() []string
- func (x *AzureProvisioner) GetTenantId() string
- func (*AzureProvisioner) ProtoMessage()
- func (x *AzureProvisioner) ProtoReflect() protoreflect.Message
- func (x *AzureProvisioner) Reset()
- func (x *AzureProvisioner) String() string
- type BasicAuth
- type Bastion
- func (*Bastion) Descriptor() ([]byte, []int)deprecated
- func (x *Bastion) GetCommand() string
- func (x *Bastion) GetFlags() string
- func (x *Bastion) GetHostname() string
- func (x *Bastion) GetPort() string
- func (x *Bastion) GetUser() string
- func (*Bastion) ProtoMessage()
- func (x *Bastion) ProtoReflect() protoreflect.Message
- func (x *Bastion) Reset()
- func (x *Bastion) String() string
- type BearerToken
- type CertificateIssuer
- func (*CertificateIssuer) Descriptor() ([]byte, []int)deprecated
- func (x *CertificateIssuer) GetCertificate() string
- func (x *CertificateIssuer) GetKey() string
- func (x *CertificateIssuer) GetPassword() []byte
- func (x *CertificateIssuer) GetProvisioner() string
- func (x *CertificateIssuer) GetType() CertificateIssuer_Type
- func (*CertificateIssuer) ProtoMessage()
- func (x *CertificateIssuer) ProtoReflect() protoreflect.Message
- func (x *CertificateIssuer) Reset()
- func (x *CertificateIssuer) String() string
- type CertificateIssuer_Type
- func (CertificateIssuer_Type) Descriptor() protoreflect.EnumDescriptor
- func (x CertificateIssuer_Type) Enum() *CertificateIssuer_Type
- func (CertificateIssuer_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x CertificateIssuer_Type) Number() protoreflect.EnumNumber
- func (x CertificateIssuer_Type) String() string
- func (CertificateIssuer_Type) Type() protoreflect.EnumType
- type CertificateRequest
- func (*CertificateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CertificateRequest) GetAttestationData() *AttestationData
- func (x *CertificateRequest) GetEndpointId() string
- func (x *CertificateRequest) GetPemCertificate() string
- func (x *CertificateRequest) GetPemCertificateChain() string
- func (x *CertificateRequest) GetPemParentCertificate() string
- func (x *CertificateRequest) GetProvisioner() *ProvisionerIdentity
- func (x *CertificateRequest) GetRaProvisioner() *RegistrationAuthorityProvisioner
- func (*CertificateRequest) ProtoMessage()
- func (x *CertificateRequest) ProtoReflect() protoreflect.Message
- func (x *CertificateRequest) Reset()
- func (x *CertificateRequest) String() string
- type CertificateResponse
- func (*CertificateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CertificateResponse) GetId() string
- func (*CertificateResponse) ProtoMessage()
- func (x *CertificateResponse) ProtoReflect() protoreflect.Message
- func (x *CertificateResponse) Reset()
- func (x *CertificateResponse) String() string
- type Claims
- func (*Claims) Descriptor() ([]byte, []int)deprecated
- func (x *Claims) GetAllowRenewalAfterExpiry() bool
- func (x *Claims) GetDisableRenewal() bool
- func (x *Claims) GetDisableSmallstepExtensions() bool
- func (x *Claims) GetSsh() *SSHClaims
- func (x *Claims) GetX509() *X509Claims
- func (*Claims) ProtoMessage()
- func (x *Claims) ProtoReflect() protoreflect.Message
- func (x *Claims) Reset()
- func (x *Claims) String() string
- type ConfigTemplate
- func (*ConfigTemplate) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigTemplate) GetComment() string
- func (x *ConfigTemplate) GetContent() []byte
- func (x *ConfigTemplate) GetName() string
- func (x *ConfigTemplate) GetPath() string
- func (x *ConfigTemplate) GetRequires() []string
- func (x *ConfigTemplate) GetTemplate() string
- func (x *ConfigTemplate) GetType() ConfigTemplate_Type
- func (*ConfigTemplate) ProtoMessage()
- func (x *ConfigTemplate) ProtoReflect() protoreflect.Message
- func (x *ConfigTemplate) Reset()
- func (x *ConfigTemplate) String() string
- type ConfigTemplate_Type
- func (ConfigTemplate_Type) Descriptor() protoreflect.EnumDescriptor
- func (x ConfigTemplate_Type) Enum() *ConfigTemplate_Type
- func (ConfigTemplate_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x ConfigTemplate_Type) Number() protoreflect.EnumNumber
- func (x ConfigTemplate_Type) String() string
- func (ConfigTemplate_Type) Type() protoreflect.EnumType
- type ConfigTemplates
- func (*ConfigTemplates) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigTemplates) GetData() *structpb.Struct
- func (x *ConfigTemplates) GetSsh() *SSHConfigTemplate
- func (*ConfigTemplates) ProtoMessage()
- func (x *ConfigTemplates) ProtoReflect() protoreflect.Message
- func (x *ConfigTemplates) Reset()
- func (x *ConfigTemplates) String() string
- type Configuration
- func (*Configuration) Descriptor() ([]byte, []int)deprecated
- func (x *Configuration) GetAddress() string
- func (x *Configuration) GetAuthority() *Authority
- func (x *Configuration) GetDb() *structpb.Struct
- func (x *Configuration) GetDnsNames() []string
- func (x *Configuration) GetFederatedRoots() []string
- func (x *Configuration) GetFiles() map[string][]byte
- func (x *Configuration) GetInsecureAddress() string
- func (x *Configuration) GetIntermediate() string
- func (x *Configuration) GetIntermediateKey() string
- func (x *Configuration) GetKms() *KMS
- func (x *Configuration) GetLogger() *structpb.Struct
- func (x *Configuration) GetMonitoring() *structpb.Struct
- func (x *Configuration) GetPassword() []byte
- func (x *Configuration) GetRoot() []string
- func (x *Configuration) GetRootKey() []string
- func (x *Configuration) GetSsh() *SSH
- func (x *Configuration) GetTemplates() *ConfigTemplates
- func (x *Configuration) GetTls() *TLS
- func (x *Configuration) GetVersion() string
- func (*Configuration) ProtoMessage()
- func (x *Configuration) ProtoReflect() protoreflect.Message
- func (x *Configuration) Reset()
- func (x *Configuration) String() string
- type ConfigurationRequest
- func (*ConfigurationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigurationRequest) GetAuthorityId() string
- func (*ConfigurationRequest) ProtoMessage()
- func (x *ConfigurationRequest) ProtoReflect() protoreflect.Message
- func (x *ConfigurationRequest) Reset()
- func (x *ConfigurationRequest) String() string
- type ConfigurationResponse
- func (*ConfigurationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigurationResponse) GetAdmins() []*Admin
- func (x *ConfigurationResponse) GetProvisioners() []*Provisioner
- func (x *ConfigurationResponse) GetRaConfig() *RegistrationAuthorityConfig
- func (x *ConfigurationResponse) GetServerConfig() *ServerConfiguration
- func (*ConfigurationResponse) ProtoMessage()
- func (x *ConfigurationResponse) ProtoReflect() protoreflect.Message
- func (x *ConfigurationResponse) Reset()
- func (x *ConfigurationResponse) String() string
- type CreateAdminRequest
- func (*CreateAdminRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAdminRequest) GetPreferredId() string
- func (x *CreateAdminRequest) GetProvisionerId() string
- func (x *CreateAdminRequest) GetSubject() string
- func (x *CreateAdminRequest) GetType() Admin_Type
- func (*CreateAdminRequest) ProtoMessage()
- func (x *CreateAdminRequest) ProtoReflect() protoreflect.Message
- func (x *CreateAdminRequest) Reset()
- func (x *CreateAdminRequest) String() string
- type CreateProvisionerRequest
- func (*CreateProvisionerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateProvisionerRequest) GetClaims() *Claims
- func (x *CreateProvisionerRequest) GetDetails() *ProvisionerDetails
- func (x *CreateProvisionerRequest) GetName() string
- func (x *CreateProvisionerRequest) GetPreferredId() string
- func (x *CreateProvisionerRequest) GetSshTemplate() *Template
- func (x *CreateProvisionerRequest) GetType() Provisioner_Type
- func (x *CreateProvisionerRequest) GetX509Template() *Template
- func (*CreateProvisionerRequest) ProtoMessage()
- func (x *CreateProvisionerRequest) ProtoReflect() protoreflect.Message
- func (x *CreateProvisionerRequest) Reset()
- func (x *CreateProvisionerRequest) String() string
- type Defaults
- func (*Defaults) Descriptor() ([]byte, []int)deprecated
- func (x *Defaults) GetCaConfig() string
- func (x *Defaults) GetCaUrl() string
- func (x *Defaults) GetFingerprint() string
- func (x *Defaults) GetRoot() string
- func (*Defaults) ProtoMessage()
- func (x *Defaults) ProtoReflect() protoreflect.Message
- func (x *Defaults) Reset()
- func (x *Defaults) String() string
- type DeleteAdminRequest
- type DeleteProvisionerRequest
- func (*DeleteProvisionerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteProvisionerRequest) GetId() string
- func (*DeleteProvisionerRequest) ProtoMessage()
- func (x *DeleteProvisionerRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteProvisionerRequest) Reset()
- func (x *DeleteProvisionerRequest) String() string
- type DistinguishedName
- func (*DistinguishedName) Descriptor() ([]byte, []int)deprecated
- func (x *DistinguishedName) GetCommonName() string
- func (x *DistinguishedName) GetCountry() string
- func (x *DistinguishedName) GetLocality() string
- func (x *DistinguishedName) GetOrganization() string
- func (x *DistinguishedName) GetOrganizationalUnit() string
- func (x *DistinguishedName) GetProvince() string
- func (x *DistinguishedName) GetSerialNumber() string
- func (x *DistinguishedName) GetStreetAddress() string
- func (*DistinguishedName) ProtoMessage()
- func (x *DistinguishedName) ProtoReflect() protoreflect.Message
- func (x *DistinguishedName) Reset()
- func (x *DistinguishedName) String() string
- type Durations
- func (*Durations) Descriptor() ([]byte, []int)deprecated
- func (x *Durations) GetDefault() string
- func (x *Durations) GetMax() string
- func (x *Durations) GetMin() string
- func (*Durations) ProtoMessage()
- func (x *Durations) ProtoReflect() protoreflect.Message
- func (x *Durations) Reset()
- func (x *Durations) String() string
- type EABKey
- func (*EABKey) Descriptor() ([]byte, []int)deprecated
- func (x *EABKey) GetAccount() string
- func (x *EABKey) GetBoundAt() *timestamppb.Timestamp
- func (x *EABKey) GetCreatedAt() *timestamppb.Timestamp
- func (x *EABKey) GetHmacKey() []byte
- func (x *EABKey) GetId() string
- func (x *EABKey) GetPolicy() *Policy
- func (x *EABKey) GetProvisioner() string
- func (x *EABKey) GetReference() string
- func (*EABKey) ProtoMessage()
- func (x *EABKey) ProtoReflect() protoreflect.Message
- func (x *EABKey) Reset()
- func (x *EABKey) String() string
- type GCPProvisioner
- func (*GCPProvisioner) Descriptor() ([]byte, []int)deprecated
- func (x *GCPProvisioner) GetDisableCustomSans() bool
- func (x *GCPProvisioner) GetDisableSshCaHost() bool
- func (x *GCPProvisioner) GetDisableSshCaUser() bool
- func (x *GCPProvisioner) GetDisableTrustOnFirstUse() bool
- func (x *GCPProvisioner) GetInstanceAge() string
- func (x *GCPProvisioner) GetProjectIds() []string
- func (x *GCPProvisioner) GetServiceAccounts() []string
- func (*GCPProvisioner) ProtoMessage()
- func (x *GCPProvisioner) ProtoReflect() protoreflect.Message
- func (x *GCPProvisioner) Reset()
- func (x *GCPProvisioner) String() string
- type GetAdminRequest
- type GetCertificateRequest
- func (*GetCertificateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCertificateRequest) GetSerial() string
- func (*GetCertificateRequest) ProtoMessage()
- func (x *GetCertificateRequest) ProtoReflect() protoreflect.Message
- func (x *GetCertificateRequest) Reset()
- func (x *GetCertificateRequest) String() string
- type GetCertificateResponse
- func (*GetCertificateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCertificateResponse) GetPemCertificate() string
- func (x *GetCertificateResponse) GetProvisioner() *ProvisionerIdentity
- func (x *GetCertificateResponse) GetRaProvisioner() *RegistrationAuthorityProvisioner
- func (*GetCertificateResponse) ProtoMessage()
- func (x *GetCertificateResponse) ProtoReflect() protoreflect.Message
- func (x *GetCertificateResponse) Reset()
- func (x *GetCertificateResponse) String() string
- type GetCertificateStatusRequest
- func (*GetCertificateStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCertificateStatusRequest) GetSerial() string
- func (*GetCertificateStatusRequest) ProtoMessage()
- func (x *GetCertificateStatusRequest) ProtoReflect() protoreflect.Message
- func (x *GetCertificateStatusRequest) Reset()
- func (x *GetCertificateStatusRequest) String() string
- type GetCertificateStatusResponse
- func (*GetCertificateStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCertificateStatusResponse) GetReason() string
- func (x *GetCertificateStatusResponse) GetReasonCode() RevocationReasonCode
- func (x *GetCertificateStatusResponse) GetRevokedAt() *timestamppb.Timestamp
- func (x *GetCertificateStatusResponse) GetStatus() RevocationStatus
- func (*GetCertificateStatusResponse) ProtoMessage()
- func (x *GetCertificateStatusResponse) ProtoReflect() protoreflect.Message
- func (x *GetCertificateStatusResponse) Reset()
- func (x *GetCertificateStatusResponse) String() string
- type GetProvisionerRequest
- func (*GetProvisionerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetProvisionerRequest) GetId() string
- func (*GetProvisionerRequest) ProtoMessage()
- func (x *GetProvisionerRequest) ProtoReflect() protoreflect.Message
- func (x *GetProvisionerRequest) Reset()
- func (x *GetProvisionerRequest) String() string
- type GetRootCertificateRequest
- func (*GetRootCertificateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRootCertificateRequest) GetFingerprint() string
- func (*GetRootCertificateRequest) ProtoMessage()
- func (x *GetRootCertificateRequest) ProtoReflect() protoreflect.Message
- func (x *GetRootCertificateRequest) Reset()
- func (x *GetRootCertificateRequest) String() string
- type GetRootCertificateResponse
- func (*GetRootCertificateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetRootCertificateResponse) GetPemCertificate() string
- func (*GetRootCertificateResponse) ProtoMessage()
- func (x *GetRootCertificateResponse) ProtoReflect() protoreflect.Message
- func (x *GetRootCertificateResponse) Reset()
- func (x *GetRootCertificateResponse) String() string
- type GetSSHCertificateStatusRequest
- func (*GetSSHCertificateStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSSHCertificateStatusRequest) GetSerial() string
- func (*GetSSHCertificateStatusRequest) ProtoMessage()
- func (x *GetSSHCertificateStatusRequest) ProtoReflect() protoreflect.Message
- func (x *GetSSHCertificateStatusRequest) Reset()
- func (x *GetSSHCertificateStatusRequest) String() string
- type GetSSHCertificateStatusResponse
- func (*GetSSHCertificateStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSSHCertificateStatusResponse) GetReason() string
- func (x *GetSSHCertificateStatusResponse) GetReasonCode() RevocationReasonCode
- func (x *GetSSHCertificateStatusResponse) GetRevokedAt() *timestamppb.Timestamp
- func (x *GetSSHCertificateStatusResponse) GetStatus() RevocationStatus
- func (*GetSSHCertificateStatusResponse) ProtoMessage()
- func (x *GetSSHCertificateStatusResponse) ProtoReflect() protoreflect.Message
- func (x *GetSSHCertificateStatusResponse) Reset()
- func (x *GetSSHCertificateStatusResponse) String() string
- type JWKProvisioner
- func (*JWKProvisioner) Descriptor() ([]byte, []int)deprecated
- func (x *JWKProvisioner) GetEncryptedPrivateKey() []byte
- func (x *JWKProvisioner) GetPublicKey() []byte
- func (*JWKProvisioner) ProtoMessage()
- func (x *JWKProvisioner) ProtoReflect() protoreflect.Message
- func (x *JWKProvisioner) Reset()
- func (x *JWKProvisioner) String() string
- type K8SSAProvisioner
- type KMS
- func (*KMS) Descriptor() ([]byte, []int)deprecated
- func (x *KMS) GetCredentialsFile() string
- func (x *KMS) GetManagementKey() string
- func (x *KMS) GetPin() string
- func (x *KMS) GetProfile() string
- func (x *KMS) GetRegion() string
- func (x *KMS) GetType() KMS_Type
- func (x *KMS) GetUri() string
- func (*KMS) ProtoMessage()
- func (x *KMS) ProtoReflect() protoreflect.Message
- func (x *KMS) Reset()
- func (x *KMS) String() string
- type KMS_Type
- type LoginRequest
- func (*LoginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LoginRequest) GetAuthorityId() string
- func (x *LoginRequest) GetPemCertificateRequest() string
- func (x *LoginRequest) GetToken() string
- func (*LoginRequest) ProtoMessage()
- func (x *LoginRequest) ProtoReflect() protoreflect.Message
- func (x *LoginRequest) Reset()
- func (x *LoginRequest) String() string
- type LoginResponse
- func (*LoginResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LoginResponse) GetPemCertificate() string
- func (x *LoginResponse) GetPemCertificateChain() string
- func (*LoginResponse) ProtoMessage()
- func (x *LoginResponse) ProtoReflect() protoreflect.Message
- func (x *LoginResponse) Reset()
- func (x *LoginResponse) String() string
- type MajordomoClient
- type MajordomoServer
- type NebulaProvisioner
- type OIDCProvisioner
- func (*OIDCProvisioner) Descriptor() ([]byte, []int)deprecated
- func (x *OIDCProvisioner) GetAdmins() []string
- func (x *OIDCProvisioner) GetAuthParams() []string
- func (x *OIDCProvisioner) GetClientId() string
- func (x *OIDCProvisioner) GetClientSecret() string
- func (x *OIDCProvisioner) GetConfigurationEndpoint() string
- func (x *OIDCProvisioner) GetDomains() []string
- func (x *OIDCProvisioner) GetGroups() []string
- func (x *OIDCProvisioner) GetListenAddress() string
- func (x *OIDCProvisioner) GetScopes() []string
- func (x *OIDCProvisioner) GetTenantId() string
- func (*OIDCProvisioner) ProtoMessage()
- func (x *OIDCProvisioner) ProtoReflect() protoreflect.Message
- func (x *OIDCProvisioner) Reset()
- func (x *OIDCProvisioner) String() string
- type OneTimeTokenRequest
- func (*OneTimeTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *OneTimeTokenRequest) GetJti() string
- func (x *OneTimeTokenRequest) GetToken() string
- func (*OneTimeTokenRequest) ProtoMessage()
- func (x *OneTimeTokenRequest) ProtoReflect() protoreflect.Message
- func (x *OneTimeTokenRequest) Reset()
- func (x *OneTimeTokenRequest) String() string
- type OneTimeTokenResponse
- func (*OneTimeTokenResponse) Descriptor() ([]byte, []int)deprecated
- func (x *OneTimeTokenResponse) GetId() string
- func (*OneTimeTokenResponse) ProtoMessage()
- func (x *OneTimeTokenResponse) ProtoReflect() protoreflect.Message
- func (x *OneTimeTokenResponse) Reset()
- func (x *OneTimeTokenResponse) String() string
- type Policy
- func (p *Policy) Deduplicate()
- func (*Policy) Descriptor() ([]byte, []int)deprecated
- func (x *Policy) GetSsh() *SSHPolicy
- func (x *Policy) GetX509() *X509Policy
- func (*Policy) ProtoMessage()
- func (x *Policy) ProtoReflect() protoreflect.Message
- func (x *Policy) Reset()
- func (x *Policy) String() string
- type Provisioner
- func (*Provisioner) Descriptor() ([]byte, []int)deprecated
- func (x *Provisioner) GetAuthorityId() string
- func (x *Provisioner) GetClaims() *Claims
- func (x *Provisioner) GetCreatedAt() *timestamppb.Timestamp
- func (x *Provisioner) GetDeletedAt() *timestamppb.Timestamp
- func (x *Provisioner) GetDetails() *ProvisionerDetails
- func (x *Provisioner) GetId() string
- func (x *Provisioner) GetName() string
- func (x *Provisioner) GetPolicy() *Policy
- func (x *Provisioner) GetSshTemplate() *Template
- func (x *Provisioner) GetType() Provisioner_Type
- func (x *Provisioner) GetWebhooks() []*Webhook
- func (x *Provisioner) GetX509Template() *Template
- func (*Provisioner) ProtoMessage()
- func (x *Provisioner) ProtoReflect() protoreflect.Message
- func (x *Provisioner) Reset()
- func (x *Provisioner) String() string
- type ProvisionerDetails
- func (*ProvisionerDetails) Descriptor() ([]byte, []int)deprecated
- func (x *ProvisionerDetails) GetACME() *ACMEProvisioner
- func (x *ProvisionerDetails) GetAWS() *AWSProvisioner
- func (x *ProvisionerDetails) GetAzure() *AzureProvisioner
- func (m *ProvisionerDetails) GetData() isProvisionerDetails_Data
- func (x *ProvisionerDetails) GetGCP() *GCPProvisioner
- func (x *ProvisionerDetails) GetJWK() *JWKProvisioner
- func (x *ProvisionerDetails) GetK8SSA() *K8SSAProvisioner
- func (x *ProvisionerDetails) GetNebula() *NebulaProvisioner
- func (x *ProvisionerDetails) GetOIDC() *OIDCProvisioner
- func (x *ProvisionerDetails) GetSCEP() *SCEPProvisioner
- func (x *ProvisionerDetails) GetSSHPOP() *SSHPOPProvisioner
- func (x *ProvisionerDetails) GetX5C() *X5CProvisioner
- func (*ProvisionerDetails) ProtoMessage()
- func (x *ProvisionerDetails) ProtoReflect() protoreflect.Message
- func (x *ProvisionerDetails) Reset()
- func (x *ProvisionerDetails) String() string
- type ProvisionerDetails_ACME
- type ProvisionerDetails_AWS
- type ProvisionerDetails_Azure
- type ProvisionerDetails_GCP
- type ProvisionerDetails_JWK
- type ProvisionerDetails_K8SSA
- type ProvisionerDetails_Nebula
- type ProvisionerDetails_OIDC
- type ProvisionerDetails_SCEP
- type ProvisionerDetails_SSHPOP
- type ProvisionerDetails_X5C
- type ProvisionerIdentity
- func (*ProvisionerIdentity) Descriptor() ([]byte, []int)deprecated
- func (x *ProvisionerIdentity) GetId() string
- func (x *ProvisionerIdentity) GetName() string
- func (x *ProvisionerIdentity) GetType() Provisioner_Type
- func (*ProvisionerIdentity) ProtoMessage()
- func (x *ProvisionerIdentity) ProtoReflect() protoreflect.Message
- func (x *ProvisionerIdentity) Reset()
- func (x *ProvisionerIdentity) String() string
- type ProvisionerList
- type Provisioner_Type
- func (Provisioner_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Provisioner_Type) Enum() *Provisioner_Type
- func (Provisioner_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Provisioner_Type) Number() protoreflect.EnumNumber
- func (x Provisioner_Type) String() string
- func (Provisioner_Type) Type() protoreflect.EnumType
- type RegistrationAuthorityConfig
- func (*RegistrationAuthorityConfig) Descriptor() ([]byte, []int)deprecated
- func (x *RegistrationAuthorityConfig) GetCaUrl() string
- func (x *RegistrationAuthorityConfig) GetFingerprint() string
- func (x *RegistrationAuthorityConfig) GetProvisioner() *ProvisionerIdentity
- func (*RegistrationAuthorityConfig) ProtoMessage()
- func (x *RegistrationAuthorityConfig) ProtoReflect() protoreflect.Message
- func (x *RegistrationAuthorityConfig) Reset()
- func (x *RegistrationAuthorityConfig) String() string
- type RegistrationAuthorityProvisioner
- func (*RegistrationAuthorityProvisioner) Descriptor() ([]byte, []int)deprecated
- func (x *RegistrationAuthorityProvisioner) GetAuthorityId() string
- func (x *RegistrationAuthorityProvisioner) GetProvisioner() *ProvisionerIdentity
- func (*RegistrationAuthorityProvisioner) ProtoMessage()
- func (x *RegistrationAuthorityProvisioner) ProtoReflect() protoreflect.Message
- func (x *RegistrationAuthorityProvisioner) Reset()
- func (x *RegistrationAuthorityProvisioner) String() string
- type RevocationReasonCode
- func (RevocationReasonCode) Descriptor() protoreflect.EnumDescriptor
- func (x RevocationReasonCode) Enum() *RevocationReasonCode
- func (RevocationReasonCode) EnumDescriptor() ([]byte, []int)deprecated
- func (x RevocationReasonCode) Number() protoreflect.EnumNumber
- func (x RevocationReasonCode) String() string
- func (RevocationReasonCode) Type() protoreflect.EnumType
- type RevocationStatus
- func (RevocationStatus) Descriptor() protoreflect.EnumDescriptor
- func (x RevocationStatus) Enum() *RevocationStatus
- func (RevocationStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x RevocationStatus) Number() protoreflect.EnumNumber
- func (x RevocationStatus) String() string
- func (RevocationStatus) Type() protoreflect.EnumType
- type RevokeCertificateRequest
- func (*RevokeCertificateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RevokeCertificateRequest) GetPassive() bool
- func (x *RevokeCertificateRequest) GetPemCertificate() string
- func (x *RevokeCertificateRequest) GetReason() string
- func (x *RevokeCertificateRequest) GetReasonCode() RevocationReasonCode
- func (x *RevokeCertificateRequest) GetRevokedAt() *timestamppb.Timestamp
- func (x *RevokeCertificateRequest) GetSerial() string
- func (*RevokeCertificateRequest) ProtoMessage()
- func (x *RevokeCertificateRequest) ProtoReflect() protoreflect.Message
- func (x *RevokeCertificateRequest) Reset()
- func (x *RevokeCertificateRequest) String() string
- type RevokeCertificateResponse
- func (*RevokeCertificateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RevokeCertificateResponse) GetStatus() RevocationStatus
- func (*RevokeCertificateResponse) ProtoMessage()
- func (x *RevokeCertificateResponse) ProtoReflect() protoreflect.Message
- func (x *RevokeCertificateResponse) Reset()
- func (x *RevokeCertificateResponse) String() string
- type RevokeSSHCertificateRequest
- func (*RevokeSSHCertificateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RevokeSSHCertificateRequest) GetCertificate() string
- func (x *RevokeSSHCertificateRequest) GetPassive() bool
- func (x *RevokeSSHCertificateRequest) GetReason() string
- func (x *RevokeSSHCertificateRequest) GetReasonCode() RevocationReasonCode
- func (x *RevokeSSHCertificateRequest) GetRevokedAt() *timestamppb.Timestamp
- func (x *RevokeSSHCertificateRequest) GetSerial() string
- func (*RevokeSSHCertificateRequest) ProtoMessage()
- func (x *RevokeSSHCertificateRequest) ProtoReflect() protoreflect.Message
- func (x *RevokeSSHCertificateRequest) Reset()
- func (x *RevokeSSHCertificateRequest) String() string
- type RevokeSSHCertificateResponse
- func (*RevokeSSHCertificateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RevokeSSHCertificateResponse) GetStatus() RevocationStatus
- func (*RevokeSSHCertificateResponse) ProtoMessage()
- func (x *RevokeSSHCertificateResponse) ProtoReflect() protoreflect.Message
- func (x *RevokeSSHCertificateResponse) Reset()
- func (x *RevokeSSHCertificateResponse) String() string
- type SCEPDecrypter
- func (*SCEPDecrypter) Descriptor() ([]byte, []int)deprecated
- func (x *SCEPDecrypter) GetCertificate() []byte
- func (x *SCEPDecrypter) GetKey() []byte
- func (x *SCEPDecrypter) GetKeyPassword() []byte
- func (x *SCEPDecrypter) GetKeyUri() string
- func (*SCEPDecrypter) ProtoMessage()
- func (x *SCEPDecrypter) ProtoReflect() protoreflect.Message
- func (x *SCEPDecrypter) Reset()
- func (x *SCEPDecrypter) String() string
- type SCEPProvisioner
- func (*SCEPProvisioner) Descriptor() ([]byte, []int)deprecated
- func (x *SCEPProvisioner) GetCapabilities() []string
- func (x *SCEPProvisioner) GetChallenge() string
- func (x *SCEPProvisioner) GetDecrypter() *SCEPDecrypter
- func (x *SCEPProvisioner) GetEncryptionAlgorithmIdentifier() int32
- func (x *SCEPProvisioner) GetExcludeIntermediate() bool
- func (x *SCEPProvisioner) GetForceCn() bool
- func (x *SCEPProvisioner) GetIncludeRoot() bool
- func (x *SCEPProvisioner) GetMinimumPublicKeyLength() int32
- func (*SCEPProvisioner) ProtoMessage()
- func (x *SCEPProvisioner) ProtoReflect() protoreflect.Message
- func (x *SCEPProvisioner) Reset()
- func (x *SCEPProvisioner) String() string
- type SSH
- func (*SSH) Descriptor() ([]byte, []int)deprecated
- func (x *SSH) GetAddUserCommand() string
- func (x *SSH) GetAddUserPrincipal() string
- func (x *SSH) GetBastion() *Bastion
- func (x *SSH) GetHostKey() string
- func (x *SSH) GetHostPublicKey() string
- func (x *SSH) GetKeys() []*SSHPublicKey
- func (x *SSH) GetUserKey() string
- func (x *SSH) GetUserPublicKey() string
- func (*SSH) ProtoMessage()
- func (x *SSH) ProtoReflect() protoreflect.Message
- func (x *SSH) Reset()
- func (x *SSH) String() string
- type SSHCertificateRequest
- func (*SSHCertificateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SSHCertificateRequest) GetCertificate() string
- func (x *SSHCertificateRequest) GetParentCertificate() string
- func (x *SSHCertificateRequest) GetProvisioner() *ProvisionerIdentity
- func (*SSHCertificateRequest) ProtoMessage()
- func (x *SSHCertificateRequest) ProtoReflect() protoreflect.Message
- func (x *SSHCertificateRequest) Reset()
- func (x *SSHCertificateRequest) String() string
- type SSHCertificateResponse
- func (*SSHCertificateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SSHCertificateResponse) GetId() string
- func (*SSHCertificateResponse) ProtoMessage()
- func (x *SSHCertificateResponse) ProtoReflect() protoreflect.Message
- func (x *SSHCertificateResponse) Reset()
- func (x *SSHCertificateResponse) String() string
- type SSHClaims
- func (*SSHClaims) Descriptor() ([]byte, []int)deprecated
- func (x *SSHClaims) GetEnabled() bool
- func (x *SSHClaims) GetHostDurations() *Durations
- func (x *SSHClaims) GetUserDurations() *Durations
- func (*SSHClaims) ProtoMessage()
- func (x *SSHClaims) ProtoReflect() protoreflect.Message
- func (x *SSHClaims) Reset()
- func (x *SSHClaims) String() string
- type SSHConfigTemplate
- func (*SSHConfigTemplate) Descriptor() ([]byte, []int)deprecated
- func (x *SSHConfigTemplate) GetHosts() []*ConfigTemplate
- func (x *SSHConfigTemplate) GetUsers() []*ConfigTemplate
- func (*SSHConfigTemplate) ProtoMessage()
- func (x *SSHConfigTemplate) ProtoReflect() protoreflect.Message
- func (x *SSHConfigTemplate) Reset()
- func (x *SSHConfigTemplate) String() string
- type SSHHostNames
- func (*SSHHostNames) Descriptor() ([]byte, []int)deprecated
- func (x *SSHHostNames) GetDns() []string
- func (x *SSHHostNames) GetIps() []string
- func (x *SSHHostNames) GetPrincipals() []string
- func (*SSHHostNames) ProtoMessage()
- func (x *SSHHostNames) ProtoReflect() protoreflect.Message
- func (x *SSHHostNames) Reset()
- func (x *SSHHostNames) String() string
- type SSHHostPolicy
- func (*SSHHostPolicy) Descriptor() ([]byte, []int)deprecated
- func (x *SSHHostPolicy) GetAllow() *SSHHostNames
- func (x *SSHHostPolicy) GetDeny() *SSHHostNames
- func (*SSHHostPolicy) ProtoMessage()
- func (x *SSHHostPolicy) ProtoReflect() protoreflect.Message
- func (x *SSHHostPolicy) Reset()
- func (x *SSHHostPolicy) String() string
- type SSHPOPProvisioner
- type SSHPolicy
- type SSHPublicKey
- func (*SSHPublicKey) Descriptor() ([]byte, []int)deprecated
- func (x *SSHPublicKey) GetFederated() bool
- func (x *SSHPublicKey) GetKey() *structpb.Struct
- func (x *SSHPublicKey) GetType() SSHPublicKey_Type
- func (*SSHPublicKey) ProtoMessage()
- func (x *SSHPublicKey) ProtoReflect() protoreflect.Message
- func (x *SSHPublicKey) Reset()
- func (x *SSHPublicKey) String() string
- type SSHPublicKey_Type
- func (SSHPublicKey_Type) Descriptor() protoreflect.EnumDescriptor
- func (x SSHPublicKey_Type) Enum() *SSHPublicKey_Type
- func (SSHPublicKey_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x SSHPublicKey_Type) Number() protoreflect.EnumNumber
- func (x SSHPublicKey_Type) String() string
- func (SSHPublicKey_Type) Type() protoreflect.EnumType
- type SSHUserNames
- func (*SSHUserNames) Descriptor() ([]byte, []int)deprecated
- func (x *SSHUserNames) GetEmails() []string
- func (x *SSHUserNames) GetPrincipals() []string
- func (*SSHUserNames) ProtoMessage()
- func (x *SSHUserNames) ProtoReflect() protoreflect.Message
- func (x *SSHUserNames) Reset()
- func (x *SSHUserNames) String() string
- type SSHUserPolicy
- func (*SSHUserPolicy) Descriptor() ([]byte, []int)deprecated
- func (x *SSHUserPolicy) GetAllow() *SSHUserNames
- func (x *SSHUserPolicy) GetDeny() *SSHUserNames
- func (*SSHUserPolicy) ProtoMessage()
- func (x *SSHUserPolicy) ProtoReflect() protoreflect.Message
- func (x *SSHUserPolicy) Reset()
- func (x *SSHUserPolicy) String() string
- type ServerConfiguration
- func (*ServerConfiguration) Descriptor() ([]byte, []int)deprecated
- func (x *ServerConfiguration) GetAddress() string
- func (x *ServerConfiguration) GetDnsNames() []string
- func (*ServerConfiguration) ProtoMessage()
- func (x *ServerConfiguration) ProtoReflect() protoreflect.Message
- func (x *ServerConfiguration) Reset()
- func (x *ServerConfiguration) String() string
- type TLS
- func (*TLS) Descriptor() ([]byte, []int)deprecated
- func (x *TLS) GetCipherSuites() []TLS_CiperSuite
- func (x *TLS) GetMaxVersion() string
- func (x *TLS) GetMinVersion() string
- func (x *TLS) GetRenegotiation() bool
- func (*TLS) ProtoMessage()
- func (x *TLS) ProtoReflect() protoreflect.Message
- func (x *TLS) Reset()
- func (x *TLS) String() string
- type TLS_CiperSuite
- func (TLS_CiperSuite) Descriptor() protoreflect.EnumDescriptor
- func (x TLS_CiperSuite) Enum() *TLS_CiperSuite
- func (TLS_CiperSuite) EnumDescriptor() ([]byte, []int)deprecated
- func (x TLS_CiperSuite) Number() protoreflect.EnumNumber
- func (x TLS_CiperSuite) String() string
- func (TLS_CiperSuite) Type() protoreflect.EnumType
- type Template
- type UnimplementedMajordomoServer
- func (UnimplementedMajordomoServer) CreateAdmin(context.Context, *CreateAdminRequest) (*Admin, error)
- func (UnimplementedMajordomoServer) CreateProvisioner(context.Context, *CreateProvisionerRequest) (*Provisioner, error)
- func (UnimplementedMajordomoServer) DeleteAdmin(context.Context, *DeleteAdminRequest) (*Admin, error)
- func (UnimplementedMajordomoServer) DeleteProvisioner(context.Context, *DeleteProvisionerRequest) (*Provisioner, error)
- func (UnimplementedMajordomoServer) GetAdmin(context.Context, *GetAdminRequest) (*Admin, error)
- func (UnimplementedMajordomoServer) GetCertificate(context.Context, *GetCertificateRequest) (*GetCertificateResponse, error)
- func (UnimplementedMajordomoServer) GetCertificateStatus(context.Context, *GetCertificateStatusRequest) (*GetCertificateStatusResponse, error)
- func (UnimplementedMajordomoServer) GetConfiguration(context.Context, *ConfigurationRequest) (*ConfigurationResponse, error)
- func (UnimplementedMajordomoServer) GetProvisioner(context.Context, *GetProvisionerRequest) (*Provisioner, error)
- func (UnimplementedMajordomoServer) GetRootCertificate(context.Context, *GetRootCertificateRequest) (*GetRootCertificateResponse, error)
- func (UnimplementedMajordomoServer) GetSSHCertificateStatus(context.Context, *GetSSHCertificateStatusRequest) (*GetSSHCertificateStatusResponse, error)
- func (UnimplementedMajordomoServer) Login(context.Context, *LoginRequest) (*LoginResponse, error)
- func (UnimplementedMajordomoServer) PostCertificate(context.Context, *CertificateRequest) (*CertificateResponse, error)
- func (UnimplementedMajordomoServer) PostOneTimeToken(context.Context, *OneTimeTokenRequest) (*OneTimeTokenResponse, error)
- func (UnimplementedMajordomoServer) PostSSHCertificate(context.Context, *SSHCertificateRequest) (*SSHCertificateResponse, error)
- func (UnimplementedMajordomoServer) RevokeCertificate(context.Context, *RevokeCertificateRequest) (*RevokeCertificateResponse, error)
- func (UnimplementedMajordomoServer) RevokeSSHCertificate(context.Context, *RevokeSSHCertificateRequest) (*RevokeSSHCertificateResponse, error)
- func (UnimplementedMajordomoServer) UpdateAdmin(context.Context, *UpdateAdminRequest) (*Admin, error)
- func (UnimplementedMajordomoServer) UpdateProvisioner(context.Context, *UpdateProvisionerRequest) (*Provisioner, error)
- type UnsafeMajordomoServer
- type UpdateAdminRequest
- func (*UpdateAdminRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAdminRequest) GetId() string
- func (x *UpdateAdminRequest) GetType() Admin_Type
- func (*UpdateAdminRequest) ProtoMessage()
- func (x *UpdateAdminRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateAdminRequest) Reset()
- func (x *UpdateAdminRequest) String() string
- type UpdateProvisionerRequest
- func (*UpdateProvisionerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateProvisionerRequest) GetClaims() *Claims
- func (x *UpdateProvisionerRequest) GetDetails() *ProvisionerDetails
- func (x *UpdateProvisionerRequest) GetId() string
- func (x *UpdateProvisionerRequest) GetName() string
- func (x *UpdateProvisionerRequest) GetSshTemplate() *Template
- func (x *UpdateProvisionerRequest) GetX509Template() *Template
- func (*UpdateProvisionerRequest) ProtoMessage()
- func (x *UpdateProvisionerRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateProvisionerRequest) Reset()
- func (x *UpdateProvisionerRequest) String() string
- type Webhook
- func (*Webhook) Descriptor() ([]byte, []int)deprecated
- func (m *Webhook) GetAuth() isWebhook_Auth
- func (x *Webhook) GetBasicAuth() *BasicAuth
- func (x *Webhook) GetBearerToken() *BearerToken
- func (x *Webhook) GetCertType() Webhook_CertType
- func (x *Webhook) GetDisableTlsClientAuth() bool
- func (x *Webhook) GetId() string
- func (x *Webhook) GetKind() Webhook_Kind
- func (x *Webhook) GetName() string
- func (x *Webhook) GetSecret() string
- func (x *Webhook) GetUrl() string
- func (*Webhook) ProtoMessage()
- func (x *Webhook) ProtoReflect() protoreflect.Message
- func (x *Webhook) Reset()
- func (x *Webhook) String() string
- type Webhook_BasicAuth
- type Webhook_BearerToken
- type Webhook_CertType
- func (Webhook_CertType) Descriptor() protoreflect.EnumDescriptor
- func (x Webhook_CertType) Enum() *Webhook_CertType
- func (Webhook_CertType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Webhook_CertType) Number() protoreflect.EnumNumber
- func (x Webhook_CertType) String() string
- func (Webhook_CertType) Type() protoreflect.EnumType
- type Webhook_Kind
- func (Webhook_Kind) Descriptor() protoreflect.EnumDescriptor
- func (x Webhook_Kind) Enum() *Webhook_Kind
- func (Webhook_Kind) EnumDescriptor() ([]byte, []int)deprecated
- func (x Webhook_Kind) Number() protoreflect.EnumNumber
- func (x Webhook_Kind) String() string
- func (Webhook_Kind) Type() protoreflect.EnumType
- type X509Claims
- func (*X509Claims) Descriptor() ([]byte, []int)deprecated
- func (x *X509Claims) GetDurations() *Durations
- func (x *X509Claims) GetEnabled() bool
- func (*X509Claims) ProtoMessage()
- func (x *X509Claims) ProtoReflect() protoreflect.Message
- func (x *X509Claims) Reset()
- func (x *X509Claims) String() string
- type X509Names
- func (*X509Names) Descriptor() ([]byte, []int)deprecated
- func (x *X509Names) GetCommonNames() []string
- func (x *X509Names) GetDns() []string
- func (x *X509Names) GetEmails() []string
- func (x *X509Names) GetIps() []string
- func (x *X509Names) GetUris() []string
- func (*X509Names) ProtoMessage()
- func (x *X509Names) ProtoReflect() protoreflect.Message
- func (x *X509Names) Reset()
- func (x *X509Names) String() string
- type X509Policy
- func (*X509Policy) Descriptor() ([]byte, []int)deprecated
- func (x *X509Policy) GetAllow() *X509Names
- func (x *X509Policy) GetAllowWildcardNames() bool
- func (x *X509Policy) GetDeny() *X509Names
- func (*X509Policy) ProtoMessage()
- func (x *X509Policy) ProtoReflect() protoreflect.Message
- func (x *X509Policy) Reset()
- func (x *X509Policy) String() string
- type X5CProvisioner
Constants ¶
const ( Majordomo_Login_FullMethodName = "/linkedca.Majordomo/Login" Majordomo_GetRootCertificate_FullMethodName = "/linkedca.Majordomo/GetRootCertificate" Majordomo_GetConfiguration_FullMethodName = "/linkedca.Majordomo/GetConfiguration" Majordomo_CreateProvisioner_FullMethodName = "/linkedca.Majordomo/CreateProvisioner" Majordomo_GetProvisioner_FullMethodName = "/linkedca.Majordomo/GetProvisioner" Majordomo_UpdateProvisioner_FullMethodName = "/linkedca.Majordomo/UpdateProvisioner" Majordomo_DeleteProvisioner_FullMethodName = "/linkedca.Majordomo/DeleteProvisioner" Majordomo_CreateAdmin_FullMethodName = "/linkedca.Majordomo/CreateAdmin" Majordomo_GetAdmin_FullMethodName = "/linkedca.Majordomo/GetAdmin" Majordomo_UpdateAdmin_FullMethodName = "/linkedca.Majordomo/UpdateAdmin" Majordomo_DeleteAdmin_FullMethodName = "/linkedca.Majordomo/DeleteAdmin" Majordomo_PostCertificate_FullMethodName = "/linkedca.Majordomo/PostCertificate" Majordomo_PostSSHCertificate_FullMethodName = "/linkedca.Majordomo/PostSSHCertificate" Majordomo_PostOneTimeToken_FullMethodName = "/linkedca.Majordomo/PostOneTimeToken" Majordomo_RevokeCertificate_FullMethodName = "/linkedca.Majordomo/RevokeCertificate" Majordomo_RevokeSSHCertificate_FullMethodName = "/linkedca.Majordomo/RevokeSSHCertificate" Majordomo_GetCertificate_FullMethodName = "/linkedca.Majordomo/GetCertificate" Majordomo_GetCertificateStatus_FullMethodName = "/linkedca.Majordomo/GetCertificateStatus" Majordomo_GetSSHCertificateStatus_FullMethodName = "/linkedca.Majordomo/GetSSHCertificateStatus" )
Variables ¶
var ( Admin_Type_name = map[int32]string{ 0: "UNKNOWN", 1: "ADMIN", 2: "SUPER_ADMIN", } Admin_Type_value = map[string]int32{ "UNKNOWN": 0, "ADMIN": 1, "SUPER_ADMIN": 2, } )
Enum value maps for Admin_Type.
var ( Authority_Type_name = map[int32]string{ 0: "DEFAULT", 1: "SOFTCAS", 2: "CLOUDCAS", 3: "STEPCAS", } Authority_Type_value = map[string]int32{ "DEFAULT": 0, "SOFTCAS": 1, "CLOUDCAS": 2, "STEPCAS": 3, } )
Enum value maps for Authority_Type.
var ( CertificateIssuer_Type_name = map[int32]string{ 0: "UNKNOWN", 1: "JWK", 2: "X5C", } CertificateIssuer_Type_value = map[string]int32{ "UNKNOWN": 0, "JWK": 1, "X5C": 2, } )
Enum value maps for CertificateIssuer_Type.
var ( SSHPublicKey_Type_name = map[int32]string{ 0: "UNKNOWN", 1: "USER", 2: "HOST", } SSHPublicKey_Type_value = map[string]int32{ "UNKNOWN": 0, "USER": 1, "HOST": 2, } )
Enum value maps for SSHPublicKey_Type.
var ( KMS_Type_name = map[int32]string{ 0: "DEFAULT", 1: "SOFTKMS", 2: "CLOUDKMS", 3: "AMAZONKMS", 4: "PKCS11", 5: "YUBIKEY", 6: "SSHAGENTKMS", 7: "AZUREKMS", } KMS_Type_value = map[string]int32{ "DEFAULT": 0, "SOFTKMS": 1, "CLOUDKMS": 2, "AMAZONKMS": 3, "PKCS11": 4, "YUBIKEY": 5, "SSHAGENTKMS": 6, "AZUREKMS": 7, } )
Enum value maps for KMS_Type.
var ( TLS_CiperSuite_name = map[int32]string{ 0: "UNKNOWN", 5: "TLS_RSA_WITH_RC4_128_SHA", 10: "TLS_RSA_WITH_3DES_EDE_CBC_SHA", 47: "TLS_RSA_WITH_AES_128_CBC_SHA", 53: "TLS_RSA_WITH_AES_256_CBC_SHA", 60: "TLS_RSA_WITH_AES_128_CBC_SHA256", 156: "TLS_RSA_WITH_AES_128_GCM_SHA256", 157: "TLS_RSA_WITH_AES_256_GCM_SHA384", 49159: "TLS_ECDHE_ECDSA_WITH_RC4_128_SHA", 49161: "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", 49162: "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA", 49169: "TLS_ECDHE_RSA_WITH_RC4_128_SHA", 49170: "TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA", 49171: "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA", 49172: "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA", 49187: "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256", 49191: "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256", 49199: "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", 49195: "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", 49200: "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", 49196: "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", 52392: "TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256", 52393: "TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256", 4865: "TLS_AES_128_GCM_SHA256", 4866: "TLS_AES_256_GCM_SHA384", 4867: "TLS_CHACHA20_POLY1305_SHA256", } TLS_CiperSuite_value = map[string]int32{ "UNKNOWN": 0, "TLS_RSA_WITH_RC4_128_SHA": 5, "TLS_RSA_WITH_3DES_EDE_CBC_SHA": 10, "TLS_RSA_WITH_AES_128_CBC_SHA": 47, "TLS_RSA_WITH_AES_256_CBC_SHA": 53, "TLS_RSA_WITH_AES_128_CBC_SHA256": 60, "TLS_RSA_WITH_AES_128_GCM_SHA256": 156, "TLS_RSA_WITH_AES_256_GCM_SHA384": 157, "TLS_ECDHE_ECDSA_WITH_RC4_128_SHA": 49159, "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA": 49161, "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA": 49162, "TLS_ECDHE_RSA_WITH_RC4_128_SHA": 49169, "TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA": 49170, "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA": 49171, "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA": 49172, "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256": 49187, "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256": 49191, "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256": 49199, "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256": 49195, "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384": 49200, "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384": 49196, "TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256": 52392, "TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256": 52393, "TLS_AES_128_GCM_SHA256": 4865, "TLS_AES_256_GCM_SHA384": 4866, "TLS_CHACHA20_POLY1305_SHA256": 4867, } )
Enum value maps for TLS_CiperSuite.
var ( ConfigTemplate_Type_name = map[int32]string{ 0: "UNKNOWN", 1: "SNIPPET", 2: "FILE", 3: "DIRECTORY", } ConfigTemplate_Type_value = map[string]int32{ "UNKNOWN": 0, "SNIPPET": 1, "FILE": 2, "DIRECTORY": 3, } )
Enum value maps for ConfigTemplate_Type.
var ( RevocationStatus_name = map[int32]string{ 0: "UNKNOWN", 1: "ACTIVE", 2: "REVOKED", 3: "HOLD", } RevocationStatus_value = map[string]int32{ "UNKNOWN": 0, "ACTIVE": 1, "REVOKED": 2, "HOLD": 3, } )
Enum value maps for RevocationStatus.
var ( RevocationReasonCode_name = map[int32]string{ 0: "UNSPECIFIED", 1: "KEY_COMPROMISE", 2: "CA_COMPROMISE", 3: "AFFILIATION_CHANGED", 4: "SUPERSEDED", 5: "CESSATION_OF_OPERATION", 6: "CERTIFICATE_HOLD", 8: "REMOVE_FROM_CRL", 9: "PRIVILEGE_WITHDRAWN", 10: "AA_COMPROMISE", } RevocationReasonCode_value = map[string]int32{ "UNSPECIFIED": 0, "KEY_COMPROMISE": 1, "CA_COMPROMISE": 2, "AFFILIATION_CHANGED": 3, "SUPERSEDED": 4, "CESSATION_OF_OPERATION": 5, "CERTIFICATE_HOLD": 6, "REMOVE_FROM_CRL": 8, "PRIVILEGE_WITHDRAWN": 9, "AA_COMPROMISE": 10, } )
Enum value maps for RevocationReasonCode.
var ( Provisioner_Type_name = map[int32]string{ 0: "NOOP", 1: "JWK", 2: "OIDC", 3: "GCP", 4: "AWS", 5: "AZURE", 6: "ACME", 7: "X5C", 8: "K8SSA", 9: "SSHPOP", 10: "SCEP", 11: "NEBULA", } Provisioner_Type_value = map[string]int32{ "NOOP": 0, "JWK": 1, "OIDC": 2, "GCP": 3, "AWS": 4, "AZURE": 5, "ACME": 6, "X5C": 7, "K8SSA": 8, "SSHPOP": 9, "SCEP": 10, "NEBULA": 11, } )
Enum value maps for Provisioner_Type.
var ( ACMEProvisioner_ChallengeType_name = map[int32]string{ 0: "UNKNOWN", 1: "HTTP_01", 2: "DNS_01", 3: "TLS_ALPN_01", 4: "DEVICE_ATTEST_01", } ACMEProvisioner_ChallengeType_value = map[string]int32{ "UNKNOWN": 0, "HTTP_01": 1, "DNS_01": 2, "TLS_ALPN_01": 3, "DEVICE_ATTEST_01": 4, } )
Enum value maps for ACMEProvisioner_ChallengeType.
var ( ACMEProvisioner_AttestationFormatType_name = map[int32]string{ 0: "NONE", 1: "APPLE", 2: "STEP", 3: "TPM", } ACMEProvisioner_AttestationFormatType_value = map[string]int32{ "NONE": 0, "APPLE": 1, "STEP": 2, "TPM": 3, } )
Enum value maps for ACMEProvisioner_AttestationFormatType.
var ( Webhook_Kind_name = map[int32]string{ 0: "NO_KIND", 1: "ENRICHING", 2: "AUTHORIZING", 3: "SCEPCHALLENGE", 4: "NOTIFYING", } Webhook_Kind_value = map[string]int32{ "NO_KIND": 0, "ENRICHING": 1, "AUTHORIZING": 2, "SCEPCHALLENGE": 3, "NOTIFYING": 4, } )
Enum value maps for Webhook_Kind.
var ( Webhook_CertType_name = map[int32]string{ 0: "ALL", 1: "X509", 2: "SSH", } Webhook_CertType_value = map[string]int32{ "ALL": 0, "X509": 1, "SSH": 2, } )
Enum value maps for Webhook_CertType.
var File_linkedca_admin_proto protoreflect.FileDescriptor
var File_linkedca_config_proto protoreflect.FileDescriptor
var File_linkedca_eab_proto protoreflect.FileDescriptor
var File_linkedca_majordomo_proto protoreflect.FileDescriptor
var File_linkedca_policy_proto protoreflect.FileDescriptor
var File_linkedca_provisioners_proto protoreflect.FileDescriptor
var Majordomo_ServiceDesc = grpc.ServiceDesc{ ServiceName: "linkedca.Majordomo", HandlerType: (*MajordomoServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Login", Handler: _Majordomo_Login_Handler, }, { MethodName: "GetRootCertificate", Handler: _Majordomo_GetRootCertificate_Handler, }, { MethodName: "GetConfiguration", Handler: _Majordomo_GetConfiguration_Handler, }, { MethodName: "CreateProvisioner", Handler: _Majordomo_CreateProvisioner_Handler, }, { MethodName: "GetProvisioner", Handler: _Majordomo_GetProvisioner_Handler, }, { MethodName: "UpdateProvisioner", Handler: _Majordomo_UpdateProvisioner_Handler, }, { MethodName: "DeleteProvisioner", Handler: _Majordomo_DeleteProvisioner_Handler, }, { MethodName: "CreateAdmin", Handler: _Majordomo_CreateAdmin_Handler, }, { MethodName: "GetAdmin", Handler: _Majordomo_GetAdmin_Handler, }, { MethodName: "UpdateAdmin", Handler: _Majordomo_UpdateAdmin_Handler, }, { MethodName: "DeleteAdmin", Handler: _Majordomo_DeleteAdmin_Handler, }, { MethodName: "PostCertificate", Handler: _Majordomo_PostCertificate_Handler, }, { MethodName: "PostSSHCertificate", Handler: _Majordomo_PostSSHCertificate_Handler, }, { MethodName: "PostOneTimeToken", Handler: _Majordomo_PostOneTimeToken_Handler, }, { MethodName: "RevokeCertificate", Handler: _Majordomo_RevokeCertificate_Handler, }, { MethodName: "RevokeSSHCertificate", Handler: _Majordomo_RevokeSSHCertificate_Handler, }, { MethodName: "GetCertificate", Handler: _Majordomo_GetCertificate_Handler, }, { MethodName: "GetCertificateStatus", Handler: _Majordomo_GetCertificateStatus_Handler, }, { MethodName: "GetSSHCertificateStatus", Handler: _Majordomo_GetSSHCertificateStatus_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "linkedca/majordomo.proto", }
Majordomo_ServiceDesc is the grpc.ServiceDesc for Majordomo service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func NewContextWithAdmin ¶ added in v0.12.0
NewContextWithAdmin returns a copy of ctx which carries an Admin.
func NewContextWithExternalAccountKey ¶ added in v0.14.0
NewContextWithExternalAccountKey returns a copy of ctx which carries an EABKey.
func NewContextWithProvisioner ¶ added in v0.12.0
func NewContextWithProvisioner(ctx context.Context, provisioner *Provisioner) context.Context
NewContextWithProvisioner returns a copy of ctx which carries a Provisioner.
func RegisterMajordomoServer ¶
func RegisterMajordomoServer(s grpc.ServiceRegistrar, srv MajordomoServer)
Types ¶
type ACMEProvisioner ¶
type ACMEProvisioner struct { ForceCn bool `protobuf:"varint,1,opt,name=force_cn,json=forceCn,proto3" json:"force_cn,omitempty"` RequireEab bool `protobuf:"varint,2,opt,name=require_eab,json=requireEab,proto3" json:"require_eab,omitempty"` Challenges []ACMEProvisioner_ChallengeType `protobuf:"varint,3,rep,packed,name=challenges,proto3,enum=linkedca.ACMEProvisioner_ChallengeType" json:"challenges,omitempty"` AttestationFormats []ACMEProvisioner_AttestationFormatType `` /* 175-byte string literal not displayed */ AttestationRoots [][]byte `protobuf:"bytes,5,rep,name=attestation_roots,json=attestationRoots,proto3" json:"attestation_roots,omitempty"` TermsOfService string `protobuf:"bytes,6,opt,name=terms_of_service,json=termsOfService,proto3" json:"terms_of_service,omitempty"` Website string `protobuf:"bytes,7,opt,name=website,proto3" json:"website,omitempty"` CaaIdentities []string `protobuf:"bytes,8,rep,name=caa_identities,json=caaIdentities,proto3" json:"caa_identities,omitempty"` // contains filtered or unexported fields }
func (*ACMEProvisioner) Descriptor
deprecated
func (*ACMEProvisioner) Descriptor() ([]byte, []int)
Deprecated: Use ACMEProvisioner.ProtoReflect.Descriptor instead.
func (*ACMEProvisioner) GetAttestationFormats ¶ added in v0.19.0
func (x *ACMEProvisioner) GetAttestationFormats() []ACMEProvisioner_AttestationFormatType
func (*ACMEProvisioner) GetAttestationRoots ¶ added in v0.19.0
func (x *ACMEProvisioner) GetAttestationRoots() [][]byte
func (*ACMEProvisioner) GetCaaIdentities ¶ added in v0.19.0
func (x *ACMEProvisioner) GetCaaIdentities() []string
func (*ACMEProvisioner) GetChallenges ¶ added in v0.19.0
func (x *ACMEProvisioner) GetChallenges() []ACMEProvisioner_ChallengeType
func (*ACMEProvisioner) GetForceCn ¶
func (x *ACMEProvisioner) GetForceCn() bool
func (*ACMEProvisioner) GetRequireEab ¶ added in v0.6.0
func (x *ACMEProvisioner) GetRequireEab() bool
func (*ACMEProvisioner) GetTermsOfService ¶ added in v0.19.0
func (x *ACMEProvisioner) GetTermsOfService() string
func (*ACMEProvisioner) GetWebsite ¶ added in v0.19.0
func (x *ACMEProvisioner) GetWebsite() string
func (*ACMEProvisioner) ProtoMessage ¶
func (*ACMEProvisioner) ProtoMessage()
func (*ACMEProvisioner) ProtoReflect ¶
func (x *ACMEProvisioner) ProtoReflect() protoreflect.Message
func (*ACMEProvisioner) Reset ¶
func (x *ACMEProvisioner) Reset()
func (*ACMEProvisioner) String ¶
func (x *ACMEProvisioner) String() string
type ACMEProvisioner_AttestationFormatType ¶ added in v0.19.0
type ACMEProvisioner_AttestationFormatType int32
const ( ACMEProvisioner_NONE ACMEProvisioner_AttestationFormatType = 0 ACMEProvisioner_APPLE ACMEProvisioner_AttestationFormatType = 1 ACMEProvisioner_STEP ACMEProvisioner_AttestationFormatType = 2 ACMEProvisioner_TPM ACMEProvisioner_AttestationFormatType = 3 )
func (ACMEProvisioner_AttestationFormatType) Descriptor ¶ added in v0.19.0
func (ACMEProvisioner_AttestationFormatType) Descriptor() protoreflect.EnumDescriptor
func (ACMEProvisioner_AttestationFormatType) EnumDescriptor
deprecated
added in
v0.19.0
func (ACMEProvisioner_AttestationFormatType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ACMEProvisioner_AttestationFormatType.Descriptor instead.
func (ACMEProvisioner_AttestationFormatType) Number ¶ added in v0.19.0
func (x ACMEProvisioner_AttestationFormatType) Number() protoreflect.EnumNumber
func (ACMEProvisioner_AttestationFormatType) String ¶ added in v0.19.0
func (x ACMEProvisioner_AttestationFormatType) String() string
func (ACMEProvisioner_AttestationFormatType) Type ¶ added in v0.19.0
func (ACMEProvisioner_AttestationFormatType) Type() protoreflect.EnumType
type ACMEProvisioner_ChallengeType ¶ added in v0.19.0
type ACMEProvisioner_ChallengeType int32
const ( ACMEProvisioner_UNKNOWN ACMEProvisioner_ChallengeType = 0 ACMEProvisioner_HTTP_01 ACMEProvisioner_ChallengeType = 1 ACMEProvisioner_DNS_01 ACMEProvisioner_ChallengeType = 2 ACMEProvisioner_TLS_ALPN_01 ACMEProvisioner_ChallengeType = 3 ACMEProvisioner_DEVICE_ATTEST_01 ACMEProvisioner_ChallengeType = 4 )
func (ACMEProvisioner_ChallengeType) Descriptor ¶ added in v0.19.0
func (ACMEProvisioner_ChallengeType) Descriptor() protoreflect.EnumDescriptor
func (ACMEProvisioner_ChallengeType) Enum ¶ added in v0.19.0
func (x ACMEProvisioner_ChallengeType) Enum() *ACMEProvisioner_ChallengeType
func (ACMEProvisioner_ChallengeType) EnumDescriptor
deprecated
added in
v0.19.0
func (ACMEProvisioner_ChallengeType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ACMEProvisioner_ChallengeType.Descriptor instead.
func (ACMEProvisioner_ChallengeType) Number ¶ added in v0.19.0
func (x ACMEProvisioner_ChallengeType) Number() protoreflect.EnumNumber
func (ACMEProvisioner_ChallengeType) String ¶ added in v0.19.0
func (x ACMEProvisioner_ChallengeType) String() string
func (ACMEProvisioner_ChallengeType) Type ¶ added in v0.19.0
func (ACMEProvisioner_ChallengeType) Type() protoreflect.EnumType
type AWSProvisioner ¶
type AWSProvisioner struct { Accounts []string `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"` DisableCustomSans bool `protobuf:"varint,2,opt,name=disable_custom_sans,json=disableCustomSans,proto3" json:"disable_custom_sans,omitempty"` DisableTrustOnFirstUse bool `` /* 134-byte string literal not displayed */ InstanceAge string `protobuf:"bytes,4,opt,name=instance_age,json=instanceAge,proto3" json:"instance_age,omitempty"` // contains filtered or unexported fields }
func (*AWSProvisioner) Descriptor
deprecated
func (*AWSProvisioner) Descriptor() ([]byte, []int)
Deprecated: Use AWSProvisioner.ProtoReflect.Descriptor instead.
func (*AWSProvisioner) GetAccounts ¶
func (x *AWSProvisioner) GetAccounts() []string
func (*AWSProvisioner) GetDisableCustomSans ¶
func (x *AWSProvisioner) GetDisableCustomSans() bool
func (*AWSProvisioner) GetDisableTrustOnFirstUse ¶
func (x *AWSProvisioner) GetDisableTrustOnFirstUse() bool
func (*AWSProvisioner) GetInstanceAge ¶
func (x *AWSProvisioner) GetInstanceAge() string
func (*AWSProvisioner) ProtoMessage ¶
func (*AWSProvisioner) ProtoMessage()
func (*AWSProvisioner) ProtoReflect ¶
func (x *AWSProvisioner) ProtoReflect() protoreflect.Message
func (*AWSProvisioner) Reset ¶
func (x *AWSProvisioner) Reset()
func (*AWSProvisioner) String ¶
func (x *AWSProvisioner) String() string
type Admin ¶
type Admin struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` AuthorityId string `protobuf:"bytes,2,opt,name=authority_id,json=authorityId,proto3" json:"authority_id,omitempty"` Subject string `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"` ProvisionerId string `protobuf:"bytes,4,opt,name=provisioner_id,json=provisionerId,proto3" json:"provisioner_id,omitempty"` Type Admin_Type `protobuf:"varint,5,opt,name=type,proto3,enum=linkedca.Admin_Type" json:"type,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` DeletedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` // contains filtered or unexported fields }
func AdminFromContext ¶ added in v0.12.0
AdminFromContext returns an Admin if the ctx carries one and a bool indicating if an Admin is carried by the ctx.
func MustAdminFromContext ¶ added in v0.16.0
MustAdminFromContext returns the Admin ctx carries.
MustAdminFromContext panics in case ctx carries no Admin.
func (*Admin) Descriptor
deprecated
func (*Admin) GetAuthorityId ¶
func (*Admin) GetCreatedAt ¶
func (x *Admin) GetCreatedAt() *timestamppb.Timestamp
func (*Admin) GetDeletedAt ¶
func (x *Admin) GetDeletedAt() *timestamppb.Timestamp
func (*Admin) GetProvisionerId ¶
func (*Admin) GetSubject ¶
func (*Admin) GetType ¶
func (x *Admin) GetType() Admin_Type
func (*Admin) ProtoMessage ¶
func (*Admin) ProtoMessage()
func (*Admin) ProtoReflect ¶
func (x *Admin) ProtoReflect() protoreflect.Message
type AdminList ¶
type AdminList struct { Admins []*Admin `protobuf:"bytes,1,rep,name=admins,proto3" json:"admins,omitempty"` // contains filtered or unexported fields }
func (*AdminList) Descriptor
deprecated
func (*AdminList) ProtoMessage ¶
func (*AdminList) ProtoMessage()
func (*AdminList) ProtoReflect ¶
func (x *AdminList) ProtoReflect() protoreflect.Message
type Admin_Type ¶
type Admin_Type int32
const ( Admin_UNKNOWN Admin_Type = 0 Admin_ADMIN Admin_Type = 1 Admin_SUPER_ADMIN Admin_Type = 2 )
func (Admin_Type) Descriptor ¶
func (Admin_Type) Descriptor() protoreflect.EnumDescriptor
func (Admin_Type) Enum ¶
func (x Admin_Type) Enum() *Admin_Type
func (Admin_Type) EnumDescriptor
deprecated
func (Admin_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Admin_Type.Descriptor instead.
func (Admin_Type) Number ¶
func (x Admin_Type) Number() protoreflect.EnumNumber
func (Admin_Type) String ¶
func (x Admin_Type) String() string
func (Admin_Type) Type ¶
func (Admin_Type) Type() protoreflect.EnumType
type AttestationData ¶ added in v0.19.0
type AttestationData struct { PermanentIdentifier string `protobuf:"bytes,1,opt,name=permanent_identifier,json=permanentIdentifier,proto3" json:"permanent_identifier,omitempty"` // contains filtered or unexported fields }
AttestationData holds the information available at certificate sign time. Currently only the permanent identifier (UDID or SerialNumber, not both) is available.
func (*AttestationData) Descriptor
deprecated
added in
v0.19.0
func (*AttestationData) Descriptor() ([]byte, []int)
Deprecated: Use AttestationData.ProtoReflect.Descriptor instead.
func (*AttestationData) GetPermanentIdentifier ¶ added in v0.19.0
func (x *AttestationData) GetPermanentIdentifier() string
func (*AttestationData) ProtoMessage ¶ added in v0.19.0
func (*AttestationData) ProtoMessage()
func (*AttestationData) ProtoReflect ¶ added in v0.19.0
func (x *AttestationData) ProtoReflect() protoreflect.Message
func (*AttestationData) Reset ¶ added in v0.19.0
func (x *AttestationData) Reset()
func (*AttestationData) String ¶ added in v0.19.0
func (x *AttestationData) String() string
type Authority ¶ added in v0.5.0
type Authority struct { // Authority id. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // CAS specific properties. Type Authority_Type `protobuf:"varint,2,opt,name=type,proto3,enum=linkedca.Authority_Type" json:"type,omitempty"` CertificateAuthority string `protobuf:"bytes,3,opt,name=certificate_authority,json=certificateAuthority,proto3" json:"certificate_authority,omitempty"` CertificateAuthorityFingerprint string `` /* 156-byte string literal not displayed */ CertificateIssuer *CertificateIssuer `protobuf:"bytes,5,opt,name=certificate_issuer,json=certificateIssuer,proto3" json:"certificate_issuer,omitempty"` CredentialsFile string `protobuf:"bytes,6,opt,name=credentials_file,json=credentialsFile,proto3" json:"credentials_file,omitempty"` // Authority configuration. EnableAdmin bool `protobuf:"varint,7,opt,name=enable_admin,json=enableAdmin,proto3" json:"enable_admin,omitempty"` Provisioners []*Provisioner `protobuf:"bytes,8,rep,name=provisioners,proto3" json:"provisioners,omitempty"` Admins []*Admin `protobuf:"bytes,9,rep,name=admins,proto3" json:"admins,omitempty"` Template *DistinguishedName `protobuf:"bytes,10,opt,name=template,proto3" json:"template,omitempty"` Claims *Claims `protobuf:"bytes,11,opt,name=claims,proto3" json:"claims,omitempty"` DisableIssuedAtCheck bool `` /* 127-byte string literal not displayed */ Backdate string `protobuf:"bytes,13,opt,name=backdate,proto3" json:"backdate,omitempty"` DeploymentType string `protobuf:"bytes,14,opt,name=deployment_type,json=deploymentType,proto3" json:"deployment_type,omitempty"` Policy *Policy `protobuf:"bytes,15,opt,name=policy,proto3" json:"policy,omitempty"` // contains filtered or unexported fields }
func (*Authority) Descriptor
deprecated
added in
v0.5.0
func (*Authority) GetBackdate ¶ added in v0.5.0
func (*Authority) GetCertificateAuthority ¶ added in v0.5.0
func (*Authority) GetCertificateAuthorityFingerprint ¶ added in v0.5.0
func (*Authority) GetCertificateIssuer ¶ added in v0.5.0
func (x *Authority) GetCertificateIssuer() *CertificateIssuer
func (*Authority) GetCredentialsFile ¶ added in v0.5.0
func (*Authority) GetDeploymentType ¶ added in v0.5.0
func (*Authority) GetDisableIssuedAtCheck ¶ added in v0.5.0
func (*Authority) GetEnableAdmin ¶ added in v0.5.0
func (*Authority) GetProvisioners ¶ added in v0.5.0
func (x *Authority) GetProvisioners() []*Provisioner
func (*Authority) GetTemplate ¶ added in v0.5.0
func (x *Authority) GetTemplate() *DistinguishedName
func (*Authority) GetType ¶ added in v0.5.0
func (x *Authority) GetType() Authority_Type
func (*Authority) ProtoMessage ¶ added in v0.5.0
func (*Authority) ProtoMessage()
func (*Authority) ProtoReflect ¶ added in v0.5.0
func (x *Authority) ProtoReflect() protoreflect.Message
type Authority_Type ¶ added in v0.5.0
type Authority_Type int32
const ( Authority_DEFAULT Authority_Type = 0 Authority_SOFTCAS Authority_Type = 1 Authority_CLOUDCAS Authority_Type = 2 Authority_STEPCAS Authority_Type = 3 )
func (Authority_Type) Descriptor ¶ added in v0.5.0
func (Authority_Type) Descriptor() protoreflect.EnumDescriptor
func (Authority_Type) Enum ¶ added in v0.5.0
func (x Authority_Type) Enum() *Authority_Type
func (Authority_Type) EnumDescriptor
deprecated
added in
v0.5.0
func (Authority_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Authority_Type.Descriptor instead.
func (Authority_Type) Number ¶ added in v0.5.0
func (x Authority_Type) Number() protoreflect.EnumNumber
func (Authority_Type) String ¶ added in v0.5.0
func (x Authority_Type) String() string
func (Authority_Type) Type ¶ added in v0.5.0
func (Authority_Type) Type() protoreflect.EnumType
type AzureProvisioner ¶
type AzureProvisioner struct { TenantId string `protobuf:"bytes,1,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"` ResourceGroups []string `protobuf:"bytes,2,rep,name=resource_groups,json=resourceGroups,proto3" json:"resource_groups,omitempty"` Audience string `protobuf:"bytes,3,opt,name=audience,proto3" json:"audience,omitempty"` DisableCustomSans bool `protobuf:"varint,4,opt,name=disable_custom_sans,json=disableCustomSans,proto3" json:"disable_custom_sans,omitempty"` DisableTrustOnFirstUse bool `` /* 134-byte string literal not displayed */ SubscriptionIds []string `protobuf:"bytes,6,rep,name=subscription_ids,json=subscriptionIds,proto3" json:"subscription_ids,omitempty"` ObjectIds []string `protobuf:"bytes,7,rep,name=object_ids,json=objectIds,proto3" json:"object_ids,omitempty"` // contains filtered or unexported fields }
func (*AzureProvisioner) Descriptor
deprecated
func (*AzureProvisioner) Descriptor() ([]byte, []int)
Deprecated: Use AzureProvisioner.ProtoReflect.Descriptor instead.
func (*AzureProvisioner) GetAudience ¶
func (x *AzureProvisioner) GetAudience() string
func (*AzureProvisioner) GetDisableCustomSans ¶
func (x *AzureProvisioner) GetDisableCustomSans() bool
func (*AzureProvisioner) GetDisableTrustOnFirstUse ¶
func (x *AzureProvisioner) GetDisableTrustOnFirstUse() bool
func (*AzureProvisioner) GetObjectIds ¶ added in v0.10.0
func (x *AzureProvisioner) GetObjectIds() []string
func (*AzureProvisioner) GetResourceGroups ¶
func (x *AzureProvisioner) GetResourceGroups() []string
func (*AzureProvisioner) GetSubscriptionIds ¶ added in v0.10.0
func (x *AzureProvisioner) GetSubscriptionIds() []string
func (*AzureProvisioner) GetTenantId ¶
func (x *AzureProvisioner) GetTenantId() string
func (*AzureProvisioner) ProtoMessage ¶
func (*AzureProvisioner) ProtoMessage()
func (*AzureProvisioner) ProtoReflect ¶
func (x *AzureProvisioner) ProtoReflect() protoreflect.Message
func (*AzureProvisioner) Reset ¶
func (x *AzureProvisioner) Reset()
func (*AzureProvisioner) String ¶
func (x *AzureProvisioner) String() string
type BasicAuth ¶ added in v0.19.0
type BasicAuth struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*BasicAuth) Descriptor
deprecated
added in
v0.19.0
func (*BasicAuth) GetPassword ¶ added in v0.19.0
func (*BasicAuth) GetUsername ¶ added in v0.19.0
func (*BasicAuth) ProtoMessage ¶ added in v0.19.0
func (*BasicAuth) ProtoMessage()
func (*BasicAuth) ProtoReflect ¶ added in v0.19.0
func (x *BasicAuth) ProtoReflect() protoreflect.Message
type Bastion ¶ added in v0.5.0
type Bastion struct { Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"` User string `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` Port string `protobuf:"bytes,3,opt,name=port,proto3" json:"port,omitempty"` Command string `protobuf:"bytes,4,opt,name=command,proto3" json:"command,omitempty"` Flags string `protobuf:"bytes,5,opt,name=flags,proto3" json:"flags,omitempty"` // contains filtered or unexported fields }
func (*Bastion) Descriptor
deprecated
added in
v0.5.0
func (*Bastion) GetCommand ¶ added in v0.5.0
func (*Bastion) GetHostname ¶ added in v0.5.0
func (*Bastion) ProtoMessage ¶ added in v0.5.0
func (*Bastion) ProtoMessage()
func (*Bastion) ProtoReflect ¶ added in v0.5.0
func (x *Bastion) ProtoReflect() protoreflect.Message
type BearerToken ¶ added in v0.19.0
type BearerToken struct { BearerToken string `protobuf:"bytes,1,opt,name=bearer_token,json=bearerToken,proto3" json:"bearer_token,omitempty"` // contains filtered or unexported fields }
func (*BearerToken) Descriptor
deprecated
added in
v0.19.0
func (*BearerToken) Descriptor() ([]byte, []int)
Deprecated: Use BearerToken.ProtoReflect.Descriptor instead.
func (*BearerToken) GetBearerToken ¶ added in v0.19.0
func (x *BearerToken) GetBearerToken() string
func (*BearerToken) ProtoMessage ¶ added in v0.19.0
func (*BearerToken) ProtoMessage()
func (*BearerToken) ProtoReflect ¶ added in v0.19.0
func (x *BearerToken) ProtoReflect() protoreflect.Message
func (*BearerToken) Reset ¶ added in v0.19.0
func (x *BearerToken) Reset()
func (*BearerToken) String ¶ added in v0.19.0
func (x *BearerToken) String() string
type CertificateIssuer ¶ added in v0.5.0
type CertificateIssuer struct { Type CertificateIssuer_Type `protobuf:"varint,1,opt,name=type,proto3,enum=linkedca.CertificateIssuer_Type" json:"type,omitempty"` Provisioner string `protobuf:"bytes,2,opt,name=provisioner,proto3" json:"provisioner,omitempty"` Certificate string `protobuf:"bytes,3,opt,name=certificate,proto3" json:"certificate,omitempty"` Key string `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty"` Password []byte `protobuf:"bytes,5,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*CertificateIssuer) Descriptor
deprecated
added in
v0.5.0
func (*CertificateIssuer) Descriptor() ([]byte, []int)
Deprecated: Use CertificateIssuer.ProtoReflect.Descriptor instead.
func (*CertificateIssuer) GetCertificate ¶ added in v0.5.0
func (x *CertificateIssuer) GetCertificate() string
func (*CertificateIssuer) GetKey ¶ added in v0.5.0
func (x *CertificateIssuer) GetKey() string
func (*CertificateIssuer) GetPassword ¶ added in v0.5.0
func (x *CertificateIssuer) GetPassword() []byte
func (*CertificateIssuer) GetProvisioner ¶ added in v0.5.0
func (x *CertificateIssuer) GetProvisioner() string
func (*CertificateIssuer) GetType ¶ added in v0.5.0
func (x *CertificateIssuer) GetType() CertificateIssuer_Type
func (*CertificateIssuer) ProtoMessage ¶ added in v0.5.0
func (*CertificateIssuer) ProtoMessage()
func (*CertificateIssuer) ProtoReflect ¶ added in v0.5.0
func (x *CertificateIssuer) ProtoReflect() protoreflect.Message
func (*CertificateIssuer) Reset ¶ added in v0.5.0
func (x *CertificateIssuer) Reset()
func (*CertificateIssuer) String ¶ added in v0.5.0
func (x *CertificateIssuer) String() string
type CertificateIssuer_Type ¶ added in v0.5.0
type CertificateIssuer_Type int32
const ( CertificateIssuer_UNKNOWN CertificateIssuer_Type = 0 CertificateIssuer_JWK CertificateIssuer_Type = 1 CertificateIssuer_X5C CertificateIssuer_Type = 2 )
func (CertificateIssuer_Type) Descriptor ¶ added in v0.5.0
func (CertificateIssuer_Type) Descriptor() protoreflect.EnumDescriptor
func (CertificateIssuer_Type) Enum ¶ added in v0.5.0
func (x CertificateIssuer_Type) Enum() *CertificateIssuer_Type
func (CertificateIssuer_Type) EnumDescriptor
deprecated
added in
v0.5.0
func (CertificateIssuer_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use CertificateIssuer_Type.Descriptor instead.
func (CertificateIssuer_Type) Number ¶ added in v0.5.0
func (x CertificateIssuer_Type) Number() protoreflect.EnumNumber
func (CertificateIssuer_Type) String ¶ added in v0.5.0
func (x CertificateIssuer_Type) String() string
func (CertificateIssuer_Type) Type ¶ added in v0.5.0
func (CertificateIssuer_Type) Type() protoreflect.EnumType
type CertificateRequest ¶
type CertificateRequest struct { PemCertificate string `protobuf:"bytes,1,opt,name=pem_certificate,json=pemCertificate,proto3" json:"pem_certificate,omitempty"` PemCertificateChain string `protobuf:"bytes,2,opt,name=pem_certificate_chain,json=pemCertificateChain,proto3" json:"pem_certificate_chain,omitempty"` PemParentCertificate string `protobuf:"bytes,3,opt,name=pem_parent_certificate,json=pemParentCertificate,proto3" json:"pem_parent_certificate,omitempty"` Provisioner *ProvisionerIdentity `protobuf:"bytes,4,opt,name=provisioner,proto3" json:"provisioner,omitempty"` RaProvisioner *RegistrationAuthorityProvisioner `protobuf:"bytes,5,opt,name=ra_provisioner,json=raProvisioner,proto3" json:"ra_provisioner,omitempty"` EndpointId string `protobuf:"bytes,6,opt,name=endpoint_id,json=endpointId,proto3" json:"endpoint_id,omitempty"` AttestationData *AttestationData `protobuf:"bytes,7,opt,name=attestation_data,json=attestationData,proto3" json:"attestation_data,omitempty"` // contains filtered or unexported fields }
func (*CertificateRequest) Descriptor
deprecated
func (*CertificateRequest) Descriptor() ([]byte, []int)
Deprecated: Use CertificateRequest.ProtoReflect.Descriptor instead.
func (*CertificateRequest) GetAttestationData ¶ added in v0.19.0
func (x *CertificateRequest) GetAttestationData() *AttestationData
func (*CertificateRequest) GetEndpointId ¶ added in v0.17.1
func (x *CertificateRequest) GetEndpointId() string
func (*CertificateRequest) GetPemCertificate ¶
func (x *CertificateRequest) GetPemCertificate() string
func (*CertificateRequest) GetPemCertificateChain ¶
func (x *CertificateRequest) GetPemCertificateChain() string
func (*CertificateRequest) GetPemParentCertificate ¶ added in v0.2.0
func (x *CertificateRequest) GetPemParentCertificate() string
func (*CertificateRequest) GetProvisioner ¶ added in v0.12.0
func (x *CertificateRequest) GetProvisioner() *ProvisionerIdentity
func (*CertificateRequest) GetRaProvisioner ¶ added in v0.17.0
func (x *CertificateRequest) GetRaProvisioner() *RegistrationAuthorityProvisioner
func (*CertificateRequest) ProtoMessage ¶
func (*CertificateRequest) ProtoMessage()
func (*CertificateRequest) ProtoReflect ¶
func (x *CertificateRequest) ProtoReflect() protoreflect.Message
func (*CertificateRequest) Reset ¶
func (x *CertificateRequest) Reset()
func (*CertificateRequest) String ¶
func (x *CertificateRequest) String() string
type CertificateResponse ¶
type CertificateResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*CertificateResponse) Descriptor
deprecated
func (*CertificateResponse) Descriptor() ([]byte, []int)
Deprecated: Use CertificateResponse.ProtoReflect.Descriptor instead.
func (*CertificateResponse) GetId ¶
func (x *CertificateResponse) GetId() string
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
type Claims ¶
type Claims struct { X509 *X509Claims `protobuf:"bytes,1,opt,name=x509,proto3" json:"x509,omitempty"` Ssh *SSHClaims `protobuf:"bytes,2,opt,name=ssh,proto3" json:"ssh,omitempty"` DisableRenewal bool `protobuf:"varint,3,opt,name=disable_renewal,json=disableRenewal,proto3" json:"disable_renewal,omitempty"` AllowRenewalAfterExpiry bool `` /* 135-byte string literal not displayed */ DisableSmallstepExtensions bool `` /* 142-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Claims) Descriptor
deprecated
func (*Claims) GetAllowRenewalAfterExpiry ¶ added in v0.15.0
func (*Claims) GetDisableRenewal ¶
func (*Claims) GetDisableSmallstepExtensions ¶ added in v0.20.0
func (*Claims) GetX509 ¶
func (x *Claims) GetX509() *X509Claims
func (*Claims) ProtoMessage ¶
func (*Claims) ProtoMessage()
func (*Claims) ProtoReflect ¶
func (x *Claims) ProtoReflect() protoreflect.Message
type ConfigTemplate ¶ added in v0.5.0
type ConfigTemplate struct { Type ConfigTemplate_Type `protobuf:"varint,1,opt,name=type,proto3,enum=linkedca.ConfigTemplate_Type" json:"type,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Template string `protobuf:"bytes,3,opt,name=template,proto3" json:"template,omitempty"` Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` Comment string `protobuf:"bytes,5,opt,name=comment,proto3" json:"comment,omitempty"` Requires []string `protobuf:"bytes,6,rep,name=requires,proto3" json:"requires,omitempty"` Content []byte `protobuf:"bytes,7,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
func (*ConfigTemplate) Descriptor
deprecated
added in
v0.5.0
func (*ConfigTemplate) Descriptor() ([]byte, []int)
Deprecated: Use ConfigTemplate.ProtoReflect.Descriptor instead.
func (*ConfigTemplate) GetComment ¶ added in v0.5.0
func (x *ConfigTemplate) GetComment() string
func (*ConfigTemplate) GetContent ¶ added in v0.5.0
func (x *ConfigTemplate) GetContent() []byte
func (*ConfigTemplate) GetName ¶ added in v0.5.0
func (x *ConfigTemplate) GetName() string
func (*ConfigTemplate) GetPath ¶ added in v0.5.0
func (x *ConfigTemplate) GetPath() string
func (*ConfigTemplate) GetRequires ¶ added in v0.5.0
func (x *ConfigTemplate) GetRequires() []string
func (*ConfigTemplate) GetTemplate ¶ added in v0.5.0
func (x *ConfigTemplate) GetTemplate() string
func (*ConfigTemplate) GetType ¶ added in v0.5.0
func (x *ConfigTemplate) GetType() ConfigTemplate_Type
func (*ConfigTemplate) ProtoMessage ¶ added in v0.5.0
func (*ConfigTemplate) ProtoMessage()
func (*ConfigTemplate) ProtoReflect ¶ added in v0.5.0
func (x *ConfigTemplate) ProtoReflect() protoreflect.Message
func (*ConfigTemplate) Reset ¶ added in v0.5.0
func (x *ConfigTemplate) Reset()
func (*ConfigTemplate) String ¶ added in v0.5.0
func (x *ConfigTemplate) String() string
type ConfigTemplate_Type ¶ added in v0.5.0
type ConfigTemplate_Type int32
const ( ConfigTemplate_UNKNOWN ConfigTemplate_Type = 0 ConfigTemplate_SNIPPET ConfigTemplate_Type = 1 ConfigTemplate_FILE ConfigTemplate_Type = 2 ConfigTemplate_DIRECTORY ConfigTemplate_Type = 3 )
func (ConfigTemplate_Type) Descriptor ¶ added in v0.5.0
func (ConfigTemplate_Type) Descriptor() protoreflect.EnumDescriptor
func (ConfigTemplate_Type) Enum ¶ added in v0.5.0
func (x ConfigTemplate_Type) Enum() *ConfigTemplate_Type
func (ConfigTemplate_Type) EnumDescriptor
deprecated
added in
v0.5.0
func (ConfigTemplate_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use ConfigTemplate_Type.Descriptor instead.
func (ConfigTemplate_Type) Number ¶ added in v0.5.0
func (x ConfigTemplate_Type) Number() protoreflect.EnumNumber
func (ConfigTemplate_Type) String ¶ added in v0.5.0
func (x ConfigTemplate_Type) String() string
func (ConfigTemplate_Type) Type ¶ added in v0.5.0
func (ConfigTemplate_Type) Type() protoreflect.EnumType
type ConfigTemplates ¶ added in v0.5.0
type ConfigTemplates struct { Ssh *SSHConfigTemplate `protobuf:"bytes,1,opt,name=ssh,proto3" json:"ssh,omitempty"` Data *structpb.Struct `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*ConfigTemplates) Descriptor
deprecated
added in
v0.5.0
func (*ConfigTemplates) Descriptor() ([]byte, []int)
Deprecated: Use ConfigTemplates.ProtoReflect.Descriptor instead.
func (*ConfigTemplates) GetData ¶ added in v0.5.0
func (x *ConfigTemplates) GetData() *structpb.Struct
func (*ConfigTemplates) GetSsh ¶ added in v0.5.0
func (x *ConfigTemplates) GetSsh() *SSHConfigTemplate
func (*ConfigTemplates) ProtoMessage ¶ added in v0.5.0
func (*ConfigTemplates) ProtoMessage()
func (*ConfigTemplates) ProtoReflect ¶ added in v0.5.0
func (x *ConfigTemplates) ProtoReflect() protoreflect.Message
func (*ConfigTemplates) Reset ¶ added in v0.5.0
func (x *ConfigTemplates) Reset()
func (*ConfigTemplates) String ¶ added in v0.5.0
func (x *ConfigTemplates) String() string
type Configuration ¶ added in v0.5.0
type Configuration struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` Root []string `protobuf:"bytes,2,rep,name=root,proto3" json:"root,omitempty"` // pem representation in files RootKey []string `protobuf:"bytes,3,rep,name=root_key,json=rootKey,proto3" json:"root_key,omitempty"` // pem representation in files FederatedRoots []string `protobuf:"bytes,4,rep,name=federated_roots,json=federatedRoots,proto3" json:"federated_roots,omitempty"` // pem representation in files Intermediate string `protobuf:"bytes,5,opt,name=intermediate,proto3" json:"intermediate,omitempty"` // pem representation in files IntermediateKey string `protobuf:"bytes,6,opt,name=intermediate_key,json=intermediateKey,proto3" json:"intermediate_key,omitempty"` // pem representation in files Address string `protobuf:"bytes,7,opt,name=address,proto3" json:"address,omitempty"` InsecureAddress string `protobuf:"bytes,8,opt,name=insecure_address,json=insecureAddress,proto3" json:"insecure_address,omitempty"` DnsNames []string `protobuf:"bytes,9,rep,name=dns_names,json=dnsNames,proto3" json:"dns_names,omitempty"` Ssh *SSH `protobuf:"bytes,10,opt,name=ssh,proto3" json:"ssh,omitempty"` Kms *KMS `protobuf:"bytes,11,opt,name=kms,proto3" json:"kms,omitempty"` Logger *structpb.Struct `protobuf:"bytes,12,opt,name=logger,proto3" json:"logger,omitempty"` // json representation Db *structpb.Struct `protobuf:"bytes,13,opt,name=db,proto3" json:"db,omitempty"` // json representation Monitoring *structpb.Struct `protobuf:"bytes,14,opt,name=monitoring,proto3" json:"monitoring,omitempty"` // json representation Authority *Authority `protobuf:"bytes,15,opt,name=authority,proto3" json:"authority,omitempty"` Tls *TLS `protobuf:"bytes,16,opt,name=tls,proto3" json:"tls,omitempty"` Templates *ConfigTemplates `protobuf:"bytes,17,opt,name=templates,proto3" json:"templates,omitempty"` Password []byte `protobuf:"bytes,18,opt,name=password,proto3" json:"password,omitempty"` Files map[string][]byte `` /* 152-byte string literal not displayed */ // contains filtered or unexported fields }
Configuration is the proto representation of a ca.json. Root keys and SSH public keys are not present in the ca.json but have been added here to be used in the initialization of a PKI.
func (*Configuration) Descriptor
deprecated
added in
v0.5.0
func (*Configuration) Descriptor() ([]byte, []int)
Deprecated: Use Configuration.ProtoReflect.Descriptor instead.
func (*Configuration) GetAddress ¶ added in v0.5.0
func (x *Configuration) GetAddress() string
func (*Configuration) GetAuthority ¶ added in v0.5.0
func (x *Configuration) GetAuthority() *Authority
func (*Configuration) GetDb ¶ added in v0.5.0
func (x *Configuration) GetDb() *structpb.Struct
func (*Configuration) GetDnsNames ¶ added in v0.5.0
func (x *Configuration) GetDnsNames() []string
func (*Configuration) GetFederatedRoots ¶ added in v0.5.0
func (x *Configuration) GetFederatedRoots() []string
func (*Configuration) GetFiles ¶ added in v0.5.0
func (x *Configuration) GetFiles() map[string][]byte
func (*Configuration) GetInsecureAddress ¶ added in v0.5.0
func (x *Configuration) GetInsecureAddress() string
func (*Configuration) GetIntermediate ¶ added in v0.5.0
func (x *Configuration) GetIntermediate() string
func (*Configuration) GetIntermediateKey ¶ added in v0.5.0
func (x *Configuration) GetIntermediateKey() string
func (*Configuration) GetKms ¶ added in v0.5.0
func (x *Configuration) GetKms() *KMS
func (*Configuration) GetLogger ¶ added in v0.5.0
func (x *Configuration) GetLogger() *structpb.Struct
func (*Configuration) GetMonitoring ¶ added in v0.5.0
func (x *Configuration) GetMonitoring() *structpb.Struct
func (*Configuration) GetPassword ¶ added in v0.5.0
func (x *Configuration) GetPassword() []byte
func (*Configuration) GetRoot ¶ added in v0.5.0
func (x *Configuration) GetRoot() []string
func (*Configuration) GetRootKey ¶ added in v0.5.0
func (x *Configuration) GetRootKey() []string
func (*Configuration) GetSsh ¶ added in v0.5.0
func (x *Configuration) GetSsh() *SSH
func (*Configuration) GetTemplates ¶ added in v0.5.0
func (x *Configuration) GetTemplates() *ConfigTemplates
func (*Configuration) GetTls ¶ added in v0.5.0
func (x *Configuration) GetTls() *TLS
func (*Configuration) GetVersion ¶ added in v0.5.0
func (x *Configuration) GetVersion() string
func (*Configuration) ProtoMessage ¶ added in v0.5.0
func (*Configuration) ProtoMessage()
func (*Configuration) ProtoReflect ¶ added in v0.5.0
func (x *Configuration) ProtoReflect() protoreflect.Message
func (*Configuration) Reset ¶ added in v0.5.0
func (x *Configuration) Reset()
func (*Configuration) String ¶ added in v0.5.0
func (x *Configuration) String() string
type ConfigurationRequest ¶
type ConfigurationRequest struct { AuthorityId string `protobuf:"bytes,1,opt,name=authority_id,json=authorityId,proto3" json:"authority_id,omitempty"` // contains filtered or unexported fields }
func (*ConfigurationRequest) Descriptor
deprecated
func (*ConfigurationRequest) Descriptor() ([]byte, []int)
Deprecated: Use ConfigurationRequest.ProtoReflect.Descriptor instead.
func (*ConfigurationRequest) GetAuthorityId ¶
func (x *ConfigurationRequest) GetAuthorityId() string
func (*ConfigurationRequest) ProtoMessage ¶
func (*ConfigurationRequest) ProtoMessage()
func (*ConfigurationRequest) ProtoReflect ¶
func (x *ConfigurationRequest) ProtoReflect() protoreflect.Message
func (*ConfigurationRequest) Reset ¶
func (x *ConfigurationRequest) Reset()
func (*ConfigurationRequest) String ¶
func (x *ConfigurationRequest) String() string
type ConfigurationResponse ¶
type ConfigurationResponse struct { Provisioners []*Provisioner `protobuf:"bytes,1,rep,name=provisioners,proto3" json:"provisioners,omitempty"` Admins []*Admin `protobuf:"bytes,2,rep,name=admins,proto3" json:"admins,omitempty"` RaConfig *RegistrationAuthorityConfig `protobuf:"bytes,3,opt,name=ra_config,json=raConfig,proto3" json:"ra_config,omitempty"` ServerConfig *ServerConfiguration `protobuf:"bytes,4,opt,name=server_config,json=serverConfig,proto3" json:"server_config,omitempty"` // contains filtered or unexported fields }
func (*ConfigurationResponse) Descriptor
deprecated
func (*ConfigurationResponse) Descriptor() ([]byte, []int)
Deprecated: Use ConfigurationResponse.ProtoReflect.Descriptor instead.
func (*ConfigurationResponse) GetAdmins ¶
func (x *ConfigurationResponse) GetAdmins() []*Admin
func (*ConfigurationResponse) GetProvisioners ¶
func (x *ConfigurationResponse) GetProvisioners() []*Provisioner
func (*ConfigurationResponse) GetRaConfig ¶ added in v0.12.0
func (x *ConfigurationResponse) GetRaConfig() *RegistrationAuthorityConfig
func (*ConfigurationResponse) GetServerConfig ¶ added in v0.18.0
func (x *ConfigurationResponse) GetServerConfig() *ServerConfiguration
func (*ConfigurationResponse) ProtoMessage ¶
func (*ConfigurationResponse) ProtoMessage()
func (*ConfigurationResponse) ProtoReflect ¶
func (x *ConfigurationResponse) ProtoReflect() protoreflect.Message
func (*ConfigurationResponse) Reset ¶
func (x *ConfigurationResponse) Reset()
func (*ConfigurationResponse) String ¶
func (x *ConfigurationResponse) String() string
type CreateAdminRequest ¶
type CreateAdminRequest struct { Subject string `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"` ProvisionerId string `protobuf:"bytes,2,opt,name=provisioner_id,json=provisionerId,proto3" json:"provisioner_id,omitempty"` Type Admin_Type `protobuf:"varint,3,opt,name=type,proto3,enum=linkedca.Admin_Type" json:"type,omitempty"` PreferredId string `protobuf:"bytes,4,opt,name=preferred_id,json=preferredId,proto3" json:"preferred_id,omitempty"` // contains filtered or unexported fields }
func (*CreateAdminRequest) Descriptor
deprecated
func (*CreateAdminRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAdminRequest.ProtoReflect.Descriptor instead.
func (*CreateAdminRequest) GetPreferredId ¶ added in v0.22.1
func (x *CreateAdminRequest) GetPreferredId() string
func (*CreateAdminRequest) GetProvisionerId ¶
func (x *CreateAdminRequest) GetProvisionerId() string
func (*CreateAdminRequest) GetSubject ¶
func (x *CreateAdminRequest) GetSubject() string
func (*CreateAdminRequest) GetType ¶
func (x *CreateAdminRequest) GetType() Admin_Type
func (*CreateAdminRequest) ProtoMessage ¶
func (*CreateAdminRequest) ProtoMessage()
func (*CreateAdminRequest) ProtoReflect ¶
func (x *CreateAdminRequest) ProtoReflect() protoreflect.Message
func (*CreateAdminRequest) Reset ¶
func (x *CreateAdminRequest) Reset()
func (*CreateAdminRequest) String ¶
func (x *CreateAdminRequest) String() string
type CreateProvisionerRequest ¶
type CreateProvisionerRequest struct { Type Provisioner_Type `protobuf:"varint,1,opt,name=type,proto3,enum=linkedca.Provisioner_Type" json:"type,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Details *ProvisionerDetails `protobuf:"bytes,3,opt,name=details,proto3" json:"details,omitempty"` Claims *Claims `protobuf:"bytes,4,opt,name=claims,proto3" json:"claims,omitempty"` X509Template *Template `protobuf:"bytes,5,opt,name=x509_template,json=x509Template,proto3" json:"x509_template,omitempty"` SshTemplate *Template `protobuf:"bytes,6,opt,name=ssh_template,json=sshTemplate,proto3" json:"ssh_template,omitempty"` PreferredId string `protobuf:"bytes,7,opt,name=preferred_id,json=preferredId,proto3" json:"preferred_id,omitempty"` // contains filtered or unexported fields }
func (*CreateProvisionerRequest) Descriptor
deprecated
func (*CreateProvisionerRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateProvisionerRequest.ProtoReflect.Descriptor instead.
func (*CreateProvisionerRequest) GetClaims ¶
func (x *CreateProvisionerRequest) GetClaims() *Claims
func (*CreateProvisionerRequest) GetDetails ¶
func (x *CreateProvisionerRequest) GetDetails() *ProvisionerDetails
func (*CreateProvisionerRequest) GetName ¶
func (x *CreateProvisionerRequest) GetName() string
func (*CreateProvisionerRequest) GetPreferredId ¶ added in v0.22.1
func (x *CreateProvisionerRequest) GetPreferredId() string
func (*CreateProvisionerRequest) GetSshTemplate ¶
func (x *CreateProvisionerRequest) GetSshTemplate() *Template
func (*CreateProvisionerRequest) GetType ¶
func (x *CreateProvisionerRequest) GetType() Provisioner_Type
func (*CreateProvisionerRequest) GetX509Template ¶
func (x *CreateProvisionerRequest) GetX509Template() *Template
func (*CreateProvisionerRequest) ProtoMessage ¶
func (*CreateProvisionerRequest) ProtoMessage()
func (*CreateProvisionerRequest) ProtoReflect ¶
func (x *CreateProvisionerRequest) ProtoReflect() protoreflect.Message
func (*CreateProvisionerRequest) Reset ¶
func (x *CreateProvisionerRequest) Reset()
func (*CreateProvisionerRequest) String ¶
func (x *CreateProvisionerRequest) String() string
type Defaults ¶ added in v0.5.0
type Defaults struct { CaUrl string `protobuf:"bytes,1,opt,name=ca_url,json=caUrl,proto3" json:"ca_url,omitempty"` CaConfig string `protobuf:"bytes,2,opt,name=ca_config,json=caConfig,proto3" json:"ca_config,omitempty"` Fingerprint string `protobuf:"bytes,3,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"` Root string `protobuf:"bytes,4,opt,name=root,proto3" json:"root,omitempty"` // contains filtered or unexported fields }
Defaults is the proto representation of the defaults.json, this file can be extended, so it will only contain the default fields.
func (*Defaults) Descriptor
deprecated
added in
v0.5.0
func (*Defaults) GetCaConfig ¶ added in v0.5.0
func (*Defaults) GetFingerprint ¶ added in v0.5.0
func (*Defaults) ProtoMessage ¶ added in v0.5.0
func (*Defaults) ProtoMessage()
func (*Defaults) ProtoReflect ¶ added in v0.5.0
func (x *Defaults) ProtoReflect() protoreflect.Message
type DeleteAdminRequest ¶
type DeleteAdminRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteAdminRequest) Descriptor
deprecated
func (*DeleteAdminRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAdminRequest.ProtoReflect.Descriptor instead.
func (*DeleteAdminRequest) GetId ¶
func (x *DeleteAdminRequest) GetId() string
func (*DeleteAdminRequest) ProtoMessage ¶
func (*DeleteAdminRequest) ProtoMessage()
func (*DeleteAdminRequest) ProtoReflect ¶
func (x *DeleteAdminRequest) ProtoReflect() protoreflect.Message
func (*DeleteAdminRequest) Reset ¶
func (x *DeleteAdminRequest) Reset()
func (*DeleteAdminRequest) String ¶
func (x *DeleteAdminRequest) String() string
type DeleteProvisionerRequest ¶
type DeleteProvisionerRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteProvisionerRequest) Descriptor
deprecated
func (*DeleteProvisionerRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteProvisionerRequest.ProtoReflect.Descriptor instead.
func (*DeleteProvisionerRequest) GetId ¶
func (x *DeleteProvisionerRequest) GetId() string
func (*DeleteProvisionerRequest) ProtoMessage ¶
func (*DeleteProvisionerRequest) ProtoMessage()
func (*DeleteProvisionerRequest) ProtoReflect ¶
func (x *DeleteProvisionerRequest) ProtoReflect() protoreflect.Message
func (*DeleteProvisionerRequest) Reset ¶
func (x *DeleteProvisionerRequest) Reset()
func (*DeleteProvisionerRequest) String ¶
func (x *DeleteProvisionerRequest) String() string
type DistinguishedName ¶ added in v0.5.0
type DistinguishedName struct { Country string `protobuf:"bytes,1,opt,name=country,proto3" json:"country,omitempty"` Organization string `protobuf:"bytes,2,opt,name=organization,proto3" json:"organization,omitempty"` OrganizationalUnit string `protobuf:"bytes,3,opt,name=organizational_unit,json=organizationalUnit,proto3" json:"organizational_unit,omitempty"` Locality string `protobuf:"bytes,4,opt,name=locality,proto3" json:"locality,omitempty"` Province string `protobuf:"bytes,5,opt,name=province,proto3" json:"province,omitempty"` StreetAddress string `protobuf:"bytes,6,opt,name=street_address,json=streetAddress,proto3" json:"street_address,omitempty"` SerialNumber string `protobuf:"bytes,7,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"` CommonName string `protobuf:"bytes,8,opt,name=common_name,json=commonName,proto3" json:"common_name,omitempty"` // contains filtered or unexported fields }
func (*DistinguishedName) Descriptor
deprecated
added in
v0.5.0
func (*DistinguishedName) Descriptor() ([]byte, []int)
Deprecated: Use DistinguishedName.ProtoReflect.Descriptor instead.
func (*DistinguishedName) GetCommonName ¶ added in v0.5.0
func (x *DistinguishedName) GetCommonName() string
func (*DistinguishedName) GetCountry ¶ added in v0.5.0
func (x *DistinguishedName) GetCountry() string
func (*DistinguishedName) GetLocality ¶ added in v0.5.0
func (x *DistinguishedName) GetLocality() string
func (*DistinguishedName) GetOrganization ¶ added in v0.5.0
func (x *DistinguishedName) GetOrganization() string
func (*DistinguishedName) GetOrganizationalUnit ¶ added in v0.5.0
func (x *DistinguishedName) GetOrganizationalUnit() string
func (*DistinguishedName) GetProvince ¶ added in v0.5.0
func (x *DistinguishedName) GetProvince() string
func (*DistinguishedName) GetSerialNumber ¶ added in v0.5.0
func (x *DistinguishedName) GetSerialNumber() string
func (*DistinguishedName) GetStreetAddress ¶ added in v0.5.0
func (x *DistinguishedName) GetStreetAddress() string
func (*DistinguishedName) ProtoMessage ¶ added in v0.5.0
func (*DistinguishedName) ProtoMessage()
func (*DistinguishedName) ProtoReflect ¶ added in v0.5.0
func (x *DistinguishedName) ProtoReflect() protoreflect.Message
func (*DistinguishedName) Reset ¶ added in v0.5.0
func (x *DistinguishedName) Reset()
func (*DistinguishedName) String ¶ added in v0.5.0
func (x *DistinguishedName) String() string
type Durations ¶
type Durations struct { Default string `protobuf:"bytes,1,opt,name=default,proto3" json:"default,omitempty"` Min string `protobuf:"bytes,2,opt,name=min,proto3" json:"min,omitempty"` Max string `protobuf:"bytes,3,opt,name=max,proto3" json:"max,omitempty"` // contains filtered or unexported fields }
func (*Durations) Descriptor
deprecated
func (*Durations) GetDefault ¶
func (*Durations) ProtoMessage ¶
func (*Durations) ProtoMessage()
func (*Durations) ProtoReflect ¶
func (x *Durations) ProtoReflect() protoreflect.Message
type EABKey ¶ added in v0.6.0
type EABKey struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // the KeyID HmacKey []byte `protobuf:"bytes,2,opt,name=hmac_key,json=hmacKey,proto3" json:"hmac_key,omitempty"` // the key bytes Provisioner string `protobuf:"bytes,3,opt,name=provisioner,proto3" json:"provisioner,omitempty"` // the provisioner for which to create the key Reference string `protobuf:"bytes,4,opt,name=reference,proto3" json:"reference,omitempty"` // name/reference to the key; can be linked to external system Account string `protobuf:"bytes,5,opt,name=account,proto3" json:"account,omitempty"` // account the key is bound to CreatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // time the key was created_at BoundAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=bound_at,json=boundAt,proto3" json:"bound_at,omitempty"` // time the key was bound to an account Policy *Policy `protobuf:"bytes,8,opt,name=policy,proto3" json:"policy,omitempty"` // contains filtered or unexported fields }
func ExternalAccountKeyFromContext ¶ added in v0.14.0
ExternalAccountKeyFromContext returns the EABKey if the ctx carries one and a bool indicating if an EABKey is carried by the ctx.
func MustExternalAccountKeyFromContext ¶ added in v0.16.0
MustExternalAccountKeyFromContext returns the EABKey ctx carries.
MustExternalAccountKeyFromContext panics in case ctx carries no EABKey.
func (*EABKey) Descriptor
deprecated
added in
v0.6.0
func (*EABKey) GetAccount ¶ added in v0.6.0
func (*EABKey) GetBoundAt ¶ added in v0.6.0
func (x *EABKey) GetBoundAt() *timestamppb.Timestamp
func (*EABKey) GetCreatedAt ¶ added in v0.6.0
func (x *EABKey) GetCreatedAt() *timestamppb.Timestamp
func (*EABKey) GetHmacKey ¶ added in v0.6.0
func (*EABKey) GetProvisioner ¶ added in v0.8.0
func (*EABKey) GetReference ¶ added in v0.8.0
func (*EABKey) ProtoMessage ¶ added in v0.6.0
func (*EABKey) ProtoMessage()
func (*EABKey) ProtoReflect ¶ added in v0.6.0
func (x *EABKey) ProtoReflect() protoreflect.Message
type GCPProvisioner ¶
type GCPProvisioner struct { ServiceAccounts []string `protobuf:"bytes,1,rep,name=service_accounts,json=serviceAccounts,proto3" json:"service_accounts,omitempty"` ProjectIds []string `protobuf:"bytes,2,rep,name=project_ids,json=projectIds,proto3" json:"project_ids,omitempty"` DisableCustomSans bool `protobuf:"varint,3,opt,name=disable_custom_sans,json=disableCustomSans,proto3" json:"disable_custom_sans,omitempty"` DisableTrustOnFirstUse bool `` /* 134-byte string literal not displayed */ InstanceAge string `protobuf:"bytes,5,opt,name=instance_age,json=instanceAge,proto3" json:"instance_age,omitempty"` DisableSshCaUser *bool `protobuf:"varint,6,opt,name=disable_ssh_ca_user,json=disableSshCaUser,proto3,oneof" json:"disable_ssh_ca_user,omitempty"` DisableSshCaHost *bool `protobuf:"varint,7,opt,name=disable_ssh_ca_host,json=disableSshCaHost,proto3,oneof" json:"disable_ssh_ca_host,omitempty"` // contains filtered or unexported fields }
func (*GCPProvisioner) Descriptor
deprecated
func (*GCPProvisioner) Descriptor() ([]byte, []int)
Deprecated: Use GCPProvisioner.ProtoReflect.Descriptor instead.
func (*GCPProvisioner) GetDisableCustomSans ¶
func (x *GCPProvisioner) GetDisableCustomSans() bool
func (*GCPProvisioner) GetDisableSshCaHost ¶ added in v0.22.2
func (x *GCPProvisioner) GetDisableSshCaHost() bool
func (*GCPProvisioner) GetDisableSshCaUser ¶ added in v0.22.2
func (x *GCPProvisioner) GetDisableSshCaUser() bool
func (*GCPProvisioner) GetDisableTrustOnFirstUse ¶
func (x *GCPProvisioner) GetDisableTrustOnFirstUse() bool
func (*GCPProvisioner) GetInstanceAge ¶
func (x *GCPProvisioner) GetInstanceAge() string
func (*GCPProvisioner) GetProjectIds ¶
func (x *GCPProvisioner) GetProjectIds() []string
func (*GCPProvisioner) GetServiceAccounts ¶
func (x *GCPProvisioner) GetServiceAccounts() []string
func (*GCPProvisioner) ProtoMessage ¶
func (*GCPProvisioner) ProtoMessage()
func (*GCPProvisioner) ProtoReflect ¶
func (x *GCPProvisioner) ProtoReflect() protoreflect.Message
func (*GCPProvisioner) Reset ¶
func (x *GCPProvisioner) Reset()
func (*GCPProvisioner) String ¶
func (x *GCPProvisioner) String() string
type GetAdminRequest ¶ added in v0.5.0
type GetAdminRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetAdminRequest) Descriptor
deprecated
added in
v0.5.0
func (*GetAdminRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAdminRequest.ProtoReflect.Descriptor instead.
func (*GetAdminRequest) GetId ¶ added in v0.5.0
func (x *GetAdminRequest) GetId() string
func (*GetAdminRequest) ProtoMessage ¶ added in v0.5.0
func (*GetAdminRequest) ProtoMessage()
func (*GetAdminRequest) ProtoReflect ¶ added in v0.5.0
func (x *GetAdminRequest) ProtoReflect() protoreflect.Message
func (*GetAdminRequest) Reset ¶ added in v0.5.0
func (x *GetAdminRequest) Reset()
func (*GetAdminRequest) String ¶ added in v0.5.0
func (x *GetAdminRequest) String() string
type GetCertificateRequest ¶ added in v0.13.0
type GetCertificateRequest struct { Serial string `protobuf:"bytes,1,opt,name=serial,proto3" json:"serial,omitempty"` // contains filtered or unexported fields }
func (*GetCertificateRequest) Descriptor
deprecated
added in
v0.13.0
func (*GetCertificateRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCertificateRequest.ProtoReflect.Descriptor instead.
func (*GetCertificateRequest) GetSerial ¶ added in v0.13.0
func (x *GetCertificateRequest) GetSerial() string
func (*GetCertificateRequest) ProtoMessage ¶ added in v0.13.0
func (*GetCertificateRequest) ProtoMessage()
func (*GetCertificateRequest) ProtoReflect ¶ added in v0.13.0
func (x *GetCertificateRequest) ProtoReflect() protoreflect.Message
func (*GetCertificateRequest) Reset ¶ added in v0.13.0
func (x *GetCertificateRequest) Reset()
func (*GetCertificateRequest) String ¶ added in v0.13.0
func (x *GetCertificateRequest) String() string
type GetCertificateResponse ¶ added in v0.13.0
type GetCertificateResponse struct { PemCertificate string `protobuf:"bytes,1,opt,name=pem_certificate,json=pemCertificate,proto3" json:"pem_certificate,omitempty"` Provisioner *ProvisionerIdentity `protobuf:"bytes,2,opt,name=provisioner,proto3" json:"provisioner,omitempty"` RaProvisioner *RegistrationAuthorityProvisioner `protobuf:"bytes,3,opt,name=ra_provisioner,json=raProvisioner,proto3" json:"ra_provisioner,omitempty"` // contains filtered or unexported fields }
func (*GetCertificateResponse) Descriptor
deprecated
added in
v0.13.0
func (*GetCertificateResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetCertificateResponse.ProtoReflect.Descriptor instead.
func (*GetCertificateResponse) GetPemCertificate ¶ added in v0.13.0
func (x *GetCertificateResponse) GetPemCertificate() string
func (*GetCertificateResponse) GetProvisioner ¶ added in v0.13.0
func (x *GetCertificateResponse) GetProvisioner() *ProvisionerIdentity
func (*GetCertificateResponse) GetRaProvisioner ¶ added in v0.19.0
func (x *GetCertificateResponse) GetRaProvisioner() *RegistrationAuthorityProvisioner
func (*GetCertificateResponse) ProtoMessage ¶ added in v0.13.0
func (*GetCertificateResponse) ProtoMessage()
func (*GetCertificateResponse) ProtoReflect ¶ added in v0.13.0
func (x *GetCertificateResponse) ProtoReflect() protoreflect.Message
func (*GetCertificateResponse) Reset ¶ added in v0.13.0
func (x *GetCertificateResponse) Reset()
func (*GetCertificateResponse) String ¶ added in v0.13.0
func (x *GetCertificateResponse) String() string
type GetCertificateStatusRequest ¶ added in v0.2.0
type GetCertificateStatusRequest struct { Serial string `protobuf:"bytes,1,opt,name=serial,proto3" json:"serial,omitempty"` // contains filtered or unexported fields }
func (*GetCertificateStatusRequest) Descriptor
deprecated
added in
v0.2.0
func (*GetCertificateStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCertificateStatusRequest.ProtoReflect.Descriptor instead.
func (*GetCertificateStatusRequest) GetSerial ¶ added in v0.2.0
func (x *GetCertificateStatusRequest) GetSerial() string
func (*GetCertificateStatusRequest) ProtoMessage ¶ added in v0.2.0
func (*GetCertificateStatusRequest) ProtoMessage()
func (*GetCertificateStatusRequest) ProtoReflect ¶ added in v0.2.0
func (x *GetCertificateStatusRequest) ProtoReflect() protoreflect.Message
func (*GetCertificateStatusRequest) Reset ¶ added in v0.2.0
func (x *GetCertificateStatusRequest) Reset()
func (*GetCertificateStatusRequest) String ¶ added in v0.2.0
func (x *GetCertificateStatusRequest) String() string
type GetCertificateStatusResponse ¶ added in v0.2.0
type GetCertificateStatusResponse struct { Status RevocationStatus `protobuf:"varint,1,opt,name=status,proto3,enum=linkedca.RevocationStatus" json:"status,omitempty"` Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` ReasonCode RevocationReasonCode `` /* 127-byte string literal not displayed */ RevokedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=revoked_at,json=revokedAt,proto3" json:"revoked_at,omitempty"` // contains filtered or unexported fields }
func (*GetCertificateStatusResponse) Descriptor
deprecated
added in
v0.2.0
func (*GetCertificateStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetCertificateStatusResponse.ProtoReflect.Descriptor instead.
func (*GetCertificateStatusResponse) GetReason ¶ added in v0.22.0
func (x *GetCertificateStatusResponse) GetReason() string
func (*GetCertificateStatusResponse) GetReasonCode ¶ added in v0.21.0
func (x *GetCertificateStatusResponse) GetReasonCode() RevocationReasonCode
func (*GetCertificateStatusResponse) GetRevokedAt ¶ added in v0.21.0
func (x *GetCertificateStatusResponse) GetRevokedAt() *timestamppb.Timestamp
func (*GetCertificateStatusResponse) GetStatus ¶ added in v0.2.0
func (x *GetCertificateStatusResponse) GetStatus() RevocationStatus
func (*GetCertificateStatusResponse) ProtoMessage ¶ added in v0.2.0
func (*GetCertificateStatusResponse) ProtoMessage()
func (*GetCertificateStatusResponse) ProtoReflect ¶ added in v0.2.0
func (x *GetCertificateStatusResponse) ProtoReflect() protoreflect.Message
func (*GetCertificateStatusResponse) Reset ¶ added in v0.2.0
func (x *GetCertificateStatusResponse) Reset()
func (*GetCertificateStatusResponse) String ¶ added in v0.2.0
func (x *GetCertificateStatusResponse) String() string
type GetProvisionerRequest ¶ added in v0.5.0
type GetProvisionerRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetProvisionerRequest) Descriptor
deprecated
added in
v0.5.0
func (*GetProvisionerRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetProvisionerRequest.ProtoReflect.Descriptor instead.
func (*GetProvisionerRequest) GetId ¶ added in v0.5.0
func (x *GetProvisionerRequest) GetId() string
func (*GetProvisionerRequest) ProtoMessage ¶ added in v0.5.0
func (*GetProvisionerRequest) ProtoMessage()
func (*GetProvisionerRequest) ProtoReflect ¶ added in v0.5.0
func (x *GetProvisionerRequest) ProtoReflect() protoreflect.Message
func (*GetProvisionerRequest) Reset ¶ added in v0.5.0
func (x *GetProvisionerRequest) Reset()
func (*GetProvisionerRequest) String ¶ added in v0.5.0
func (x *GetProvisionerRequest) String() string
type GetRootCertificateRequest ¶
type GetRootCertificateRequest struct { Fingerprint string `protobuf:"bytes,1,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"` // contains filtered or unexported fields }
func (*GetRootCertificateRequest) Descriptor
deprecated
func (*GetRootCertificateRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRootCertificateRequest.ProtoReflect.Descriptor instead.
func (*GetRootCertificateRequest) GetFingerprint ¶
func (x *GetRootCertificateRequest) GetFingerprint() string
func (*GetRootCertificateRequest) ProtoMessage ¶
func (*GetRootCertificateRequest) ProtoMessage()
func (*GetRootCertificateRequest) ProtoReflect ¶
func (x *GetRootCertificateRequest) ProtoReflect() protoreflect.Message
func (*GetRootCertificateRequest) Reset ¶
func (x *GetRootCertificateRequest) Reset()
func (*GetRootCertificateRequest) String ¶
func (x *GetRootCertificateRequest) String() string
type GetRootCertificateResponse ¶
type GetRootCertificateResponse struct { PemCertificate string `protobuf:"bytes,1,opt,name=pem_certificate,json=pemCertificate,proto3" json:"pem_certificate,omitempty"` // contains filtered or unexported fields }
func (*GetRootCertificateResponse) Descriptor
deprecated
func (*GetRootCertificateResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRootCertificateResponse.ProtoReflect.Descriptor instead.
func (*GetRootCertificateResponse) GetPemCertificate ¶
func (x *GetRootCertificateResponse) GetPemCertificate() string
func (*GetRootCertificateResponse) ProtoMessage ¶
func (*GetRootCertificateResponse) ProtoMessage()
func (*GetRootCertificateResponse) ProtoReflect ¶
func (x *GetRootCertificateResponse) ProtoReflect() protoreflect.Message
func (*GetRootCertificateResponse) Reset ¶
func (x *GetRootCertificateResponse) Reset()
func (*GetRootCertificateResponse) String ¶
func (x *GetRootCertificateResponse) String() string
type GetSSHCertificateStatusRequest ¶ added in v0.2.0
type GetSSHCertificateStatusRequest struct { Serial string `protobuf:"bytes,1,opt,name=serial,proto3" json:"serial,omitempty"` // contains filtered or unexported fields }
func (*GetSSHCertificateStatusRequest) Descriptor
deprecated
added in
v0.2.0
func (*GetSSHCertificateStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSSHCertificateStatusRequest.ProtoReflect.Descriptor instead.
func (*GetSSHCertificateStatusRequest) GetSerial ¶ added in v0.2.0
func (x *GetSSHCertificateStatusRequest) GetSerial() string
func (*GetSSHCertificateStatusRequest) ProtoMessage ¶ added in v0.2.0
func (*GetSSHCertificateStatusRequest) ProtoMessage()
func (*GetSSHCertificateStatusRequest) ProtoReflect ¶ added in v0.2.0
func (x *GetSSHCertificateStatusRequest) ProtoReflect() protoreflect.Message
func (*GetSSHCertificateStatusRequest) Reset ¶ added in v0.2.0
func (x *GetSSHCertificateStatusRequest) Reset()
func (*GetSSHCertificateStatusRequest) String ¶ added in v0.2.0
func (x *GetSSHCertificateStatusRequest) String() string
type GetSSHCertificateStatusResponse ¶ added in v0.2.0
type GetSSHCertificateStatusResponse struct { Status RevocationStatus `protobuf:"varint,1,opt,name=status,proto3,enum=linkedca.RevocationStatus" json:"status,omitempty"` Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` ReasonCode RevocationReasonCode `` /* 127-byte string literal not displayed */ RevokedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=revoked_at,json=revokedAt,proto3" json:"revoked_at,omitempty"` // contains filtered or unexported fields }
func (*GetSSHCertificateStatusResponse) Descriptor
deprecated
added in
v0.2.0
func (*GetSSHCertificateStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSSHCertificateStatusResponse.ProtoReflect.Descriptor instead.
func (*GetSSHCertificateStatusResponse) GetReason ¶ added in v0.22.0
func (x *GetSSHCertificateStatusResponse) GetReason() string
func (*GetSSHCertificateStatusResponse) GetReasonCode ¶ added in v0.21.0
func (x *GetSSHCertificateStatusResponse) GetReasonCode() RevocationReasonCode
func (*GetSSHCertificateStatusResponse) GetRevokedAt ¶ added in v0.21.0
func (x *GetSSHCertificateStatusResponse) GetRevokedAt() *timestamppb.Timestamp
func (*GetSSHCertificateStatusResponse) GetStatus ¶ added in v0.2.0
func (x *GetSSHCertificateStatusResponse) GetStatus() RevocationStatus
func (*GetSSHCertificateStatusResponse) ProtoMessage ¶ added in v0.2.0
func (*GetSSHCertificateStatusResponse) ProtoMessage()
func (*GetSSHCertificateStatusResponse) ProtoReflect ¶ added in v0.2.0
func (x *GetSSHCertificateStatusResponse) ProtoReflect() protoreflect.Message
func (*GetSSHCertificateStatusResponse) Reset ¶ added in v0.2.0
func (x *GetSSHCertificateStatusResponse) Reset()
func (*GetSSHCertificateStatusResponse) String ¶ added in v0.2.0
func (x *GetSSHCertificateStatusResponse) String() string
type JWKProvisioner ¶
type JWKProvisioner struct { PublicKey []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` EncryptedPrivateKey []byte `protobuf:"bytes,2,opt,name=encrypted_private_key,json=encryptedPrivateKey,proto3" json:"encrypted_private_key,omitempty"` // contains filtered or unexported fields }
func (*JWKProvisioner) Descriptor
deprecated
func (*JWKProvisioner) Descriptor() ([]byte, []int)
Deprecated: Use JWKProvisioner.ProtoReflect.Descriptor instead.
func (*JWKProvisioner) GetEncryptedPrivateKey ¶
func (x *JWKProvisioner) GetEncryptedPrivateKey() []byte
func (*JWKProvisioner) GetPublicKey ¶
func (x *JWKProvisioner) GetPublicKey() []byte
func (*JWKProvisioner) ProtoMessage ¶
func (*JWKProvisioner) ProtoMessage()
func (*JWKProvisioner) ProtoReflect ¶
func (x *JWKProvisioner) ProtoReflect() protoreflect.Message
func (*JWKProvisioner) Reset ¶
func (x *JWKProvisioner) Reset()
func (*JWKProvisioner) String ¶
func (x *JWKProvisioner) String() string
type K8SSAProvisioner ¶
type K8SSAProvisioner struct { PublicKeys [][]byte `protobuf:"bytes,1,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty"` // contains filtered or unexported fields }
func (*K8SSAProvisioner) Descriptor
deprecated
func (*K8SSAProvisioner) Descriptor() ([]byte, []int)
Deprecated: Use K8SSAProvisioner.ProtoReflect.Descriptor instead.
func (*K8SSAProvisioner) GetPublicKeys ¶
func (x *K8SSAProvisioner) GetPublicKeys() [][]byte
func (*K8SSAProvisioner) ProtoMessage ¶
func (*K8SSAProvisioner) ProtoMessage()
func (*K8SSAProvisioner) ProtoReflect ¶
func (x *K8SSAProvisioner) ProtoReflect() protoreflect.Message
func (*K8SSAProvisioner) Reset ¶
func (x *K8SSAProvisioner) Reset()
func (*K8SSAProvisioner) String ¶
func (x *K8SSAProvisioner) String() string
type KMS ¶ added in v0.5.0
type KMS struct { Type KMS_Type `protobuf:"varint,1,opt,name=type,proto3,enum=linkedca.KMS_Type" json:"type,omitempty"` CredentialsFile string `protobuf:"bytes,2,opt,name=credentialsFile,proto3" json:"credentialsFile,omitempty"` Uri string `protobuf:"bytes,3,opt,name=uri,proto3" json:"uri,omitempty"` Pin string `protobuf:"bytes,4,opt,name=pin,proto3" json:"pin,omitempty"` ManagementKey string `protobuf:"bytes,5,opt,name=managementKey,proto3" json:"managementKey,omitempty"` Region string `protobuf:"bytes,6,opt,name=region,proto3" json:"region,omitempty"` Profile string `protobuf:"bytes,7,opt,name=profile,proto3" json:"profile,omitempty"` // contains filtered or unexported fields }
func (*KMS) Descriptor
deprecated
added in
v0.5.0
func (*KMS) GetCredentialsFile ¶ added in v0.5.0
func (*KMS) GetManagementKey ¶ added in v0.5.0
func (*KMS) GetProfile ¶ added in v0.5.0
func (*KMS) ProtoMessage ¶ added in v0.5.0
func (*KMS) ProtoMessage()
func (*KMS) ProtoReflect ¶ added in v0.5.0
func (x *KMS) ProtoReflect() protoreflect.Message
type KMS_Type ¶ added in v0.5.0
type KMS_Type int32
func (KMS_Type) Descriptor ¶ added in v0.5.0
func (KMS_Type) Descriptor() protoreflect.EnumDescriptor
func (KMS_Type) EnumDescriptor
deprecated
added in
v0.5.0
func (KMS_Type) Number ¶ added in v0.5.0
func (x KMS_Type) Number() protoreflect.EnumNumber
func (KMS_Type) Type ¶ added in v0.5.0
func (KMS_Type) Type() protoreflect.EnumType
type LoginRequest ¶
type LoginRequest struct { AuthorityId string `protobuf:"bytes,1,opt,name=authority_id,json=authorityId,proto3" json:"authority_id,omitempty"` Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` PemCertificateRequest string `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
func (*LoginRequest) Descriptor
deprecated
func (*LoginRequest) Descriptor() ([]byte, []int)
Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.
func (*LoginRequest) GetAuthorityId ¶
func (x *LoginRequest) GetAuthorityId() string
func (*LoginRequest) GetPemCertificateRequest ¶
func (x *LoginRequest) GetPemCertificateRequest() string
func (*LoginRequest) GetToken ¶
func (x *LoginRequest) GetToken() string
func (*LoginRequest) ProtoMessage ¶
func (*LoginRequest) ProtoMessage()
func (*LoginRequest) ProtoReflect ¶
func (x *LoginRequest) ProtoReflect() protoreflect.Message
func (*LoginRequest) Reset ¶
func (x *LoginRequest) Reset()
func (*LoginRequest) String ¶
func (x *LoginRequest) String() string
type LoginResponse ¶
type LoginResponse struct { PemCertificate string `protobuf:"bytes,1,opt,name=pem_certificate,json=pemCertificate,proto3" json:"pem_certificate,omitempty"` PemCertificateChain string `protobuf:"bytes,2,opt,name=pem_certificate_chain,json=pemCertificateChain,proto3" json:"pem_certificate_chain,omitempty"` // contains filtered or unexported fields }
func (*LoginResponse) Descriptor
deprecated
func (*LoginResponse) Descriptor() ([]byte, []int)
Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead.
func (*LoginResponse) GetPemCertificate ¶
func (x *LoginResponse) GetPemCertificate() string
func (*LoginResponse) GetPemCertificateChain ¶
func (x *LoginResponse) GetPemCertificateChain() string
func (*LoginResponse) ProtoMessage ¶
func (*LoginResponse) ProtoMessage()
func (*LoginResponse) ProtoReflect ¶
func (x *LoginResponse) ProtoReflect() protoreflect.Message
func (*LoginResponse) Reset ¶
func (x *LoginResponse) Reset()
func (*LoginResponse) String ¶
func (x *LoginResponse) String() string
type MajordomoClient ¶
type MajordomoClient interface { // Login creates signs a given CSR and returns the certificate that will be // used for authentication. Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error) // GetRootCertificate returns the root certificate for a given fingerprint. GetRootCertificate(ctx context.Context, in *GetRootCertificateRequest, opts ...grpc.CallOption) (*GetRootCertificateResponse, error) // GetConfiguration returns the full configuration of an authority. GetConfiguration(ctx context.Context, in *ConfigurationRequest, opts ...grpc.CallOption) (*ConfigurationResponse, error) // CreateProvisioner adds a new provisioner to the majordomo authority and // returns the proto representation. CreateProvisioner(ctx context.Context, in *CreateProvisionerRequest, opts ...grpc.CallOption) (*Provisioner, error) // GetProvisioner returns a provisioner by its id. GetProvisioner(ctx context.Context, in *GetProvisionerRequest, opts ...grpc.CallOption) (*Provisioner, error) // UpdateProvisioners updates a previously created provisioner. UpdateProvisioner(ctx context.Context, in *UpdateProvisionerRequest, opts ...grpc.CallOption) (*Provisioner, error) // DeleteProvisioner deletes a previously created provisioner. DeleteProvisioner(ctx context.Context, in *DeleteProvisionerRequest, opts ...grpc.CallOption) (*Provisioner, error) // CreateAdmin adds a new admin user to the majordomo authority. Admin users // can add or delete provisioners. CreateAdmin(ctx context.Context, in *CreateAdminRequest, opts ...grpc.CallOption) (*Admin, error) // GetAdmin returns an admin by its id. GetAdmin(ctx context.Context, in *GetAdminRequest, opts ...grpc.CallOption) (*Admin, error) // UpdateAdmin updates a previously created admin. UpdateAdmin(ctx context.Context, in *UpdateAdminRequest, opts ...grpc.CallOption) (*Admin, error) // DeleteAdmin deletes a previously created admin user DeleteAdmin(ctx context.Context, in *DeleteAdminRequest, opts ...grpc.CallOption) (*Admin, error) // PostCertificate sends a signed X.509 certificate to majordomo. PostCertificate(ctx context.Context, in *CertificateRequest, opts ...grpc.CallOption) (*CertificateResponse, error) // PostSSHCertificate sends a signed SSH certificate to majordomo. PostSSHCertificate(ctx context.Context, in *SSHCertificateRequest, opts ...grpc.CallOption) (*SSHCertificateResponse, error) // PostOneTimeToken sends a one time token to majordomo. PostOneTimeToken(ctx context.Context, in *OneTimeTokenRequest, opts ...grpc.CallOption) (*OneTimeTokenResponse, error) // RevokeCertificate marks an X.509 certificate as revoked. RevokeCertificate(ctx context.Context, in *RevokeCertificateRequest, opts ...grpc.CallOption) (*RevokeCertificateResponse, error) // RevokeSSHCertificate marks an SSH certificate as revoked. RevokeSSHCertificate(ctx context.Context, in *RevokeSSHCertificateRequest, opts ...grpc.CallOption) (*RevokeSSHCertificateResponse, error) // GetCertificate returns the X.509 certificate by serial. GetCertificate(ctx context.Context, in *GetCertificateRequest, opts ...grpc.CallOption) (*GetCertificateResponse, error) // GetCertificateStatus returns the status of an X.509 certificate by serial. GetCertificateStatus(ctx context.Context, in *GetCertificateStatusRequest, opts ...grpc.CallOption) (*GetCertificateStatusResponse, error) // GetSSHCertificateStatus returns the status of an SSH certificate by serial. GetSSHCertificateStatus(ctx context.Context, in *GetSSHCertificateStatusRequest, opts ...grpc.CallOption) (*GetSSHCertificateStatusResponse, error) }
MajordomoClient is the client API for Majordomo 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.
Majordomo is the public service used to sync configurations to CA's and post certificates.
func NewMajordomoClient ¶
func NewMajordomoClient(cc grpc.ClientConnInterface) MajordomoClient
type MajordomoServer ¶
type MajordomoServer interface { // Login creates signs a given CSR and returns the certificate that will be // used for authentication. Login(context.Context, *LoginRequest) (*LoginResponse, error) // GetRootCertificate returns the root certificate for a given fingerprint. GetRootCertificate(context.Context, *GetRootCertificateRequest) (*GetRootCertificateResponse, error) // GetConfiguration returns the full configuration of an authority. GetConfiguration(context.Context, *ConfigurationRequest) (*ConfigurationResponse, error) // CreateProvisioner adds a new provisioner to the majordomo authority and // returns the proto representation. CreateProvisioner(context.Context, *CreateProvisionerRequest) (*Provisioner, error) // GetProvisioner returns a provisioner by its id. GetProvisioner(context.Context, *GetProvisionerRequest) (*Provisioner, error) // UpdateProvisioners updates a previously created provisioner. UpdateProvisioner(context.Context, *UpdateProvisionerRequest) (*Provisioner, error) // DeleteProvisioner deletes a previously created provisioner. DeleteProvisioner(context.Context, *DeleteProvisionerRequest) (*Provisioner, error) // CreateAdmin adds a new admin user to the majordomo authority. Admin users // can add or delete provisioners. CreateAdmin(context.Context, *CreateAdminRequest) (*Admin, error) // GetAdmin returns an admin by its id. GetAdmin(context.Context, *GetAdminRequest) (*Admin, error) // UpdateAdmin updates a previously created admin. UpdateAdmin(context.Context, *UpdateAdminRequest) (*Admin, error) // DeleteAdmin deletes a previously created admin user DeleteAdmin(context.Context, *DeleteAdminRequest) (*Admin, error) // PostCertificate sends a signed X.509 certificate to majordomo. PostCertificate(context.Context, *CertificateRequest) (*CertificateResponse, error) // PostSSHCertificate sends a signed SSH certificate to majordomo. PostSSHCertificate(context.Context, *SSHCertificateRequest) (*SSHCertificateResponse, error) // PostOneTimeToken sends a one time token to majordomo. PostOneTimeToken(context.Context, *OneTimeTokenRequest) (*OneTimeTokenResponse, error) // RevokeCertificate marks an X.509 certificate as revoked. RevokeCertificate(context.Context, *RevokeCertificateRequest) (*RevokeCertificateResponse, error) // RevokeSSHCertificate marks an SSH certificate as revoked. RevokeSSHCertificate(context.Context, *RevokeSSHCertificateRequest) (*RevokeSSHCertificateResponse, error) // GetCertificate returns the X.509 certificate by serial. GetCertificate(context.Context, *GetCertificateRequest) (*GetCertificateResponse, error) // GetCertificateStatus returns the status of an X.509 certificate by serial. GetCertificateStatus(context.Context, *GetCertificateStatusRequest) (*GetCertificateStatusResponse, error) // GetSSHCertificateStatus returns the status of an SSH certificate by serial. GetSSHCertificateStatus(context.Context, *GetSSHCertificateStatusRequest) (*GetSSHCertificateStatusResponse, error) // contains filtered or unexported methods }
MajordomoServer is the server API for Majordomo service. All implementations must embed UnimplementedMajordomoServer for forward compatibility.
Majordomo is the public service used to sync configurations to CA's and post certificates.
type NebulaProvisioner ¶ added in v0.9.0
type NebulaProvisioner struct { Roots [][]byte `protobuf:"bytes,1,rep,name=roots,proto3" json:"roots,omitempty"` // contains filtered or unexported fields }
func (*NebulaProvisioner) Descriptor
deprecated
added in
v0.9.0
func (*NebulaProvisioner) Descriptor() ([]byte, []int)
Deprecated: Use NebulaProvisioner.ProtoReflect.Descriptor instead.
func (*NebulaProvisioner) GetRoots ¶ added in v0.9.0
func (x *NebulaProvisioner) GetRoots() [][]byte
func (*NebulaProvisioner) ProtoMessage ¶ added in v0.9.0
func (*NebulaProvisioner) ProtoMessage()
func (*NebulaProvisioner) ProtoReflect ¶ added in v0.9.0
func (x *NebulaProvisioner) ProtoReflect() protoreflect.Message
func (*NebulaProvisioner) Reset ¶ added in v0.9.0
func (x *NebulaProvisioner) Reset()
func (*NebulaProvisioner) String ¶ added in v0.9.0
func (x *NebulaProvisioner) String() string
type OIDCProvisioner ¶
type OIDCProvisioner struct { ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` ClientSecret string `protobuf:"bytes,2,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"` ConfigurationEndpoint string `protobuf:"bytes,3,opt,name=configuration_endpoint,json=configurationEndpoint,proto3" json:"configuration_endpoint,omitempty"` Admins []string `protobuf:"bytes,4,rep,name=admins,proto3" json:"admins,omitempty"` Domains []string `protobuf:"bytes,5,rep,name=domains,proto3" json:"domains,omitempty"` Groups []string `protobuf:"bytes,6,rep,name=groups,proto3" json:"groups,omitempty"` ListenAddress string `protobuf:"bytes,7,opt,name=listen_address,json=listenAddress,proto3" json:"listen_address,omitempty"` TenantId string `protobuf:"bytes,8,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"` Scopes []string `protobuf:"bytes,9,rep,name=scopes,proto3" json:"scopes,omitempty"` AuthParams []string `protobuf:"bytes,10,rep,name=auth_params,json=authParams,proto3" json:"auth_params,omitempty"` // contains filtered or unexported fields }
func (*OIDCProvisioner) Descriptor
deprecated
func (*OIDCProvisioner) Descriptor() ([]byte, []int)
Deprecated: Use OIDCProvisioner.ProtoReflect.Descriptor instead.
func (*OIDCProvisioner) GetAdmins ¶
func (x *OIDCProvisioner) GetAdmins() []string
func (*OIDCProvisioner) GetAuthParams ¶ added in v0.21.1
func (x *OIDCProvisioner) GetAuthParams() []string
func (*OIDCProvisioner) GetClientId ¶
func (x *OIDCProvisioner) GetClientId() string
func (*OIDCProvisioner) GetClientSecret ¶
func (x *OIDCProvisioner) GetClientSecret() string
func (*OIDCProvisioner) GetConfigurationEndpoint ¶
func (x *OIDCProvisioner) GetConfigurationEndpoint() string
func (*OIDCProvisioner) GetDomains ¶
func (x *OIDCProvisioner) GetDomains() []string
func (*OIDCProvisioner) GetGroups ¶
func (x *OIDCProvisioner) GetGroups() []string
func (*OIDCProvisioner) GetListenAddress ¶
func (x *OIDCProvisioner) GetListenAddress() string
func (*OIDCProvisioner) GetScopes ¶ added in v0.21.1
func (x *OIDCProvisioner) GetScopes() []string
func (*OIDCProvisioner) GetTenantId ¶
func (x *OIDCProvisioner) GetTenantId() string
func (*OIDCProvisioner) ProtoMessage ¶
func (*OIDCProvisioner) ProtoMessage()
func (*OIDCProvisioner) ProtoReflect ¶
func (x *OIDCProvisioner) ProtoReflect() protoreflect.Message
func (*OIDCProvisioner) Reset ¶
func (x *OIDCProvisioner) Reset()
func (*OIDCProvisioner) String ¶
func (x *OIDCProvisioner) String() string
type OneTimeTokenRequest ¶ added in v0.21.0
type OneTimeTokenRequest struct { Jti string `protobuf:"bytes,1,opt,name=jti,proto3" json:"jti,omitempty"` Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*OneTimeTokenRequest) Descriptor
deprecated
added in
v0.21.0
func (*OneTimeTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use OneTimeTokenRequest.ProtoReflect.Descriptor instead.
func (*OneTimeTokenRequest) GetJti ¶ added in v0.21.0
func (x *OneTimeTokenRequest) GetJti() string
func (*OneTimeTokenRequest) GetToken ¶ added in v0.21.0
func (x *OneTimeTokenRequest) GetToken() string
func (*OneTimeTokenRequest) ProtoMessage ¶ added in v0.21.0
func (*OneTimeTokenRequest) ProtoMessage()
func (*OneTimeTokenRequest) ProtoReflect ¶ added in v0.21.0
func (x *OneTimeTokenRequest) ProtoReflect() protoreflect.Message
func (*OneTimeTokenRequest) Reset ¶ added in v0.21.0
func (x *OneTimeTokenRequest) Reset()
func (*OneTimeTokenRequest) String ¶ added in v0.21.0
func (x *OneTimeTokenRequest) String() string
type OneTimeTokenResponse ¶ added in v0.21.0
type OneTimeTokenResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*OneTimeTokenResponse) Descriptor
deprecated
added in
v0.21.0
func (*OneTimeTokenResponse) Descriptor() ([]byte, []int)
Deprecated: Use OneTimeTokenResponse.ProtoReflect.Descriptor instead.
func (*OneTimeTokenResponse) GetId ¶ added in v0.21.0
func (x *OneTimeTokenResponse) GetId() string
func (*OneTimeTokenResponse) ProtoMessage ¶ added in v0.21.0
func (*OneTimeTokenResponse) ProtoMessage()
func (*OneTimeTokenResponse) ProtoReflect ¶ added in v0.21.0
func (x *OneTimeTokenResponse) ProtoReflect() protoreflect.Message
func (*OneTimeTokenResponse) Reset ¶ added in v0.21.0
func (x *OneTimeTokenResponse) Reset()
func (*OneTimeTokenResponse) String ¶ added in v0.21.0
func (x *OneTimeTokenResponse) String() string
type Policy ¶ added in v0.14.0
type Policy struct { X509 *X509Policy `protobuf:"bytes,1,opt,name=x509,proto3" json:"x509,omitempty"` Ssh *SSHPolicy `protobuf:"bytes,2,opt,name=ssh,proto3" json:"ssh,omitempty"` // contains filtered or unexported fields }
func (*Policy) Deduplicate ¶ added in v0.16.0
func (p *Policy) Deduplicate()
Deduplicate removes duplicate values from the Policy
func (*Policy) Descriptor
deprecated
added in
v0.14.0
func (*Policy) GetX509 ¶ added in v0.14.0
func (x *Policy) GetX509() *X509Policy
func (*Policy) ProtoMessage ¶ added in v0.14.0
func (*Policy) ProtoMessage()
func (*Policy) ProtoReflect ¶ added in v0.14.0
func (x *Policy) ProtoReflect() protoreflect.Message
type Provisioner ¶
type Provisioner struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` AuthorityId string `protobuf:"bytes,2,opt,name=authority_id,json=authorityId,proto3" json:"authority_id,omitempty"` Type Provisioner_Type `protobuf:"varint,3,opt,name=type,proto3,enum=linkedca.Provisioner_Type" json:"type,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` Details *ProvisionerDetails `protobuf:"bytes,5,opt,name=details,proto3" json:"details,omitempty"` Claims *Claims `protobuf:"bytes,6,opt,name=claims,proto3" json:"claims,omitempty"` X509Template *Template `protobuf:"bytes,7,opt,name=x509_template,json=x509Template,proto3" json:"x509_template,omitempty"` SshTemplate *Template `protobuf:"bytes,8,opt,name=ssh_template,json=sshTemplate,proto3" json:"ssh_template,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` DeletedAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` Policy *Policy `protobuf:"bytes,11,opt,name=policy,proto3" json:"policy,omitempty"` Webhooks []*Webhook `protobuf:"bytes,12,rep,name=webhooks,proto3" json:"webhooks,omitempty"` // contains filtered or unexported fields }
func MustProvisionerFromContext ¶ added in v0.16.0
func MustProvisionerFromContext(ctx context.Context) *Provisioner
MustProvisionerFromContext returns the Provisioner ctx carries.
MustProvisionerFromContext panics in case ctx carries no Provisioner.
func ProvisionerFromContext ¶ added in v0.12.0
func ProvisionerFromContext(ctx context.Context) (p *Provisioner, ok bool)
ProvisionerFromContext returns a Provisioner if the ctx carries one and a bool indicating if a Provisioner is carried by the ctx.
func (*Provisioner) Descriptor
deprecated
func (*Provisioner) Descriptor() ([]byte, []int)
Deprecated: Use Provisioner.ProtoReflect.Descriptor instead.
func (*Provisioner) GetAuthorityId ¶
func (x *Provisioner) GetAuthorityId() string
func (*Provisioner) GetClaims ¶
func (x *Provisioner) GetClaims() *Claims
func (*Provisioner) GetCreatedAt ¶
func (x *Provisioner) GetCreatedAt() *timestamppb.Timestamp
func (*Provisioner) GetDeletedAt ¶
func (x *Provisioner) GetDeletedAt() *timestamppb.Timestamp
func (*Provisioner) GetDetails ¶
func (x *Provisioner) GetDetails() *ProvisionerDetails
func (*Provisioner) GetId ¶
func (x *Provisioner) GetId() string
func (*Provisioner) GetName ¶
func (x *Provisioner) GetName() string
func (*Provisioner) GetPolicy ¶ added in v0.14.0
func (x *Provisioner) GetPolicy() *Policy
func (*Provisioner) GetSshTemplate ¶
func (x *Provisioner) GetSshTemplate() *Template
func (*Provisioner) GetType ¶
func (x *Provisioner) GetType() Provisioner_Type
func (*Provisioner) GetWebhooks ¶ added in v0.19.0
func (x *Provisioner) GetWebhooks() []*Webhook
func (*Provisioner) GetX509Template ¶
func (x *Provisioner) GetX509Template() *Template
func (*Provisioner) ProtoMessage ¶
func (*Provisioner) ProtoMessage()
func (*Provisioner) ProtoReflect ¶
func (x *Provisioner) ProtoReflect() protoreflect.Message
func (*Provisioner) Reset ¶
func (x *Provisioner) Reset()
func (*Provisioner) String ¶
func (x *Provisioner) String() string
type ProvisionerDetails ¶
type ProvisionerDetails struct { // Types that are assignable to Data: // // *ProvisionerDetails_JWK // *ProvisionerDetails_OIDC // *ProvisionerDetails_GCP // *ProvisionerDetails_AWS // *ProvisionerDetails_Azure // *ProvisionerDetails_ACME // *ProvisionerDetails_X5C // *ProvisionerDetails_K8SSA // *ProvisionerDetails_SSHPOP // *ProvisionerDetails_SCEP // *ProvisionerDetails_Nebula Data isProvisionerDetails_Data `protobuf_oneof:"data"` // contains filtered or unexported fields }
func (*ProvisionerDetails) Descriptor
deprecated
func (*ProvisionerDetails) Descriptor() ([]byte, []int)
Deprecated: Use ProvisionerDetails.ProtoReflect.Descriptor instead.
func (*ProvisionerDetails) GetACME ¶
func (x *ProvisionerDetails) GetACME() *ACMEProvisioner
func (*ProvisionerDetails) GetAWS ¶
func (x *ProvisionerDetails) GetAWS() *AWSProvisioner
func (*ProvisionerDetails) GetAzure ¶
func (x *ProvisionerDetails) GetAzure() *AzureProvisioner
func (*ProvisionerDetails) GetData ¶
func (m *ProvisionerDetails) GetData() isProvisionerDetails_Data
func (*ProvisionerDetails) GetGCP ¶
func (x *ProvisionerDetails) GetGCP() *GCPProvisioner
func (*ProvisionerDetails) GetJWK ¶
func (x *ProvisionerDetails) GetJWK() *JWKProvisioner
func (*ProvisionerDetails) GetK8SSA ¶
func (x *ProvisionerDetails) GetK8SSA() *K8SSAProvisioner
func (*ProvisionerDetails) GetNebula ¶ added in v0.9.0
func (x *ProvisionerDetails) GetNebula() *NebulaProvisioner
func (*ProvisionerDetails) GetOIDC ¶
func (x *ProvisionerDetails) GetOIDC() *OIDCProvisioner
func (*ProvisionerDetails) GetSCEP ¶
func (x *ProvisionerDetails) GetSCEP() *SCEPProvisioner
func (*ProvisionerDetails) GetSSHPOP ¶
func (x *ProvisionerDetails) GetSSHPOP() *SSHPOPProvisioner
func (*ProvisionerDetails) GetX5C ¶
func (x *ProvisionerDetails) GetX5C() *X5CProvisioner
func (*ProvisionerDetails) ProtoMessage ¶
func (*ProvisionerDetails) ProtoMessage()
func (*ProvisionerDetails) ProtoReflect ¶
func (x *ProvisionerDetails) ProtoReflect() protoreflect.Message
func (*ProvisionerDetails) Reset ¶
func (x *ProvisionerDetails) Reset()
func (*ProvisionerDetails) String ¶
func (x *ProvisionerDetails) String() string
type ProvisionerDetails_ACME ¶
type ProvisionerDetails_ACME struct {
ACME *ACMEProvisioner `protobuf:"bytes,25,opt,name=ACME,proto3,oneof"`
}
type ProvisionerDetails_AWS ¶
type ProvisionerDetails_AWS struct {
AWS *AWSProvisioner `protobuf:"bytes,23,opt,name=AWS,proto3,oneof"`
}
type ProvisionerDetails_Azure ¶
type ProvisionerDetails_Azure struct {
Azure *AzureProvisioner `protobuf:"bytes,24,opt,name=Azure,proto3,oneof"`
}
type ProvisionerDetails_GCP ¶
type ProvisionerDetails_GCP struct {
GCP *GCPProvisioner `protobuf:"bytes,22,opt,name=GCP,proto3,oneof"`
}
type ProvisionerDetails_JWK ¶
type ProvisionerDetails_JWK struct {
JWK *JWKProvisioner `protobuf:"bytes,20,opt,name=JWK,proto3,oneof"`
}
type ProvisionerDetails_K8SSA ¶
type ProvisionerDetails_K8SSA struct {
K8SSA *K8SSAProvisioner `protobuf:"bytes,27,opt,name=K8sSA,proto3,oneof"`
}
type ProvisionerDetails_Nebula ¶ added in v0.9.0
type ProvisionerDetails_Nebula struct {
Nebula *NebulaProvisioner `protobuf:"bytes,30,opt,name=Nebula,proto3,oneof"`
}
type ProvisionerDetails_OIDC ¶
type ProvisionerDetails_OIDC struct {
OIDC *OIDCProvisioner `protobuf:"bytes,21,opt,name=OIDC,proto3,oneof"`
}
type ProvisionerDetails_SCEP ¶
type ProvisionerDetails_SCEP struct {
SCEP *SCEPProvisioner `protobuf:"bytes,29,opt,name=SCEP,proto3,oneof"`
}
type ProvisionerDetails_SSHPOP ¶
type ProvisionerDetails_SSHPOP struct {
SSHPOP *SSHPOPProvisioner `protobuf:"bytes,28,opt,name=SSHPOP,proto3,oneof"`
}
type ProvisionerDetails_X5C ¶
type ProvisionerDetails_X5C struct {
X5C *X5CProvisioner `protobuf:"bytes,26,opt,name=X5C,proto3,oneof"`
}
type ProvisionerIdentity ¶ added in v0.12.0
type ProvisionerIdentity struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Type Provisioner_Type `protobuf:"varint,2,opt,name=type,proto3,enum=linkedca.Provisioner_Type" json:"type,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*ProvisionerIdentity) Descriptor
deprecated
added in
v0.12.0
func (*ProvisionerIdentity) Descriptor() ([]byte, []int)
Deprecated: Use ProvisionerIdentity.ProtoReflect.Descriptor instead.