Module Smaws_Client_IAM.GetSSHPublicKey

Retrieves the specified SSH public key, including metadata about the key.

The SSH public key retrieved by this operation is used only for authenticating the associated IAM user to an CodeCommit repository. For more information about using SSH keys to authenticate to an CodeCommit repository, see Set up CodeCommit for SSH connections in the CodeCommit User Guide.

val error_to_string : [ Smaws_Lib.Protocols.AwsQuery.error | `NoSuchEntityException of Types.no_such_entity_exception | `UnrecognizedPublicKeyEncodingException of Types.unrecognized_public_key_encoding_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.get_ssh_public_key_request -> (Types.get_ssh_public_key_response, [> Smaws_Lib.Protocols.AwsQuery.error | `NoSuchEntityException of Types.no_such_entity_exception | `UnrecognizedPublicKeyEncodingException of Types.unrecognized_public_key_encoding_exception ]) Stdlib.result