Documentation ¶
Index ¶
- Variables
- func RegisterCredentialzServer(s grpc.ServiceRegistrar, srv CredentialzServer)
- type AccountCredentials
- func (*AccountCredentials) Descriptor() ([]byte, []int)deprecated
- func (x *AccountCredentials) GetAccount() string
- func (x *AccountCredentials) GetAuthorizedKeys() []*AccountCredentials_AuthorizedKey
- func (x *AccountCredentials) GetCreatedOn() uint64
- func (x *AccountCredentials) GetVersion() string
- func (*AccountCredentials) ProtoMessage()
- func (x *AccountCredentials) ProtoReflect() protoreflect.Message
- func (x *AccountCredentials) Reset()
- func (x *AccountCredentials) String() string
- type AccountCredentials_AuthorizedKey
- func (*AccountCredentials_AuthorizedKey) Descriptor() ([]byte, []int)deprecated
- func (x *AccountCredentials_AuthorizedKey) GetAuthorizedKey() []byte
- func (x *AccountCredentials_AuthorizedKey) GetDescription() string
- func (x *AccountCredentials_AuthorizedKey) GetKeyType() KeyType
- func (x *AccountCredentials_AuthorizedKey) GetOptions() []*Option
- func (*AccountCredentials_AuthorizedKey) ProtoMessage()
- func (x *AccountCredentials_AuthorizedKey) ProtoReflect() protoreflect.Message
- func (x *AccountCredentials_AuthorizedKey) Reset()
- func (x *AccountCredentials_AuthorizedKey) String() string
- type AllowedAuthenticationRequest
- func (*AllowedAuthenticationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AllowedAuthenticationRequest) GetAuthenticationTypes() []AuthenticationType
- func (*AllowedAuthenticationRequest) ProtoMessage()
- func (x *AllowedAuthenticationRequest) ProtoReflect() protoreflect.Message
- func (x *AllowedAuthenticationRequest) Reset()
- func (x *AllowedAuthenticationRequest) String() string
- type AllowedAuthenticationResponse
- func (*AllowedAuthenticationResponse) Descriptor() ([]byte, []int)deprecated
- func (*AllowedAuthenticationResponse) ProtoMessage()
- func (x *AllowedAuthenticationResponse) ProtoReflect() protoreflect.Message
- func (x *AllowedAuthenticationResponse) Reset()
- func (x *AllowedAuthenticationResponse) String() string
- type AuthenticationType
- func (AuthenticationType) Descriptor() protoreflect.EnumDescriptor
- func (x AuthenticationType) Enum() *AuthenticationType
- func (AuthenticationType) EnumDescriptor() ([]byte, []int)deprecated
- func (x AuthenticationType) Number() protoreflect.EnumNumber
- func (x AuthenticationType) String() string
- func (AuthenticationType) Type() protoreflect.EnumType
- type AuthorizedKeysRequest
- func (*AuthorizedKeysRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuthorizedKeysRequest) GetCredentials() []*AccountCredentials
- func (*AuthorizedKeysRequest) ProtoMessage()
- func (x *AuthorizedKeysRequest) ProtoReflect() protoreflect.Message
- func (x *AuthorizedKeysRequest) Reset()
- func (x *AuthorizedKeysRequest) String() string
- type AuthorizedKeysResponse
- type AuthorizedPrincipalCheckRequest
- func (*AuthorizedPrincipalCheckRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuthorizedPrincipalCheckRequest) GetTool() AuthorizedPrincipalCheckRequest_Tool
- func (*AuthorizedPrincipalCheckRequest) ProtoMessage()
- func (x *AuthorizedPrincipalCheckRequest) ProtoReflect() protoreflect.Message
- func (x *AuthorizedPrincipalCheckRequest) Reset()
- func (x *AuthorizedPrincipalCheckRequest) String() string
- type AuthorizedPrincipalCheckRequest_Tool
- func (AuthorizedPrincipalCheckRequest_Tool) Descriptor() protoreflect.EnumDescriptor
- func (x AuthorizedPrincipalCheckRequest_Tool) Enum() *AuthorizedPrincipalCheckRequest_Tool
- func (AuthorizedPrincipalCheckRequest_Tool) EnumDescriptor() ([]byte, []int)deprecated
- func (x AuthorizedPrincipalCheckRequest_Tool) Number() protoreflect.EnumNumber
- func (x AuthorizedPrincipalCheckRequest_Tool) String() string
- func (AuthorizedPrincipalCheckRequest_Tool) Type() protoreflect.EnumType
- type AuthorizedPrincipalCheckResponse
- func (*AuthorizedPrincipalCheckResponse) Descriptor() ([]byte, []int)deprecated
- func (*AuthorizedPrincipalCheckResponse) ProtoMessage()
- func (x *AuthorizedPrincipalCheckResponse) ProtoReflect() protoreflect.Message
- func (x *AuthorizedPrincipalCheckResponse) Reset()
- func (x *AuthorizedPrincipalCheckResponse) String() string
- type AuthorizedUsersRequest
- func (*AuthorizedUsersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuthorizedUsersRequest) GetPolicies() []*UserPolicy
- func (*AuthorizedUsersRequest) ProtoMessage()
- func (x *AuthorizedUsersRequest) ProtoReflect() protoreflect.Message
- func (x *AuthorizedUsersRequest) Reset()
- func (x *AuthorizedUsersRequest) String() string
- type AuthorizedUsersResponse
- type CaPublicKeyRequest
- func (*CaPublicKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CaPublicKeyRequest) GetCreatedOn() uint64
- func (x *CaPublicKeyRequest) GetSshCaPublicKeys() []*PublicKey
- func (x *CaPublicKeyRequest) GetVersion() string
- func (*CaPublicKeyRequest) ProtoMessage()
- func (x *CaPublicKeyRequest) ProtoReflect() protoreflect.Message
- func (x *CaPublicKeyRequest) Reset()
- func (x *CaPublicKeyRequest) String() string
- type CaPublicKeyResponse
- type CanGenerateKeyRequest
- func (*CanGenerateKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CanGenerateKeyRequest) GetKeyParams() KeyGen
- func (*CanGenerateKeyRequest) ProtoMessage()
- func (x *CanGenerateKeyRequest) ProtoReflect() protoreflect.Message
- func (x *CanGenerateKeyRequest) Reset()
- func (x *CanGenerateKeyRequest) String() string
- type CanGenerateKeyResponse
- func (*CanGenerateKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CanGenerateKeyResponse) GetCanGenerate() bool
- func (*CanGenerateKeyResponse) ProtoMessage()
- func (x *CanGenerateKeyResponse) ProtoReflect() protoreflect.Message
- func (x *CanGenerateKeyResponse) Reset()
- func (x *CanGenerateKeyResponse) String() string
- type CredentialzClient
- type CredentialzServer
- type Credentialz_RotateAccountCredentialsClient
- type Credentialz_RotateAccountCredentialsServer
- type Credentialz_RotateHostParametersClient
- type Credentialz_RotateHostParametersServer
- type FinalizeRequest
- type GenerateKeysRequest
- func (*GenerateKeysRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateKeysRequest) GetCreatedOn() uint64
- func (x *GenerateKeysRequest) GetKeyParams() []KeyGen
- func (x *GenerateKeysRequest) GetVersion() string
- func (*GenerateKeysRequest) ProtoMessage()
- func (x *GenerateKeysRequest) ProtoReflect() protoreflect.Message
- func (x *GenerateKeysRequest) Reset()
- func (x *GenerateKeysRequest) String() string
- type GenerateKeysResponse
- func (*GenerateKeysResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateKeysResponse) GetPublicKeys() []*PublicKey
- func (*GenerateKeysResponse) ProtoMessage()
- func (x *GenerateKeysResponse) ProtoReflect() protoreflect.Message
- func (x *GenerateKeysResponse) Reset()
- func (x *GenerateKeysResponse) String() string
- type GetPublicKeysRequest
- type GetPublicKeysResponse
- func (*GetPublicKeysResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPublicKeysResponse) GetPublicKeys() []*PublicKey
- func (*GetPublicKeysResponse) ProtoMessage()
- func (x *GetPublicKeysResponse) ProtoReflect() protoreflect.Message
- func (x *GetPublicKeysResponse) Reset()
- func (x *GetPublicKeysResponse) String() string
- type KeyGen
- type KeyType
- type Option
- func (*Option) Descriptor() ([]byte, []int)deprecated
- func (x *Option) GetId() Option_StandardOption
- func (m *Option) GetKey() isOption_Key
- func (x *Option) GetName() string
- func (x *Option) GetValue() string
- func (*Option) ProtoMessage()
- func (x *Option) ProtoReflect() protoreflect.Message
- func (x *Option) Reset()
- func (x *Option) String() string
- type Option_Id
- type Option_Name
- type Option_StandardOption
- func (Option_StandardOption) Descriptor() protoreflect.EnumDescriptor
- func (x Option_StandardOption) Enum() *Option_StandardOption
- func (Option_StandardOption) EnumDescriptor() ([]byte, []int)deprecated
- func (x Option_StandardOption) Number() protoreflect.EnumNumber
- func (x Option_StandardOption) String() string
- func (Option_StandardOption) Type() protoreflect.EnumType
- type PasswordRequest
- func (*PasswordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PasswordRequest) GetAccounts() []*PasswordRequest_Account
- func (*PasswordRequest) ProtoMessage()
- func (x *PasswordRequest) ProtoReflect() protoreflect.Message
- func (x *PasswordRequest) Reset()
- func (x *PasswordRequest) String() string
- type PasswordRequest_Account
- func (*PasswordRequest_Account) Descriptor() ([]byte, []int)deprecated
- func (x *PasswordRequest_Account) GetAccount() string
- func (x *PasswordRequest_Account) GetCreatedOn() uint64
- func (x *PasswordRequest_Account) GetPassword() *PasswordRequest_Password
- func (x *PasswordRequest_Account) GetVersion() string
- func (*PasswordRequest_Account) ProtoMessage()
- func (x *PasswordRequest_Account) ProtoReflect() protoreflect.Message
- func (x *PasswordRequest_Account) Reset()
- func (x *PasswordRequest_Account) String() string
- type PasswordRequest_CryptoHash
- func (*PasswordRequest_CryptoHash) Descriptor() ([]byte, []int)deprecated
- func (x *PasswordRequest_CryptoHash) GetHashType() PasswordRequest_CryptoHash_HashType
- func (x *PasswordRequest_CryptoHash) GetHashValue() string
- func (*PasswordRequest_CryptoHash) ProtoMessage()
- func (x *PasswordRequest_CryptoHash) ProtoReflect() protoreflect.Message
- func (x *PasswordRequest_CryptoHash) Reset()
- func (x *PasswordRequest_CryptoHash) String() string
- type PasswordRequest_CryptoHash_HashType
- func (PasswordRequest_CryptoHash_HashType) Descriptor() protoreflect.EnumDescriptor
- func (x PasswordRequest_CryptoHash_HashType) Enum() *PasswordRequest_CryptoHash_HashType
- func (PasswordRequest_CryptoHash_HashType) EnumDescriptor() ([]byte, []int)deprecated
- func (x PasswordRequest_CryptoHash_HashType) Number() protoreflect.EnumNumber
- func (x PasswordRequest_CryptoHash_HashType) String() string
- func (PasswordRequest_CryptoHash_HashType) Type() protoreflect.EnumType
- type PasswordRequest_Password
- func (*PasswordRequest_Password) Descriptor() ([]byte, []int)deprecated
- func (x *PasswordRequest_Password) GetCryptoHash() *PasswordRequest_CryptoHash
- func (x *PasswordRequest_Password) GetPlaintext() string
- func (m *PasswordRequest_Password) GetValue() isPasswordRequest_Password_Value
- func (*PasswordRequest_Password) ProtoMessage()
- func (x *PasswordRequest_Password) ProtoReflect() protoreflect.Message
- func (x *PasswordRequest_Password) Reset()
- func (x *PasswordRequest_Password) String() string
- type PasswordRequest_Password_CryptoHash
- type PasswordRequest_Password_Plaintext
- type PasswordResponse
- type PublicKey
- func (*PublicKey) Descriptor() ([]byte, []int)deprecated
- func (x *PublicKey) GetDescription() string
- func (x *PublicKey) GetKeyType() KeyType
- func (x *PublicKey) GetPublicKey() []byte
- func (*PublicKey) ProtoMessage()
- func (x *PublicKey) ProtoReflect() protoreflect.Message
- func (x *PublicKey) Reset()
- func (x *PublicKey) String() string
- type RotateAccountCredentialsRequest
- func (*RotateAccountCredentialsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RotateAccountCredentialsRequest) GetCredential() *AuthorizedKeysRequest
- func (x *RotateAccountCredentialsRequest) GetFinalize() *FinalizeRequest
- func (x *RotateAccountCredentialsRequest) GetPassword() *PasswordRequest
- func (m *RotateAccountCredentialsRequest) GetRequest() isRotateAccountCredentialsRequest_Request
- func (x *RotateAccountCredentialsRequest) GetUser() *AuthorizedUsersRequest
- func (*RotateAccountCredentialsRequest) ProtoMessage()
- func (x *RotateAccountCredentialsRequest) ProtoReflect() protoreflect.Message
- func (x *RotateAccountCredentialsRequest) Reset()
- func (x *RotateAccountCredentialsRequest) String() string
- type RotateAccountCredentialsRequest_Credential
- type RotateAccountCredentialsRequest_Finalize
- type RotateAccountCredentialsRequest_Password
- type RotateAccountCredentialsRequest_User
- type RotateAccountCredentialsResponse
- func (*RotateAccountCredentialsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RotateAccountCredentialsResponse) GetCredential() *AuthorizedKeysResponse
- func (x *RotateAccountCredentialsResponse) GetPassword() *PasswordResponse
- func (m *RotateAccountCredentialsResponse) GetResponse() isRotateAccountCredentialsResponse_Response
- func (x *RotateAccountCredentialsResponse) GetUser() *AuthorizedUsersResponse
- func (*RotateAccountCredentialsResponse) ProtoMessage()
- func (x *RotateAccountCredentialsResponse) ProtoReflect() protoreflect.Message
- func (x *RotateAccountCredentialsResponse) Reset()
- func (x *RotateAccountCredentialsResponse) String() string
- type RotateAccountCredentialsResponse_Credential
- type RotateAccountCredentialsResponse_Password
- type RotateAccountCredentialsResponse_User
- type RotateHostParametersRequest
- func (*RotateHostParametersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RotateHostParametersRequest) GetAuthenticationAllowed() *AllowedAuthenticationRequest
- func (x *RotateHostParametersRequest) GetAuthorizedPrincipalCheck() *AuthorizedPrincipalCheckRequest
- func (x *RotateHostParametersRequest) GetFinalize() *FinalizeRequest
- func (x *RotateHostParametersRequest) GetGenerateKeys() *GenerateKeysRequest
- func (m *RotateHostParametersRequest) GetRequest() isRotateHostParametersRequest_Request
- func (x *RotateHostParametersRequest) GetServerKeys() *ServerKeysRequest
- func (x *RotateHostParametersRequest) GetSshCaPublicKey() *CaPublicKeyRequest
- func (*RotateHostParametersRequest) ProtoMessage()
- func (x *RotateHostParametersRequest) ProtoReflect() protoreflect.Message
- func (x *RotateHostParametersRequest) Reset()
- func (x *RotateHostParametersRequest) String() string
- type RotateHostParametersRequest_AuthenticationAllowed
- type RotateHostParametersRequest_AuthorizedPrincipalCheck
- type RotateHostParametersRequest_Finalize
- type RotateHostParametersRequest_GenerateKeys
- type RotateHostParametersRequest_ServerKeys
- type RotateHostParametersRequest_SshCaPublicKey
- type RotateHostParametersResponse
- func (*RotateHostParametersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RotateHostParametersResponse) GetAuthenticationAllowed() *AllowedAuthenticationResponse
- func (x *RotateHostParametersResponse) GetAuthorizedPrincipalCheck() *AuthorizedPrincipalCheckResponse
- func (x *RotateHostParametersResponse) GetGenerateKeys() *GenerateKeysResponse
- func (m *RotateHostParametersResponse) GetResponse() isRotateHostParametersResponse_Response
- func (x *RotateHostParametersResponse) GetServerKeys() *ServerKeysResponse
- func (x *RotateHostParametersResponse) GetSshCaPublicKey() *CaPublicKeyResponse
- func (*RotateHostParametersResponse) ProtoMessage()
- func (x *RotateHostParametersResponse) ProtoReflect() protoreflect.Message
- func (x *RotateHostParametersResponse) Reset()
- func (x *RotateHostParametersResponse) String() string
- type RotateHostParametersResponse_AuthenticationAllowed
- type RotateHostParametersResponse_AuthorizedPrincipalCheck
- type RotateHostParametersResponse_GenerateKeys
- type RotateHostParametersResponse_ServerKeys
- type RotateHostParametersResponse_SshCaPublicKey
- type ServerKeysRequest
- func (*ServerKeysRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ServerKeysRequest) GetAuthArtifacts() []*ServerKeysRequest_AuthenticationArtifacts
- func (x *ServerKeysRequest) GetCreatedOn() uint64
- func (x *ServerKeysRequest) GetVersion() string
- func (*ServerKeysRequest) ProtoMessage()
- func (x *ServerKeysRequest) ProtoReflect() protoreflect.Message
- func (x *ServerKeysRequest) Reset()
- func (x *ServerKeysRequest) String() string
- type ServerKeysRequest_AuthenticationArtifacts
- func (*ServerKeysRequest_AuthenticationArtifacts) Descriptor() ([]byte, []int)deprecated
- func (x *ServerKeysRequest_AuthenticationArtifacts) GetCertificate() []byte
- func (x *ServerKeysRequest_AuthenticationArtifacts) GetPrivateKey() []byte
- func (*ServerKeysRequest_AuthenticationArtifacts) ProtoMessage()
- func (x *ServerKeysRequest_AuthenticationArtifacts) ProtoReflect() protoreflect.Message
- func (x *ServerKeysRequest_AuthenticationArtifacts) Reset()
- func (x *ServerKeysRequest_AuthenticationArtifacts) String() string
- type ServerKeysResponse
- type UnimplementedCredentialzServer
- func (UnimplementedCredentialzServer) CanGenerateKey(context.Context, *CanGenerateKeyRequest) (*CanGenerateKeyResponse, error)
- func (UnimplementedCredentialzServer) GetPublicKeys(context.Context, *GetPublicKeysRequest) (*GetPublicKeysResponse, error)
- func (UnimplementedCredentialzServer) RotateAccountCredentials(Credentialz_RotateAccountCredentialsServer) error
- func (UnimplementedCredentialzServer) RotateHostParameters(Credentialz_RotateHostParametersServer) error
- type UnsafeCredentialzServer
- type UserPolicy
- func (*UserPolicy) Descriptor() ([]byte, []int)deprecated
- func (x *UserPolicy) GetAccount() string
- func (x *UserPolicy) GetAuthorizedPrincipals() *UserPolicy_SshAuthorizedPrincipals
- func (x *UserPolicy) GetCreatedOn() uint64
- func (x *UserPolicy) GetVersion() string
- func (*UserPolicy) ProtoMessage()
- func (x *UserPolicy) ProtoReflect() protoreflect.Message
- func (x *UserPolicy) Reset()
- func (x *UserPolicy) String() string
- type UserPolicy_SshAuthorizedPrincipal
- func (*UserPolicy_SshAuthorizedPrincipal) Descriptor() ([]byte, []int)deprecated
- func (x *UserPolicy_SshAuthorizedPrincipal) GetAuthorizedUser() string
- func (x *UserPolicy_SshAuthorizedPrincipal) GetOptions() []*Option
- func (*UserPolicy_SshAuthorizedPrincipal) ProtoMessage()
- func (x *UserPolicy_SshAuthorizedPrincipal) ProtoReflect() protoreflect.Message
- func (x *UserPolicy_SshAuthorizedPrincipal) Reset()
- func (x *UserPolicy_SshAuthorizedPrincipal) String() string
- type UserPolicy_SshAuthorizedPrincipals
- func (*UserPolicy_SshAuthorizedPrincipals) Descriptor() ([]byte, []int)deprecated
- func (x *UserPolicy_SshAuthorizedPrincipals) GetAuthorizedPrincipals() []*UserPolicy_SshAuthorizedPrincipal
- func (*UserPolicy_SshAuthorizedPrincipals) ProtoMessage()
- func (x *UserPolicy_SshAuthorizedPrincipals) ProtoReflect() protoreflect.Message
- func (x *UserPolicy_SshAuthorizedPrincipals) Reset()
- func (x *UserPolicy_SshAuthorizedPrincipals) String() string
Constants ¶
This section is empty.
Variables ¶
var ( KeyType_name = map[int32]string{ 0: "KEY_TYPE_UNSPECIFIED", 1: "KEY_TYPE_ECDSA_P_256", 2: "KEY_TYPE_ECDSA_P_521", 3: "KEY_TYPE_ED25519", 4: "KEY_TYPE_RSA_2048", 5: "KEY_TYPE_RSA_4096", } KeyType_value = map[string]int32{ "KEY_TYPE_UNSPECIFIED": 0, "KEY_TYPE_ECDSA_P_256": 1, "KEY_TYPE_ECDSA_P_521": 2, "KEY_TYPE_ED25519": 3, "KEY_TYPE_RSA_2048": 4, "KEY_TYPE_RSA_4096": 5, } )
Enum value maps for KeyType.
var ( KeyGen_name = map[int32]string{ 0: "KEY_GEN_SSH_KEY_UNSPECIFIED", 1: "KEY_GEN_SSH_KEY_TYPE_RSA_2048", 2: "KEY_GEN_SSH_KEY_TYPE_ECDSA_P_256", 3: "KEY_GEN_SSH_KEY_TYPE_ECDSA_P_521", 4: "KEY_GEN_SSH_KEY_TYPE_EDDSA_ED25519", 5: "KEY_GEN_SSH_KEY_TYPE_RSA_4096", } KeyGen_value = map[string]int32{ "KEY_GEN_SSH_KEY_UNSPECIFIED": 0, "KEY_GEN_SSH_KEY_TYPE_RSA_2048": 1, "KEY_GEN_SSH_KEY_TYPE_ECDSA_P_256": 2, "KEY_GEN_SSH_KEY_TYPE_ECDSA_P_521": 3, "KEY_GEN_SSH_KEY_TYPE_EDDSA_ED25519": 4, "KEY_GEN_SSH_KEY_TYPE_RSA_4096": 5, } )
Enum value maps for KeyGen.
var ( AuthenticationType_name = map[int32]string{ 0: "AUTHENTICATION_TYPE_UNSPECIFIED", 1: "AUTHENTICATION_TYPE_PASSWORD", 2: "AUTHENTICATION_TYPE_PUBKEY", 3: "AUTHENTICATION_TYPE_KBDINTERACTIVE", } AuthenticationType_value = map[string]int32{ "AUTHENTICATION_TYPE_UNSPECIFIED": 0, "AUTHENTICATION_TYPE_PASSWORD": 1, "AUTHENTICATION_TYPE_PUBKEY": 2, "AUTHENTICATION_TYPE_KBDINTERACTIVE": 3, } )
Enum value maps for AuthenticationType.
var ( Option_StandardOption_name = map[int32]string{ 0: "STANDARD_OPTION_UNSPECIFIED", 1: "STANDARD_OPTION_AGENT_FORWARDING", 2: "STANDARD_OPTION_CERT_AUTHORITY", 3: "STANDARD_OPTION_COMMAND", 4: "STANDARD_OPTION_ENVIRONMENT", 5: "STANDARD_OPTION_EXPIRY_TIME", 6: "STANDARD_OPTION_FROM", 7: "STANDARD_OPTION_NO_AGENT_FORWARDING", 8: "STANDARD_OPTION_NO_PORT_FORWARDING", 9: "STANDARD_OPTION_NO_PTY", 10: "STANDARD_OPTION_NO_USER_RC", 11: "STANDARD_OPTION_NO_X11_FORWARDING", 12: "STANDARD_OPTION_PERMITLISTEN", 13: "STANDARD_OPTION_PERMITOPEN", 14: "STANDARD_OPTION_PORT_FORWARDING", 15: "STANDARD_OPTION_PRINCIPALS", 16: "STANDARD_OPTION_PTY", 17: "STANDARD_OPTION_NO_TOUCH_REQUIRED", 18: "STANDARD_OPTION_VERIFY_REQUIRED", 19: "STANDARD_OPTION_RESTRICT", 20: "STANDARD_OPTION_TUNNEL", 21: "STANDARD_OPTION_USER_RC", 22: "STANDARD_OPTION_X11_FORWARDING", } Option_StandardOption_value = map[string]int32{ "STANDARD_OPTION_UNSPECIFIED": 0, "STANDARD_OPTION_AGENT_FORWARDING": 1, "STANDARD_OPTION_CERT_AUTHORITY": 2, "STANDARD_OPTION_COMMAND": 3, "STANDARD_OPTION_ENVIRONMENT": 4, "STANDARD_OPTION_EXPIRY_TIME": 5, "STANDARD_OPTION_FROM": 6, "STANDARD_OPTION_NO_AGENT_FORWARDING": 7, "STANDARD_OPTION_NO_PORT_FORWARDING": 8, "STANDARD_OPTION_NO_PTY": 9, "STANDARD_OPTION_NO_USER_RC": 10, "STANDARD_OPTION_NO_X11_FORWARDING": 11, "STANDARD_OPTION_PERMITLISTEN": 12, "STANDARD_OPTION_PERMITOPEN": 13, "STANDARD_OPTION_PORT_FORWARDING": 14, "STANDARD_OPTION_PRINCIPALS": 15, "STANDARD_OPTION_PTY": 16, "STANDARD_OPTION_NO_TOUCH_REQUIRED": 17, "STANDARD_OPTION_VERIFY_REQUIRED": 18, "STANDARD_OPTION_RESTRICT": 19, "STANDARD_OPTION_TUNNEL": 20, "STANDARD_OPTION_USER_RC": 21, "STANDARD_OPTION_X11_FORWARDING": 22, } )
Enum value maps for Option_StandardOption.
var ( PasswordRequest_CryptoHash_HashType_name = map[int32]string{ 0: "HASH_TYPE_UNSPECIFIED", 1: "HASH_TYPE_CRYPT_MD5", 2: "HASH_TYPE_CRYPT_SHA_2_512", } PasswordRequest_CryptoHash_HashType_value = map[string]int32{ "HASH_TYPE_UNSPECIFIED": 0, "HASH_TYPE_CRYPT_MD5": 1, "HASH_TYPE_CRYPT_SHA_2_512": 2, } )
Enum value maps for PasswordRequest_CryptoHash_HashType.
var ( AuthorizedPrincipalCheckRequest_Tool_name = map[int32]string{ 0: "TOOL_UNSPECIFIED", 1: "TOOL_HIBA_DEFAULT", } AuthorizedPrincipalCheckRequest_Tool_value = map[string]int32{ "TOOL_UNSPECIFIED": 0, "TOOL_HIBA_DEFAULT": 1, } )
Enum value maps for AuthorizedPrincipalCheckRequest_Tool.
var Credentialz_ServiceDesc = grpc.ServiceDesc{ ServiceName: "gnsi.credentialz.v1.Credentialz", HandlerType: (*CredentialzServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CanGenerateKey", Handler: _Credentialz_CanGenerateKey_Handler, }, { MethodName: "GetPublicKeys", Handler: _Credentialz_GetPublicKeys_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "RotateAccountCredentials", Handler: _Credentialz_RotateAccountCredentials_Handler, ServerStreams: true, ClientStreams: true, }, { StreamName: "RotateHostParameters", Handler: _Credentialz_RotateHostParameters_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "github.com/openconfig/gnsi/credentialz/credentialz.proto", }
Credentialz_ServiceDesc is the grpc.ServiceDesc for Credentialz service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_github_com_openconfig_gnsi_credentialz_credentialz_proto protoreflect.FileDescriptor
Functions ¶
func RegisterCredentialzServer ¶
func RegisterCredentialzServer(s grpc.ServiceRegistrar, srv CredentialzServer)
Types ¶
type AccountCredentials ¶
type AccountCredentials struct { Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` AuthorizedKeys []*AccountCredentials_AuthorizedKey `protobuf:"bytes,2,rep,name=authorized_keys,json=authorizedKeys,proto3" json:"authorized_keys,omitempty"` Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` CreatedOn uint64 `protobuf:"varint,4,opt,name=created_on,json=createdOn,proto3" json:"created_on,omitempty"` // contains filtered or unexported fields }
func (*AccountCredentials) Descriptor
deprecated
func (*AccountCredentials) Descriptor() ([]byte, []int)
Deprecated: Use AccountCredentials.ProtoReflect.Descriptor instead.
func (*AccountCredentials) GetAccount ¶
func (x *AccountCredentials) GetAccount() string
func (*AccountCredentials) GetAuthorizedKeys ¶
func (x *AccountCredentials) GetAuthorizedKeys() []*AccountCredentials_AuthorizedKey
func (*AccountCredentials) GetCreatedOn ¶
func (x *AccountCredentials) GetCreatedOn() uint64
func (*AccountCredentials) GetVersion ¶
func (x *AccountCredentials) GetVersion() string
func (*AccountCredentials) ProtoMessage ¶
func (*AccountCredentials) ProtoMessage()
func (*AccountCredentials) ProtoReflect ¶
func (x *AccountCredentials) ProtoReflect() protoreflect.Message
func (*AccountCredentials) Reset ¶
func (x *AccountCredentials) Reset()
func (*AccountCredentials) String ¶
func (x *AccountCredentials) String() string
type AccountCredentials_AuthorizedKey ¶
type AccountCredentials_AuthorizedKey struct { AuthorizedKey []byte `protobuf:"bytes,1,opt,name=authorized_key,json=authorizedKey,proto3" json:"authorized_key,omitempty"` Options []*Option `protobuf:"bytes,2,rep,name=options,proto3" json:"options,omitempty"` KeyType KeyType `protobuf:"varint,3,opt,name=key_type,json=keyType,proto3,enum=gnsi.credentialz.v1.KeyType" json:"key_type,omitempty"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
func (*AccountCredentials_AuthorizedKey) Descriptor
deprecated
func (*AccountCredentials_AuthorizedKey) Descriptor() ([]byte, []int)
Deprecated: Use AccountCredentials_AuthorizedKey.ProtoReflect.Descriptor instead.
func (*AccountCredentials_AuthorizedKey) GetAuthorizedKey ¶
func (x *AccountCredentials_AuthorizedKey) GetAuthorizedKey() []byte
func (*AccountCredentials_AuthorizedKey) GetDescription ¶
func (x *AccountCredentials_AuthorizedKey) GetDescription() string
func (*AccountCredentials_AuthorizedKey) GetKeyType ¶
func (x *AccountCredentials_AuthorizedKey) GetKeyType() KeyType
func (*AccountCredentials_AuthorizedKey) GetOptions ¶
func (x *AccountCredentials_AuthorizedKey) GetOptions() []*Option
func (*AccountCredentials_AuthorizedKey) ProtoMessage ¶
func (*AccountCredentials_AuthorizedKey) ProtoMessage()
func (*AccountCredentials_AuthorizedKey) ProtoReflect ¶
func (x *AccountCredentials_AuthorizedKey) ProtoReflect() protoreflect.Message
func (*AccountCredentials_AuthorizedKey) Reset ¶
func (x *AccountCredentials_AuthorizedKey) Reset()
func (*AccountCredentials_AuthorizedKey) String ¶
func (x *AccountCredentials_AuthorizedKey) String() string
type AllowedAuthenticationRequest ¶ added in v1.2.2
type AllowedAuthenticationRequest struct { AuthenticationTypes []AuthenticationType `` /* 170-byte string literal not displayed */ // contains filtered or unexported fields }
func (*AllowedAuthenticationRequest) Descriptor
deprecated
added in
v1.2.2
func (*AllowedAuthenticationRequest) Descriptor() ([]byte, []int)
Deprecated: Use AllowedAuthenticationRequest.ProtoReflect.Descriptor instead.
func (*AllowedAuthenticationRequest) GetAuthenticationTypes ¶ added in v1.2.2
func (x *AllowedAuthenticationRequest) GetAuthenticationTypes() []AuthenticationType
func (*AllowedAuthenticationRequest) ProtoMessage ¶ added in v1.2.2
func (*AllowedAuthenticationRequest) ProtoMessage()
func (*AllowedAuthenticationRequest) ProtoReflect ¶ added in v1.2.2
func (x *AllowedAuthenticationRequest) ProtoReflect() protoreflect.Message
func (*AllowedAuthenticationRequest) Reset ¶ added in v1.2.2
func (x *AllowedAuthenticationRequest) Reset()
func (*AllowedAuthenticationRequest) String ¶ added in v1.2.2
func (x *AllowedAuthenticationRequest) String() string
type AllowedAuthenticationResponse ¶ added in v1.2.2
type AllowedAuthenticationResponse struct {
// contains filtered or unexported fields
}
func (*AllowedAuthenticationResponse) Descriptor
deprecated
added in
v1.2.2
func (*AllowedAuthenticationResponse) Descriptor() ([]byte, []int)
Deprecated: Use AllowedAuthenticationResponse.ProtoReflect.Descriptor instead.
func (*AllowedAuthenticationResponse) ProtoMessage ¶ added in v1.2.2
func (*AllowedAuthenticationResponse) ProtoMessage()
func (*AllowedAuthenticationResponse) ProtoReflect ¶ added in v1.2.2
func (x *AllowedAuthenticationResponse) ProtoReflect() protoreflect.Message
func (*AllowedAuthenticationResponse) Reset ¶ added in v1.2.2
func (x *AllowedAuthenticationResponse) Reset()
func (*AllowedAuthenticationResponse) String ¶ added in v1.2.2
func (x *AllowedAuthenticationResponse) String() string
type AuthenticationType ¶ added in v1.2.2
type AuthenticationType int32
const ( AuthenticationType_AUTHENTICATION_TYPE_UNSPECIFIED AuthenticationType = 0 AuthenticationType_AUTHENTICATION_TYPE_PASSWORD AuthenticationType = 1 AuthenticationType_AUTHENTICATION_TYPE_PUBKEY AuthenticationType = 2 AuthenticationType_AUTHENTICATION_TYPE_KBDINTERACTIVE AuthenticationType = 3 )
func (AuthenticationType) Descriptor ¶ added in v1.2.2
func (AuthenticationType) Descriptor() protoreflect.EnumDescriptor
func (AuthenticationType) Enum ¶ added in v1.2.2
func (x AuthenticationType) Enum() *AuthenticationType
func (AuthenticationType) EnumDescriptor
deprecated
added in
v1.2.2
func (AuthenticationType) EnumDescriptor() ([]byte, []int)
Deprecated: Use AuthenticationType.Descriptor instead.
func (AuthenticationType) Number ¶ added in v1.2.2
func (x AuthenticationType) Number() protoreflect.EnumNumber
func (AuthenticationType) String ¶ added in v1.2.2
func (x AuthenticationType) String() string
func (AuthenticationType) Type ¶ added in v1.2.2
func (AuthenticationType) Type() protoreflect.EnumType
type AuthorizedKeysRequest ¶
type AuthorizedKeysRequest struct { Credentials []*AccountCredentials `protobuf:"bytes,1,rep,name=credentials,proto3" json:"credentials,omitempty"` // contains filtered or unexported fields }
func (*AuthorizedKeysRequest) Descriptor
deprecated
func (*AuthorizedKeysRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthorizedKeysRequest.ProtoReflect.Descriptor instead.
func (*AuthorizedKeysRequest) GetCredentials ¶
func (x *AuthorizedKeysRequest) GetCredentials() []*AccountCredentials
func (*AuthorizedKeysRequest) ProtoMessage ¶
func (*AuthorizedKeysRequest) ProtoMessage()
func (*AuthorizedKeysRequest) ProtoReflect ¶
func (x *AuthorizedKeysRequest) ProtoReflect() protoreflect.Message
func (*AuthorizedKeysRequest) Reset ¶
func (x *AuthorizedKeysRequest) Reset()
func (*AuthorizedKeysRequest) String ¶
func (x *AuthorizedKeysRequest) String() string
type AuthorizedKeysResponse ¶
type AuthorizedKeysResponse struct {
// contains filtered or unexported fields
}
func (*AuthorizedKeysResponse) Descriptor
deprecated
func (*AuthorizedKeysResponse) Descriptor() ([]byte, []int)
Deprecated: Use AuthorizedKeysResponse.ProtoReflect.Descriptor instead.
func (*AuthorizedKeysResponse) ProtoMessage ¶
func (*AuthorizedKeysResponse) ProtoMessage()
func (*AuthorizedKeysResponse) ProtoReflect ¶
func (x *AuthorizedKeysResponse) ProtoReflect() protoreflect.Message
func (*AuthorizedKeysResponse) Reset ¶
func (x *AuthorizedKeysResponse) Reset()
func (*AuthorizedKeysResponse) String ¶
func (x *AuthorizedKeysResponse) String() string
type AuthorizedPrincipalCheckRequest ¶ added in v1.2.2
type AuthorizedPrincipalCheckRequest struct { Tool AuthorizedPrincipalCheckRequest_Tool `protobuf:"varint,1,opt,name=tool,proto3,enum=gnsi.credentialz.v1.AuthorizedPrincipalCheckRequest_Tool" json:"tool,omitempty"` // contains filtered or unexported fields }
func (*AuthorizedPrincipalCheckRequest) Descriptor
deprecated
added in
v1.2.2
func (*AuthorizedPrincipalCheckRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthorizedPrincipalCheckRequest.ProtoReflect.Descriptor instead.
func (*AuthorizedPrincipalCheckRequest) GetTool ¶ added in v1.2.2
func (x *AuthorizedPrincipalCheckRequest) GetTool() AuthorizedPrincipalCheckRequest_Tool
func (*AuthorizedPrincipalCheckRequest) ProtoMessage ¶ added in v1.2.2
func (*AuthorizedPrincipalCheckRequest) ProtoMessage()
func (*AuthorizedPrincipalCheckRequest) ProtoReflect ¶ added in v1.2.2
func (x *AuthorizedPrincipalCheckRequest) ProtoReflect() protoreflect.Message
func (*AuthorizedPrincipalCheckRequest) Reset ¶ added in v1.2.2
func (x *AuthorizedPrincipalCheckRequest) Reset()
func (*AuthorizedPrincipalCheckRequest) String ¶ added in v1.2.2
func (x *AuthorizedPrincipalCheckRequest) String() string
type AuthorizedPrincipalCheckRequest_Tool ¶ added in v1.2.2
type AuthorizedPrincipalCheckRequest_Tool int32
const ( AuthorizedPrincipalCheckRequest_TOOL_UNSPECIFIED AuthorizedPrincipalCheckRequest_Tool = 0 AuthorizedPrincipalCheckRequest_TOOL_HIBA_DEFAULT AuthorizedPrincipalCheckRequest_Tool = 1 )
func (AuthorizedPrincipalCheckRequest_Tool) Descriptor ¶ added in v1.2.2
func (AuthorizedPrincipalCheckRequest_Tool) Descriptor() protoreflect.EnumDescriptor
func (AuthorizedPrincipalCheckRequest_Tool) Enum ¶ added in v1.2.2
func (x AuthorizedPrincipalCheckRequest_Tool) Enum() *AuthorizedPrincipalCheckRequest_Tool
func (AuthorizedPrincipalCheckRequest_Tool) EnumDescriptor
deprecated
added in
v1.2.2
func (AuthorizedPrincipalCheckRequest_Tool) EnumDescriptor() ([]byte, []int)
Deprecated: Use AuthorizedPrincipalCheckRequest_Tool.Descriptor instead.
func (AuthorizedPrincipalCheckRequest_Tool) Number ¶ added in v1.2.2
func (x AuthorizedPrincipalCheckRequest_Tool) Number() protoreflect.EnumNumber
func (AuthorizedPrincipalCheckRequest_Tool) String ¶ added in v1.2.2
func (x AuthorizedPrincipalCheckRequest_Tool) String() string
func (AuthorizedPrincipalCheckRequest_Tool) Type ¶ added in v1.2.2
func (AuthorizedPrincipalCheckRequest_Tool) Type() protoreflect.EnumType
type AuthorizedPrincipalCheckResponse ¶ added in v1.2.2
type AuthorizedPrincipalCheckResponse struct {
// contains filtered or unexported fields
}
func (*AuthorizedPrincipalCheckResponse) Descriptor
deprecated
added in
v1.2.2
func (*AuthorizedPrincipalCheckResponse) Descriptor() ([]byte, []int)
Deprecated: Use AuthorizedPrincipalCheckResponse.ProtoReflect.Descriptor instead.
func (*AuthorizedPrincipalCheckResponse) ProtoMessage ¶ added in v1.2.2
func (*AuthorizedPrincipalCheckResponse) ProtoMessage()
func (*AuthorizedPrincipalCheckResponse) ProtoReflect ¶ added in v1.2.2
func (x *AuthorizedPrincipalCheckResponse) ProtoReflect() protoreflect.Message
func (*AuthorizedPrincipalCheckResponse) Reset ¶ added in v1.2.2
func (x *AuthorizedPrincipalCheckResponse) Reset()
func (*AuthorizedPrincipalCheckResponse) String ¶ added in v1.2.2
func (x *AuthorizedPrincipalCheckResponse) String() string
type AuthorizedUsersRequest ¶
type AuthorizedUsersRequest struct { Policies []*UserPolicy `protobuf:"bytes,1,rep,name=policies,proto3" json:"policies,omitempty"` // contains filtered or unexported fields }
func (*AuthorizedUsersRequest) Descriptor
deprecated
func (*AuthorizedUsersRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthorizedUsersRequest.ProtoReflect.Descriptor instead.
func (*AuthorizedUsersRequest) GetPolicies ¶
func (x *AuthorizedUsersRequest) GetPolicies() []*UserPolicy
func (*AuthorizedUsersRequest) ProtoMessage ¶
func (*AuthorizedUsersRequest) ProtoMessage()
func (*AuthorizedUsersRequest) ProtoReflect ¶
func (x *AuthorizedUsersRequest) ProtoReflect() protoreflect.Message
func (*AuthorizedUsersRequest) Reset ¶
func (x *AuthorizedUsersRequest) Reset()
func (*AuthorizedUsersRequest) String ¶
func (x *AuthorizedUsersRequest) String() string
type AuthorizedUsersResponse ¶
type AuthorizedUsersResponse struct {
// contains filtered or unexported fields
}
func (*AuthorizedUsersResponse) Descriptor
deprecated
func (*AuthorizedUsersResponse) Descriptor() ([]byte, []int)
Deprecated: Use AuthorizedUsersResponse.ProtoReflect.Descriptor instead.
func (*AuthorizedUsersResponse) ProtoMessage ¶
func (*AuthorizedUsersResponse) ProtoMessage()
func (*AuthorizedUsersResponse) ProtoReflect ¶
func (x *AuthorizedUsersResponse) ProtoReflect() protoreflect.Message
func (*AuthorizedUsersResponse) Reset ¶
func (x *AuthorizedUsersResponse) Reset()
func (*AuthorizedUsersResponse) String ¶
func (x *AuthorizedUsersResponse) String() string
type CaPublicKeyRequest ¶
type CaPublicKeyRequest struct { SshCaPublicKeys []*PublicKey `protobuf:"bytes,1,rep,name=ssh_ca_public_keys,json=sshCaPublicKeys,proto3" json:"ssh_ca_public_keys,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` CreatedOn uint64 `protobuf:"varint,3,opt,name=created_on,json=createdOn,proto3" json:"created_on,omitempty"` // contains filtered or unexported fields }
func (*CaPublicKeyRequest) Descriptor
deprecated
func (*CaPublicKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use CaPublicKeyRequest.ProtoReflect.Descriptor instead.
func (*CaPublicKeyRequest) GetCreatedOn ¶
func (x *CaPublicKeyRequest) GetCreatedOn() uint64
func (*CaPublicKeyRequest) GetSshCaPublicKeys ¶
func (x *CaPublicKeyRequest) GetSshCaPublicKeys() []*PublicKey
func (*CaPublicKeyRequest) GetVersion ¶
func (x *CaPublicKeyRequest) GetVersion() string
func (*CaPublicKeyRequest) ProtoMessage ¶
func (*CaPublicKeyRequest) ProtoMessage()
func (*CaPublicKeyRequest) ProtoReflect ¶
func (x *CaPublicKeyRequest) ProtoReflect() protoreflect.Message
func (*CaPublicKeyRequest) Reset ¶
func (x *CaPublicKeyRequest) Reset()
func (*CaPublicKeyRequest) String ¶
func (x *CaPublicKeyRequest) String() string
type CaPublicKeyResponse ¶
type CaPublicKeyResponse struct {
// contains filtered or unexported fields
}
func (*CaPublicKeyResponse) Descriptor
deprecated
func (*CaPublicKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use CaPublicKeyResponse.ProtoReflect.Descriptor instead.
func (*CaPublicKeyResponse) ProtoMessage ¶
func (*CaPublicKeyResponse) ProtoMessage()
func (*CaPublicKeyResponse) ProtoReflect ¶
func (x *CaPublicKeyResponse) ProtoReflect() protoreflect.Message
func (*CaPublicKeyResponse) Reset ¶
func (x *CaPublicKeyResponse) Reset()
func (*CaPublicKeyResponse) String ¶
func (x *CaPublicKeyResponse) String() string
type CanGenerateKeyRequest ¶
type CanGenerateKeyRequest struct { KeyParams KeyGen `protobuf:"varint,1,opt,name=key_params,json=keyParams,proto3,enum=gnsi.credentialz.v1.KeyGen" json:"key_params,omitempty"` // contains filtered or unexported fields }
func (*CanGenerateKeyRequest) Descriptor
deprecated
func (*CanGenerateKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use CanGenerateKeyRequest.ProtoReflect.Descriptor instead.
func (*CanGenerateKeyRequest) GetKeyParams ¶
func (x *CanGenerateKeyRequest) GetKeyParams() KeyGen
func (*CanGenerateKeyRequest) ProtoMessage ¶
func (*CanGenerateKeyRequest) ProtoMessage()
func (*CanGenerateKeyRequest) ProtoReflect ¶
func (x *CanGenerateKeyRequest) ProtoReflect() protoreflect.Message
func (*CanGenerateKeyRequest) Reset ¶
func (x *CanGenerateKeyRequest) Reset()
func (*CanGenerateKeyRequest) String ¶
func (x *CanGenerateKeyRequest) String() string
type CanGenerateKeyResponse ¶
type CanGenerateKeyResponse struct { CanGenerate bool `protobuf:"varint,1,opt,name=can_generate,json=canGenerate,proto3" json:"can_generate,omitempty"` // contains filtered or unexported fields }
func (*CanGenerateKeyResponse) Descriptor
deprecated
func (*CanGenerateKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use CanGenerateKeyResponse.ProtoReflect.Descriptor instead.
func (*CanGenerateKeyResponse) GetCanGenerate ¶
func (x *CanGenerateKeyResponse) GetCanGenerate() bool
func (*CanGenerateKeyResponse) ProtoMessage ¶
func (*CanGenerateKeyResponse) ProtoMessage()
func (*CanGenerateKeyResponse) ProtoReflect ¶
func (x *CanGenerateKeyResponse) ProtoReflect() protoreflect.Message
func (*CanGenerateKeyResponse) Reset ¶
func (x *CanGenerateKeyResponse) Reset()
func (*CanGenerateKeyResponse) String ¶
func (x *CanGenerateKeyResponse) String() string
type CredentialzClient ¶
type CredentialzClient interface { RotateAccountCredentials(ctx context.Context, opts ...grpc.CallOption) (Credentialz_RotateAccountCredentialsClient, error) RotateHostParameters(ctx context.Context, opts ...grpc.CallOption) (Credentialz_RotateHostParametersClient, error) CanGenerateKey(ctx context.Context, in *CanGenerateKeyRequest, opts ...grpc.CallOption) (*CanGenerateKeyResponse, error) GetPublicKeys(ctx context.Context, in *GetPublicKeysRequest, opts ...grpc.CallOption) (*GetPublicKeysResponse, error) }
CredentialzClient is the client API for Credentialz 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.
func NewCredentialzClient ¶
func NewCredentialzClient(cc grpc.ClientConnInterface) CredentialzClient
type CredentialzServer ¶
type CredentialzServer interface { RotateAccountCredentials(Credentialz_RotateAccountCredentialsServer) error RotateHostParameters(Credentialz_RotateHostParametersServer) error CanGenerateKey(context.Context, *CanGenerateKeyRequest) (*CanGenerateKeyResponse, error) GetPublicKeys(context.Context, *GetPublicKeysRequest) (*GetPublicKeysResponse, error) // contains filtered or unexported methods }
CredentialzServer is the server API for Credentialz service. All implementations must embed UnimplementedCredentialzServer for forward compatibility
type Credentialz_RotateAccountCredentialsClient ¶
type Credentialz_RotateAccountCredentialsClient interface { Send(*RotateAccountCredentialsRequest) error Recv() (*RotateAccountCredentialsResponse, error) grpc.ClientStream }
type Credentialz_RotateAccountCredentialsServer ¶
type Credentialz_RotateAccountCredentialsServer interface { Send(*RotateAccountCredentialsResponse) error Recv() (*RotateAccountCredentialsRequest, error) grpc.ServerStream }
type Credentialz_RotateHostParametersClient ¶ added in v1.2.2
type Credentialz_RotateHostParametersClient interface { Send(*RotateHostParametersRequest) error Recv() (*RotateHostParametersResponse, error) grpc.ClientStream }
type Credentialz_RotateHostParametersServer ¶ added in v1.2.2
type Credentialz_RotateHostParametersServer interface { Send(*RotateHostParametersResponse) error Recv() (*RotateHostParametersRequest, error) grpc.ServerStream }
type FinalizeRequest ¶
type FinalizeRequest struct {
// contains filtered or unexported fields
}
func (*FinalizeRequest) Descriptor
deprecated
func (*FinalizeRequest) Descriptor() ([]byte, []int)
Deprecated: Use FinalizeRequest.ProtoReflect.Descriptor instead.
func (*FinalizeRequest) ProtoMessage ¶
func (*FinalizeRequest) ProtoMessage()
func (*FinalizeRequest) ProtoReflect ¶
func (x *FinalizeRequest) ProtoReflect() protoreflect.Message
func (*FinalizeRequest) Reset ¶
func (x *FinalizeRequest) Reset()
func (*FinalizeRequest) String ¶
func (x *FinalizeRequest) String() string
type GenerateKeysRequest ¶
type GenerateKeysRequest struct { KeyParams []KeyGen `` /* 128-byte string literal not displayed */ Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` CreatedOn uint64 `protobuf:"varint,3,opt,name=created_on,json=createdOn,proto3" json:"created_on,omitempty"` // contains filtered or unexported fields }
func (*GenerateKeysRequest) Descriptor
deprecated
func (*GenerateKeysRequest) Descriptor() ([]byte, []int)
Deprecated: Use GenerateKeysRequest.ProtoReflect.Descriptor instead.
func (*GenerateKeysRequest) GetCreatedOn ¶ added in v1.2.3
func (x *GenerateKeysRequest) GetCreatedOn() uint64
func (*GenerateKeysRequest) GetKeyParams ¶
func (x *GenerateKeysRequest) GetKeyParams() []KeyGen
func (*GenerateKeysRequest) GetVersion ¶ added in v1.2.3
func (x *GenerateKeysRequest) GetVersion() string
func (*GenerateKeysRequest) ProtoMessage ¶
func (*GenerateKeysRequest) ProtoMessage()
func (*GenerateKeysRequest) ProtoReflect ¶
func (x *GenerateKeysRequest) ProtoReflect() protoreflect.Message
func (*GenerateKeysRequest) Reset ¶
func (x *GenerateKeysRequest) Reset()
func (*GenerateKeysRequest) String ¶
func (x *GenerateKeysRequest) String() string
type GenerateKeysResponse ¶
type GenerateKeysResponse struct { PublicKeys []*PublicKey `protobuf:"bytes,1,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty"` // contains filtered or unexported fields }
func (*GenerateKeysResponse) Descriptor
deprecated
func (*GenerateKeysResponse) Descriptor() ([]byte, []int)
Deprecated: Use GenerateKeysResponse.ProtoReflect.Descriptor instead.
func (*GenerateKeysResponse) GetPublicKeys ¶ added in v1.2.1
func (x *GenerateKeysResponse) GetPublicKeys() []*PublicKey
func (*GenerateKeysResponse) ProtoMessage ¶
func (*GenerateKeysResponse) ProtoMessage()
func (*GenerateKeysResponse) ProtoReflect ¶
func (x *GenerateKeysResponse) ProtoReflect() protoreflect.Message
func (*GenerateKeysResponse) Reset ¶
func (x *GenerateKeysResponse) Reset()
func (*GenerateKeysResponse) String ¶
func (x *GenerateKeysResponse) String() string
type GetPublicKeysRequest ¶ added in v1.2.1
type GetPublicKeysRequest struct {
// contains filtered or unexported fields
}
func (*GetPublicKeysRequest) Descriptor
deprecated
added in
v1.2.1
func (*GetPublicKeysRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPublicKeysRequest.ProtoReflect.Descriptor instead.
func (*GetPublicKeysRequest) ProtoMessage ¶ added in v1.2.1
func (*GetPublicKeysRequest) ProtoMessage()
func (*GetPublicKeysRequest) ProtoReflect ¶ added in v1.2.1
func (x *GetPublicKeysRequest) ProtoReflect() protoreflect.Message
func (*GetPublicKeysRequest) Reset ¶ added in v1.2.1
func (x *GetPublicKeysRequest) Reset()
func (*GetPublicKeysRequest) String ¶ added in v1.2.1
func (x *GetPublicKeysRequest) String() string
type GetPublicKeysResponse ¶ added in v1.2.1
type GetPublicKeysResponse struct { PublicKeys []*PublicKey `protobuf:"bytes,1,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty"` // contains filtered or unexported fields }
func (*GetPublicKeysResponse) Descriptor
deprecated
added in
v1.2.1
func (*GetPublicKeysResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPublicKeysResponse.ProtoReflect.Descriptor instead.
func (*GetPublicKeysResponse) GetPublicKeys ¶ added in v1.2.1
func (x *GetPublicKeysResponse) GetPublicKeys() []*PublicKey
func (*GetPublicKeysResponse) ProtoMessage ¶ added in v1.2.1
func (*GetPublicKeysResponse) ProtoMessage()
func (*GetPublicKeysResponse) ProtoReflect ¶ added in v1.2.1
func (x *GetPublicKeysResponse) ProtoReflect() protoreflect.Message
func (*GetPublicKeysResponse) Reset ¶ added in v1.2.1
func (x *GetPublicKeysResponse) Reset()
func (*GetPublicKeysResponse) String ¶ added in v1.2.1
func (x *GetPublicKeysResponse) String() string
type KeyGen ¶
type KeyGen int32
const ( KeyGen_KEY_GEN_SSH_KEY_UNSPECIFIED KeyGen = 0 KeyGen_KEY_GEN_SSH_KEY_TYPE_RSA_2048 KeyGen = 1 KeyGen_KEY_GEN_SSH_KEY_TYPE_ECDSA_P_256 KeyGen = 2 KeyGen_KEY_GEN_SSH_KEY_TYPE_ECDSA_P_521 KeyGen = 3 KeyGen_KEY_GEN_SSH_KEY_TYPE_EDDSA_ED25519 KeyGen = 4 KeyGen_KEY_GEN_SSH_KEY_TYPE_RSA_4096 KeyGen = 5 )
func (KeyGen) Descriptor ¶
func (KeyGen) Descriptor() protoreflect.EnumDescriptor
func (KeyGen) EnumDescriptor
deprecated
func (KeyGen) Number ¶
func (x KeyGen) Number() protoreflect.EnumNumber
func (KeyGen) Type ¶
func (KeyGen) Type() protoreflect.EnumType
type KeyType ¶
type KeyType int32
func (KeyType) Descriptor ¶
func (KeyType) Descriptor() protoreflect.EnumDescriptor
func (KeyType) EnumDescriptor
deprecated
func (KeyType) Number ¶
func (x KeyType) Number() protoreflect.EnumNumber
func (KeyType) Type ¶
func (KeyType) Type() protoreflect.EnumType
type Option ¶
type Option struct { // Types that are assignable to Key: // // *Option_Name // *Option_Id Key isOption_Key `protobuf_oneof:"key"` Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Option) Descriptor
deprecated
func (*Option) GetId ¶
func (x *Option) GetId() Option_StandardOption
func (*Option) ProtoMessage ¶
func (*Option) ProtoMessage()
func (*Option) ProtoReflect ¶
func (x *Option) ProtoReflect() protoreflect.Message
type Option_Id ¶
type Option_Id struct {
Id Option_StandardOption `protobuf:"varint,2,opt,name=id,proto3,enum=gnsi.credentialz.v1.Option_StandardOption,oneof"`
}
type Option_Name ¶
type Option_Name struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3,oneof"`
}
type Option_StandardOption ¶
type Option_StandardOption int32
const ( Option_STANDARD_OPTION_UNSPECIFIED Option_StandardOption = 0 Option_STANDARD_OPTION_AGENT_FORWARDING Option_StandardOption = 1 Option_STANDARD_OPTION_CERT_AUTHORITY Option_StandardOption = 2 Option_STANDARD_OPTION_COMMAND Option_StandardOption = 3 Option_STANDARD_OPTION_ENVIRONMENT Option_StandardOption = 4 Option_STANDARD_OPTION_EXPIRY_TIME Option_StandardOption = 5 Option_STANDARD_OPTION_FROM Option_StandardOption = 6 Option_STANDARD_OPTION_NO_AGENT_FORWARDING Option_StandardOption = 7 Option_STANDARD_OPTION_NO_PORT_FORWARDING Option_StandardOption = 8 Option_STANDARD_OPTION_NO_PTY Option_StandardOption = 9 Option_STANDARD_OPTION_NO_USER_RC Option_StandardOption = 10 Option_STANDARD_OPTION_NO_X11_FORWARDING Option_StandardOption = 11 Option_STANDARD_OPTION_PERMITLISTEN Option_StandardOption = 12 Option_STANDARD_OPTION_PERMITOPEN Option_StandardOption = 13 Option_STANDARD_OPTION_PORT_FORWARDING Option_StandardOption = 14 Option_STANDARD_OPTION_PRINCIPALS Option_StandardOption = 15 Option_STANDARD_OPTION_PTY Option_StandardOption = 16 Option_STANDARD_OPTION_NO_TOUCH_REQUIRED Option_StandardOption = 17 Option_STANDARD_OPTION_VERIFY_REQUIRED Option_StandardOption = 18 Option_STANDARD_OPTION_RESTRICT Option_StandardOption = 19 Option_STANDARD_OPTION_TUNNEL Option_StandardOption = 20 Option_STANDARD_OPTION_USER_RC Option_StandardOption = 21 Option_STANDARD_OPTION_X11_FORWARDING Option_StandardOption = 22 )
func (Option_StandardOption) Descriptor ¶
func (Option_StandardOption) Descriptor() protoreflect.EnumDescriptor
func (Option_StandardOption) Enum ¶
func (x Option_StandardOption) Enum() *Option_StandardOption
func (Option_StandardOption) EnumDescriptor
deprecated
func (Option_StandardOption) EnumDescriptor() ([]byte, []int)
Deprecated: Use Option_StandardOption.Descriptor instead.
func (Option_StandardOption) Number ¶
func (x Option_StandardOption) Number() protoreflect.EnumNumber
func (Option_StandardOption) String ¶
func (x Option_StandardOption) String() string
func (Option_StandardOption) Type ¶
func (Option_StandardOption) Type() protoreflect.EnumType
type PasswordRequest ¶
type PasswordRequest struct { Accounts []*PasswordRequest_Account `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"` // contains filtered or unexported fields }
func (*PasswordRequest) Descriptor
deprecated
func (*PasswordRequest) Descriptor() ([]byte, []int)
Deprecated: Use PasswordRequest.ProtoReflect.Descriptor instead.
func (*PasswordRequest) GetAccounts ¶
func (x *PasswordRequest) GetAccounts() []*PasswordRequest_Account
func (*PasswordRequest) ProtoMessage ¶
func (*PasswordRequest) ProtoMessage()
func (*PasswordRequest) ProtoReflect ¶
func (x *PasswordRequest) ProtoReflect() protoreflect.Message
func (*PasswordRequest) Reset ¶
func (x *PasswordRequest) Reset()
func (*PasswordRequest) String ¶
func (x *PasswordRequest) String() string
type PasswordRequest_Account ¶
type PasswordRequest_Account struct { Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` Password *PasswordRequest_Password `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` CreatedOn uint64 `protobuf:"varint,4,opt,name=created_on,json=createdOn,proto3" json:"created_on,omitempty"` // contains filtered or unexported fields }
func (*PasswordRequest_Account) Descriptor
deprecated
func (*PasswordRequest_Account) Descriptor() ([]byte, []int)
Deprecated: Use PasswordRequest_Account.ProtoReflect.Descriptor instead.
func (*PasswordRequest_Account) GetAccount ¶
func (x *PasswordRequest_Account) GetAccount() string
func (*PasswordRequest_Account) GetCreatedOn ¶
func (x *PasswordRequest_Account) GetCreatedOn() uint64
func (*PasswordRequest_Account) GetPassword ¶
func (x *PasswordRequest_Account) GetPassword() *PasswordRequest_Password
func (*PasswordRequest_Account) GetVersion ¶
func (x *PasswordRequest_Account) GetVersion() string
func (*PasswordRequest_Account) ProtoMessage ¶
func (*PasswordRequest_Account) ProtoMessage()
func (*PasswordRequest_Account) ProtoReflect ¶
func (x *PasswordRequest_Account) ProtoReflect() protoreflect.Message
func (*PasswordRequest_Account) Reset ¶
func (x *PasswordRequest_Account) Reset()
func (*PasswordRequest_Account) String ¶
func (x *PasswordRequest_Account) String() string
type PasswordRequest_CryptoHash ¶
type PasswordRequest_CryptoHash struct { HashType PasswordRequest_CryptoHash_HashType `` /* 147-byte string literal not displayed */ HashValue string `protobuf:"bytes,2,opt,name=hash_value,json=hashValue,proto3" json:"hash_value,omitempty"` // contains filtered or unexported fields }
func (*PasswordRequest_CryptoHash) Descriptor
deprecated
func (*PasswordRequest_CryptoHash) Descriptor() ([]byte, []int)
Deprecated: Use PasswordRequest_CryptoHash.ProtoReflect.Descriptor instead.
func (*PasswordRequest_CryptoHash) GetHashType ¶
func (x *PasswordRequest_CryptoHash) GetHashType() PasswordRequest_CryptoHash_HashType
func (*PasswordRequest_CryptoHash) GetHashValue ¶
func (x *PasswordRequest_CryptoHash) GetHashValue() string
func (*PasswordRequest_CryptoHash) ProtoMessage ¶
func (*PasswordRequest_CryptoHash) ProtoMessage()
func (*PasswordRequest_CryptoHash) ProtoReflect ¶
func (x *PasswordRequest_CryptoHash) ProtoReflect() protoreflect.Message
func (*PasswordRequest_CryptoHash) Reset ¶
func (x *PasswordRequest_CryptoHash) Reset()
func (*PasswordRequest_CryptoHash) String ¶
func (x *PasswordRequest_CryptoHash) String() string
type PasswordRequest_CryptoHash_HashType ¶
type PasswordRequest_CryptoHash_HashType int32
const ( PasswordRequest_CryptoHash_HASH_TYPE_UNSPECIFIED PasswordRequest_CryptoHash_HashType = 0 PasswordRequest_CryptoHash_HASH_TYPE_CRYPT_MD5 PasswordRequest_CryptoHash_HashType = 1 PasswordRequest_CryptoHash_HASH_TYPE_CRYPT_SHA_2_512 PasswordRequest_CryptoHash_HashType = 2 )
func (PasswordRequest_CryptoHash_HashType) Descriptor ¶
func (PasswordRequest_CryptoHash_HashType) Descriptor() protoreflect.EnumDescriptor
func (PasswordRequest_CryptoHash_HashType) Enum ¶
func (x PasswordRequest_CryptoHash_HashType) Enum() *PasswordRequest_CryptoHash_HashType
func (PasswordRequest_CryptoHash_HashType) EnumDescriptor
deprecated
func (PasswordRequest_CryptoHash_HashType) EnumDescriptor() ([]byte, []int)
Deprecated: Use PasswordRequest_CryptoHash_HashType.Descriptor instead.
func (PasswordRequest_CryptoHash_HashType) Number ¶
func (x PasswordRequest_CryptoHash_HashType) Number() protoreflect.EnumNumber
func (PasswordRequest_CryptoHash_HashType) String ¶
func (x PasswordRequest_CryptoHash_HashType) String() string
func (PasswordRequest_CryptoHash_HashType) Type ¶
func (PasswordRequest_CryptoHash_HashType) Type() protoreflect.EnumType
type PasswordRequest_Password ¶
type PasswordRequest_Password struct { // Types that are assignable to Value: // // *PasswordRequest_Password_Plaintext // *PasswordRequest_Password_CryptoHash Value isPasswordRequest_Password_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
func (*PasswordRequest_Password) Descriptor
deprecated
func (*PasswordRequest_Password) Descriptor() ([]byte, []int)
Deprecated: Use PasswordRequest_Password.ProtoReflect.Descriptor instead.
func (*PasswordRequest_Password) GetCryptoHash ¶
func (x *PasswordRequest_Password) GetCryptoHash() *PasswordRequest_CryptoHash
func (*PasswordRequest_Password) GetPlaintext ¶
func (x *PasswordRequest_Password) GetPlaintext() string
func (*PasswordRequest_Password) GetValue ¶
func (m *PasswordRequest_Password) GetValue() isPasswordRequest_Password_Value
func (*PasswordRequest_Password) ProtoMessage ¶
func (*PasswordRequest_Password) ProtoMessage()
func (*PasswordRequest_Password) ProtoReflect ¶
func (x *PasswordRequest_Password) ProtoReflect() protoreflect.Message
func (*PasswordRequest_Password) Reset ¶
func (x *PasswordRequest_Password) Reset()
func (*PasswordRequest_Password) String ¶
func (x *PasswordRequest_Password) String() string
type PasswordRequest_Password_CryptoHash ¶
type PasswordRequest_Password_CryptoHash struct {
CryptoHash *PasswordRequest_CryptoHash `protobuf:"bytes,2,opt,name=crypto_hash,json=cryptoHash,proto3,oneof"`
}
type PasswordRequest_Password_Plaintext ¶
type PasswordRequest_Password_Plaintext struct {
Plaintext string `protobuf:"bytes,1,opt,name=plaintext,proto3,oneof"`
}
type PasswordResponse ¶
type PasswordResponse struct {
// contains filtered or unexported fields
}
func (*PasswordResponse) Descriptor
deprecated
func (*PasswordResponse) Descriptor() ([]byte, []int)
Deprecated: Use PasswordResponse.ProtoReflect.Descriptor instead.
func (*PasswordResponse) ProtoMessage ¶
func (*PasswordResponse) ProtoMessage()
func (*PasswordResponse) ProtoReflect ¶
func (x *PasswordResponse) ProtoReflect() protoreflect.Message
func (*PasswordResponse) Reset ¶
func (x *PasswordResponse) Reset()
func (*PasswordResponse) String ¶
func (x *PasswordResponse) String() string
type PublicKey ¶
type PublicKey struct { PublicKey []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` KeyType KeyType `protobuf:"varint,2,opt,name=key_type,json=keyType,proto3,enum=gnsi.credentialz.v1.KeyType" json:"key_type,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
func (*PublicKey) Descriptor
deprecated
func (*PublicKey) GetDescription ¶
func (*PublicKey) GetKeyType ¶
func (*PublicKey) GetPublicKey ¶
func (*PublicKey) ProtoMessage ¶
func (*PublicKey) ProtoMessage()
func (*PublicKey) ProtoReflect ¶
func (x *PublicKey) ProtoReflect() protoreflect.Message
type RotateAccountCredentialsRequest ¶
type RotateAccountCredentialsRequest struct { // Types that are assignable to Request: // // *RotateAccountCredentialsRequest_Credential // *RotateAccountCredentialsRequest_User // *RotateAccountCredentialsRequest_Password // *RotateAccountCredentialsRequest_Finalize Request isRotateAccountCredentialsRequest_Request `protobuf_oneof:"request"` // contains filtered or unexported fields }
func (*RotateAccountCredentialsRequest) Descriptor
deprecated
func (*RotateAccountCredentialsRequest) Descriptor() ([]byte, []int)
Deprecated: Use RotateAccountCredentialsRequest.ProtoReflect.Descriptor instead.
func (*RotateAccountCredentialsRequest) GetCredential ¶
func (x *RotateAccountCredentialsRequest) GetCredential() *AuthorizedKeysRequest
func (*RotateAccountCredentialsRequest) GetFinalize ¶
func (x *RotateAccountCredentialsRequest) GetFinalize() *FinalizeRequest
func (*RotateAccountCredentialsRequest) GetPassword ¶
func (x *RotateAccountCredentialsRequest) GetPassword() *PasswordRequest
func (*RotateAccountCredentialsRequest) GetRequest ¶
func (m *RotateAccountCredentialsRequest) GetRequest() isRotateAccountCredentialsRequest_Request
func (*RotateAccountCredentialsRequest) GetUser ¶
func (x *RotateAccountCredentialsRequest) GetUser() *AuthorizedUsersRequest
func (*RotateAccountCredentialsRequest) ProtoMessage ¶
func (*RotateAccountCredentialsRequest) ProtoMessage()
func (*RotateAccountCredentialsRequest) ProtoReflect ¶
func (x *RotateAccountCredentialsRequest) ProtoReflect() protoreflect.Message
func (*RotateAccountCredentialsRequest) Reset ¶
func (x *RotateAccountCredentialsRequest) Reset()
func (*RotateAccountCredentialsRequest) String ¶
func (x *RotateAccountCredentialsRequest) String() string
type RotateAccountCredentialsRequest_Credential ¶
type RotateAccountCredentialsRequest_Credential struct {
Credential *AuthorizedKeysRequest `protobuf:"bytes,1,opt,name=credential,proto3,oneof"`
}
type RotateAccountCredentialsRequest_Finalize ¶
type RotateAccountCredentialsRequest_Finalize struct {
Finalize *FinalizeRequest `protobuf:"bytes,4,opt,name=finalize,proto3,oneof"`
}
type RotateAccountCredentialsRequest_Password ¶
type RotateAccountCredentialsRequest_Password struct {
Password *PasswordRequest `protobuf:"bytes,3,opt,name=password,proto3,oneof"`
}
type RotateAccountCredentialsRequest_User ¶
type RotateAccountCredentialsRequest_User struct {
User *AuthorizedUsersRequest `protobuf:"bytes,2,opt,name=user,proto3,oneof"`
}
type RotateAccountCredentialsResponse ¶
type RotateAccountCredentialsResponse struct { // Types that are assignable to Response: // // *RotateAccountCredentialsResponse_Credential // *RotateAccountCredentialsResponse_User // *RotateAccountCredentialsResponse_Password Response isRotateAccountCredentialsResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*RotateAccountCredentialsResponse) Descriptor
deprecated
func (*RotateAccountCredentialsResponse) Descriptor() ([]byte, []int)
Deprecated: Use RotateAccountCredentialsResponse.ProtoReflect.Descriptor instead.
func (*RotateAccountCredentialsResponse) GetCredential ¶
func (x *RotateAccountCredentialsResponse) GetCredential() *AuthorizedKeysResponse
func (*RotateAccountCredentialsResponse) GetPassword ¶
func (x *RotateAccountCredentialsResponse) GetPassword() *PasswordResponse
func (*RotateAccountCredentialsResponse) GetResponse ¶
func (m *RotateAccountCredentialsResponse) GetResponse() isRotateAccountCredentialsResponse_Response
func (*RotateAccountCredentialsResponse) GetUser ¶
func (x *RotateAccountCredentialsResponse) GetUser() *AuthorizedUsersResponse
func (*RotateAccountCredentialsResponse) ProtoMessage ¶
func (*RotateAccountCredentialsResponse) ProtoMessage()
func (*RotateAccountCredentialsResponse) ProtoReflect ¶
func (x *RotateAccountCredentialsResponse) ProtoReflect() protoreflect.Message
func (*RotateAccountCredentialsResponse) Reset ¶
func (x *RotateAccountCredentialsResponse) Reset()
func (*RotateAccountCredentialsResponse) String ¶
func (x *RotateAccountCredentialsResponse) String() string
type RotateAccountCredentialsResponse_Credential ¶
type RotateAccountCredentialsResponse_Credential struct {
Credential *AuthorizedKeysResponse `protobuf:"bytes,1,opt,name=credential,proto3,oneof"`
}
type RotateAccountCredentialsResponse_Password ¶
type RotateAccountCredentialsResponse_Password struct {
Password *PasswordResponse `protobuf:"bytes,3,opt,name=password,proto3,oneof"`
}
type RotateAccountCredentialsResponse_User ¶
type RotateAccountCredentialsResponse_User struct {
User *AuthorizedUsersResponse `protobuf:"bytes,2,opt,name=user,proto3,oneof"`
}
type RotateHostParametersRequest ¶ added in v1.2.2
type RotateHostParametersRequest struct { // Types that are assignable to Request: // // *RotateHostParametersRequest_SshCaPublicKey // *RotateHostParametersRequest_ServerKeys // *RotateHostParametersRequest_Finalize // *RotateHostParametersRequest_GenerateKeys // *RotateHostParametersRequest_AuthenticationAllowed // *RotateHostParametersRequest_AuthorizedPrincipalCheck Request isRotateHostParametersRequest_Request `protobuf_oneof:"request"` // contains filtered or unexported fields }
func (*RotateHostParametersRequest) Descriptor
deprecated
added in
v1.2.2
func (*RotateHostParametersRequest) Descriptor() ([]byte, []int)
Deprecated: Use RotateHostParametersRequest.ProtoReflect.Descriptor instead.
func (*RotateHostParametersRequest) GetAuthenticationAllowed ¶ added in v1.2.2
func (x *RotateHostParametersRequest) GetAuthenticationAllowed() *AllowedAuthenticationRequest
func (*RotateHostParametersRequest) GetAuthorizedPrincipalCheck ¶ added in v1.2.2
func (x *RotateHostParametersRequest) GetAuthorizedPrincipalCheck() *AuthorizedPrincipalCheckRequest
func (*RotateHostParametersRequest) GetFinalize ¶ added in v1.2.2
func (x *RotateHostParametersRequest) GetFinalize() *FinalizeRequest
func (*RotateHostParametersRequest) GetGenerateKeys ¶ added in v1.2.2
func (x *RotateHostParametersRequest) GetGenerateKeys() *GenerateKeysRequest
func (*RotateHostParametersRequest) GetRequest ¶ added in v1.2.2
func (m *RotateHostParametersRequest) GetRequest() isRotateHostParametersRequest_Request
func (*RotateHostParametersRequest) GetServerKeys ¶ added in v1.2.2
func (x *RotateHostParametersRequest) GetServerKeys() *ServerKeysRequest
func (*RotateHostParametersRequest) GetSshCaPublicKey ¶ added in v1.2.2
func (x *RotateHostParametersRequest) GetSshCaPublicKey() *CaPublicKeyRequest
func (*RotateHostParametersRequest) ProtoMessage ¶ added in v1.2.2
func (*RotateHostParametersRequest) ProtoMessage()
func (*RotateHostParametersRequest) ProtoReflect ¶ added in v1.2.2
func (x *RotateHostParametersRequest) ProtoReflect() protoreflect.Message
func (*RotateHostParametersRequest) Reset ¶ added in v1.2.2
func (x *RotateHostParametersRequest) Reset()
func (*RotateHostParametersRequest) String ¶ added in v1.2.2
func (x *RotateHostParametersRequest) String() string
type RotateHostParametersRequest_AuthenticationAllowed ¶ added in v1.2.2
type RotateHostParametersRequest_AuthenticationAllowed struct {
AuthenticationAllowed *AllowedAuthenticationRequest `protobuf:"bytes,5,opt,name=authentication_allowed,json=authenticationAllowed,proto3,oneof"`
}
type RotateHostParametersRequest_AuthorizedPrincipalCheck ¶ added in v1.2.2
type RotateHostParametersRequest_AuthorizedPrincipalCheck struct {
AuthorizedPrincipalCheck *AuthorizedPrincipalCheckRequest `protobuf:"bytes,6,opt,name=authorized_principal_check,json=authorizedPrincipalCheck,proto3,oneof"`
}
type RotateHostParametersRequest_Finalize ¶ added in v1.2.2
type RotateHostParametersRequest_Finalize struct {
Finalize *FinalizeRequest `protobuf:"bytes,3,opt,name=finalize,proto3,oneof"`
}
type RotateHostParametersRequest_GenerateKeys ¶ added in v1.2.2
type RotateHostParametersRequest_GenerateKeys struct {
GenerateKeys *GenerateKeysRequest `protobuf:"bytes,4,opt,name=generate_keys,json=generateKeys,proto3,oneof"`
}
type RotateHostParametersRequest_ServerKeys ¶ added in v1.2.2
type RotateHostParametersRequest_ServerKeys struct {
ServerKeys *ServerKeysRequest `protobuf:"bytes,2,opt,name=server_keys,json=serverKeys,proto3,oneof"`
}
type RotateHostParametersRequest_SshCaPublicKey ¶ added in v1.2.2
type RotateHostParametersRequest_SshCaPublicKey struct {
SshCaPublicKey *CaPublicKeyRequest `protobuf:"bytes,1,opt,name=ssh_ca_public_key,json=sshCaPublicKey,proto3,oneof"`
}
type RotateHostParametersResponse ¶ added in v1.2.2
type RotateHostParametersResponse struct { // Types that are assignable to Response: // // *RotateHostParametersResponse_SshCaPublicKey // *RotateHostParametersResponse_ServerKeys // *RotateHostParametersResponse_GenerateKeys // *RotateHostParametersResponse_AuthenticationAllowed // *RotateHostParametersResponse_AuthorizedPrincipalCheck Response isRotateHostParametersResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*RotateHostParametersResponse) Descriptor
deprecated
added in
v1.2.2
func (*RotateHostParametersResponse) Descriptor() ([]byte, []int)
Deprecated: Use RotateHostParametersResponse.ProtoReflect.Descriptor instead.
func (*RotateHostParametersResponse) GetAuthenticationAllowed ¶ added in v1.2.2
func (x *RotateHostParametersResponse) GetAuthenticationAllowed() *AllowedAuthenticationResponse
func (*RotateHostParametersResponse) GetAuthorizedPrincipalCheck ¶ added in v1.2.2
func (x *RotateHostParametersResponse) GetAuthorizedPrincipalCheck() *AuthorizedPrincipalCheckResponse
func (*RotateHostParametersResponse) GetGenerateKeys ¶ added in v1.2.2
func (x *RotateHostParametersResponse) GetGenerateKeys() *GenerateKeysResponse
func (*RotateHostParametersResponse) GetResponse ¶ added in v1.2.2
func (m *RotateHostParametersResponse) GetResponse() isRotateHostParametersResponse_Response
func (*RotateHostParametersResponse) GetServerKeys ¶ added in v1.2.2
func (x *RotateHostParametersResponse) GetServerKeys() *ServerKeysResponse
func (*RotateHostParametersResponse) GetSshCaPublicKey ¶ added in v1.2.2
func (x *RotateHostParametersResponse) GetSshCaPublicKey() *CaPublicKeyResponse
func (*RotateHostParametersResponse) ProtoMessage ¶ added in v1.2.2
func (*RotateHostParametersResponse) ProtoMessage()
func (*RotateHostParametersResponse) ProtoReflect ¶ added in v1.2.2
func (x *RotateHostParametersResponse) ProtoReflect() protoreflect.Message
func (*RotateHostParametersResponse) Reset ¶ added in v1.2.2
func (x *RotateHostParametersResponse) Reset()
func (*RotateHostParametersResponse) String ¶ added in v1.2.2
func (x *RotateHostParametersResponse) String() string
type RotateHostParametersResponse_AuthenticationAllowed ¶ added in v1.2.2
type RotateHostParametersResponse_AuthenticationAllowed struct {
AuthenticationAllowed *AllowedAuthenticationResponse `protobuf:"bytes,4,opt,name=authentication_allowed,json=authenticationAllowed,proto3,oneof"`
}
type RotateHostParametersResponse_AuthorizedPrincipalCheck ¶ added in v1.2.2
type RotateHostParametersResponse_AuthorizedPrincipalCheck struct {
AuthorizedPrincipalCheck *AuthorizedPrincipalCheckResponse `protobuf:"bytes,5,opt,name=authorized_principal_check,json=authorizedPrincipalCheck,proto3,oneof"`
}
type RotateHostParametersResponse_GenerateKeys ¶ added in v1.2.2
type RotateHostParametersResponse_GenerateKeys struct {
GenerateKeys *GenerateKeysResponse `protobuf:"bytes,3,opt,name=generate_keys,json=generateKeys,proto3,oneof"`
}
type RotateHostParametersResponse_ServerKeys ¶ added in v1.2.2
type RotateHostParametersResponse_ServerKeys struct {
ServerKeys *ServerKeysResponse `protobuf:"bytes,2,opt,name=server_keys,json=serverKeys,proto3,oneof"`
}
type RotateHostParametersResponse_SshCaPublicKey ¶ added in v1.2.2
type RotateHostParametersResponse_SshCaPublicKey struct {
SshCaPublicKey *CaPublicKeyResponse `protobuf:"bytes,1,opt,name=ssh_ca_public_key,json=sshCaPublicKey,proto3,oneof"`
}
type ServerKeysRequest ¶
type ServerKeysRequest struct { AuthArtifacts []*ServerKeysRequest_AuthenticationArtifacts `protobuf:"bytes,1,rep,name=auth_artifacts,json=authArtifacts,proto3" json:"auth_artifacts,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` CreatedOn uint64 `protobuf:"varint,3,opt,name=created_on,json=createdOn,proto3" json:"created_on,omitempty"` // contains filtered or unexported fields }
func (*ServerKeysRequest) Descriptor
deprecated
func (*ServerKeysRequest) Descriptor() ([]byte, []int)
Deprecated: Use ServerKeysRequest.ProtoReflect.Descriptor instead.
func (*ServerKeysRequest) GetAuthArtifacts ¶
func (x *ServerKeysRequest) GetAuthArtifacts() []*ServerKeysRequest_AuthenticationArtifacts
func (*ServerKeysRequest) GetCreatedOn ¶
func (x *ServerKeysRequest) GetCreatedOn() uint64
func (*ServerKeysRequest) GetVersion ¶
func (x *ServerKeysRequest) GetVersion() string
func (*ServerKeysRequest) ProtoMessage ¶
func (*ServerKeysRequest) ProtoMessage()
func (*ServerKeysRequest) ProtoReflect ¶
func (x *ServerKeysRequest) ProtoReflect() protoreflect.Message
func (*ServerKeysRequest) Reset ¶
func (x *ServerKeysRequest) Reset()
func (*ServerKeysRequest) String ¶
func (x *ServerKeysRequest) String() string
type ServerKeysRequest_AuthenticationArtifacts ¶
type ServerKeysRequest_AuthenticationArtifacts struct { PrivateKey []byte `protobuf:"bytes,1,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"` Certificate []byte `protobuf:"bytes,2,opt,name=certificate,proto3" json:"certificate,omitempty"` // contains filtered or unexported fields }
func (*ServerKeysRequest_AuthenticationArtifacts) Descriptor
deprecated
func (*ServerKeysRequest_AuthenticationArtifacts) Descriptor() ([]byte, []int)
Deprecated: Use ServerKeysRequest_AuthenticationArtifacts.ProtoReflect.Descriptor instead.
func (*ServerKeysRequest_AuthenticationArtifacts) GetCertificate ¶
func (x *ServerKeysRequest_AuthenticationArtifacts) GetCertificate() []byte
func (*ServerKeysRequest_AuthenticationArtifacts) GetPrivateKey ¶
func (x *ServerKeysRequest_AuthenticationArtifacts) GetPrivateKey() []byte
func (*ServerKeysRequest_AuthenticationArtifacts) ProtoMessage ¶
func (*ServerKeysRequest_AuthenticationArtifacts) ProtoMessage()
func (*ServerKeysRequest_AuthenticationArtifacts) ProtoReflect ¶
func (x *ServerKeysRequest_AuthenticationArtifacts) ProtoReflect() protoreflect.Message
func (*ServerKeysRequest_AuthenticationArtifacts) Reset ¶
func (x *ServerKeysRequest_AuthenticationArtifacts) Reset()
func (*ServerKeysRequest_AuthenticationArtifacts) String ¶
func (x *ServerKeysRequest_AuthenticationArtifacts) String() string
type ServerKeysResponse ¶
type ServerKeysResponse struct {
// contains filtered or unexported fields
}
func (*ServerKeysResponse) Descriptor
deprecated
func (*ServerKeysResponse) Descriptor() ([]byte, []int)
Deprecated: Use ServerKeysResponse.ProtoReflect.Descriptor instead.
func (*ServerKeysResponse) ProtoMessage ¶
func (*ServerKeysResponse) ProtoMessage()
func (*ServerKeysResponse) ProtoReflect ¶
func (x *ServerKeysResponse) ProtoReflect() protoreflect.Message
func (*ServerKeysResponse) Reset ¶
func (x *ServerKeysResponse) Reset()
func (*ServerKeysResponse) String ¶
func (x *ServerKeysResponse) String() string
type UnimplementedCredentialzServer ¶
type UnimplementedCredentialzServer struct { }
UnimplementedCredentialzServer must be embedded to have forward compatible implementations.
func (UnimplementedCredentialzServer) CanGenerateKey ¶
func (UnimplementedCredentialzServer) CanGenerateKey(context.Context, *CanGenerateKeyRequest) (*CanGenerateKeyResponse, error)
func (UnimplementedCredentialzServer) GetPublicKeys ¶ added in v1.2.1
func (UnimplementedCredentialzServer) GetPublicKeys(context.Context, *GetPublicKeysRequest) (*GetPublicKeysResponse, error)
func (UnimplementedCredentialzServer) RotateAccountCredentials ¶
func (UnimplementedCredentialzServer) RotateAccountCredentials(Credentialz_RotateAccountCredentialsServer) error
func (UnimplementedCredentialzServer) RotateHostParameters ¶ added in v1.2.2
func (UnimplementedCredentialzServer) RotateHostParameters(Credentialz_RotateHostParametersServer) error
type UnsafeCredentialzServer ¶
type UnsafeCredentialzServer interface {
// contains filtered or unexported methods
}
UnsafeCredentialzServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CredentialzServer will result in compilation errors.
type UserPolicy ¶
type UserPolicy struct { Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` AuthorizedPrincipals *UserPolicy_SshAuthorizedPrincipals `protobuf:"bytes,2,opt,name=authorized_principals,json=authorizedPrincipals,proto3" json:"authorized_principals,omitempty"` Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` CreatedOn uint64 `protobuf:"varint,5,opt,name=created_on,json=createdOn,proto3" json:"created_on,omitempty"` // contains filtered or unexported fields }
func (*UserPolicy) Descriptor
deprecated
func (*UserPolicy) Descriptor() ([]byte, []int)
Deprecated: Use UserPolicy.ProtoReflect.Descriptor instead.
func (*UserPolicy) GetAccount ¶
func (x *UserPolicy) GetAccount() string
func (*UserPolicy) GetAuthorizedPrincipals ¶ added in v1.2.2
func (x *UserPolicy) GetAuthorizedPrincipals() *UserPolicy_SshAuthorizedPrincipals
func (*UserPolicy) GetCreatedOn ¶
func (x *UserPolicy) GetCreatedOn() uint64
func (*UserPolicy) GetVersion ¶
func (x *UserPolicy) GetVersion() string
func (*UserPolicy) ProtoMessage ¶
func (*UserPolicy) ProtoMessage()
func (*UserPolicy) ProtoReflect ¶
func (x *UserPolicy) ProtoReflect() protoreflect.Message
func (*UserPolicy) Reset ¶
func (x *UserPolicy) Reset()
func (*UserPolicy) String ¶
func (x *UserPolicy) String() string
type UserPolicy_SshAuthorizedPrincipal ¶ added in v1.2.2
type UserPolicy_SshAuthorizedPrincipal struct { AuthorizedUser string `protobuf:"bytes,1,opt,name=authorized_user,json=authorizedUser,proto3" json:"authorized_user,omitempty"` Options []*Option `protobuf:"bytes,2,rep,name=options,proto3" json:"options,omitempty"` // contains filtered or unexported fields }
func (*UserPolicy_SshAuthorizedPrincipal) Descriptor
deprecated
added in
v1.2.2
func (*UserPolicy_SshAuthorizedPrincipal) Descriptor() ([]byte, []int)
Deprecated: Use UserPolicy_SshAuthorizedPrincipal.ProtoReflect.Descriptor instead.
func (*UserPolicy_SshAuthorizedPrincipal) GetAuthorizedUser ¶ added in v1.2.2
func (x *UserPolicy_SshAuthorizedPrincipal) GetAuthorizedUser() string
func (*UserPolicy_SshAuthorizedPrincipal) GetOptions ¶ added in v1.2.2
func (x *UserPolicy_SshAuthorizedPrincipal) GetOptions() []*Option
func (*UserPolicy_SshAuthorizedPrincipal) ProtoMessage ¶ added in v1.2.2
func (*UserPolicy_SshAuthorizedPrincipal) ProtoMessage()
func (*UserPolicy_SshAuthorizedPrincipal) ProtoReflect ¶ added in v1.2.2
func (x *UserPolicy_SshAuthorizedPrincipal) ProtoReflect() protoreflect.Message
func (*UserPolicy_SshAuthorizedPrincipal) Reset ¶ added in v1.2.2
func (x *UserPolicy_SshAuthorizedPrincipal) Reset()
func (*UserPolicy_SshAuthorizedPrincipal) String ¶ added in v1.2.2
func (x *UserPolicy_SshAuthorizedPrincipal) String() string
type UserPolicy_SshAuthorizedPrincipals ¶ added in v1.2.2
type UserPolicy_SshAuthorizedPrincipals struct { AuthorizedPrincipals []*UserPolicy_SshAuthorizedPrincipal `protobuf:"bytes,2,rep,name=authorized_principals,json=authorizedPrincipals,proto3" json:"authorized_principals,omitempty"` // contains filtered or unexported fields }
func (*UserPolicy_SshAuthorizedPrincipals) Descriptor
deprecated
added in
v1.2.2
func (*UserPolicy_SshAuthorizedPrincipals) Descriptor() ([]byte, []int)
Deprecated: Use UserPolicy_SshAuthorizedPrincipals.ProtoReflect.Descriptor instead.
func (*UserPolicy_SshAuthorizedPrincipals) GetAuthorizedPrincipals ¶ added in v1.2.2
func (x *UserPolicy_SshAuthorizedPrincipals) GetAuthorizedPrincipals() []*UserPolicy_SshAuthorizedPrincipal
func (*UserPolicy_SshAuthorizedPrincipals) ProtoMessage ¶ added in v1.2.2
func (*UserPolicy_SshAuthorizedPrincipals) ProtoMessage()
func (*UserPolicy_SshAuthorizedPrincipals) ProtoReflect ¶ added in v1.2.2
func (x *UserPolicy_SshAuthorizedPrincipals) ProtoReflect() protoreflect.Message
func (*UserPolicy_SshAuthorizedPrincipals) Reset ¶ added in v1.2.2
func (x *UserPolicy_SshAuthorizedPrincipals) Reset()
func (*UserPolicy_SshAuthorizedPrincipals) String ¶ added in v1.2.2
func (x *UserPolicy_SshAuthorizedPrincipals) String() string