// Returns information about the SSH public keys associated with the specified IAM
// user. If none exists, the operation returns an empty list. The SSH public keys
// returned by this operation are used only for authenticating the IAM user to an
// AWS CodeCommit repository. For more information about using SSH keys to
// authenticate to an AWS CodeCommit repository, see Set up AWS CodeCommit for SSH
// Connections
// (https://docs.aws.amazon.com/codecommit/latest/userguide/setting-up-credentials-ssh.html)
// in the AWS CodeCommit User Guide. Although each user is limited to a small
// number of keys, you can still paginate the results using the MaxItems and Marker
// parameters.
Returns information about the SSH public keys associated with the specified IAM
user. If none exists, the operation returns an empty list. The SSH public keys
returned by this operation are used only for authenticating the IAM user to an
AWS CodeCommit repository. For more information about using SSH keys to
authenticate to an AWS CodeCommit repository, see Set up AWS CodeCommit for SSH
Connections

in the AWS CodeCommit User Guide. Although each user is limited to a small
number of keys, you can still paginate the results using the MaxItems and Marker
parameters.
// Returns information about the SSH public keys associated with the specified IAM // user . If none exists the operation returns an empty list . The SSH public keys // returned by this operation are used only for authenticating the IAM user to an // AWS CodeCommit repository . For more information about using SSH keys to // authenticate to an AWS CodeCommit repository see Set up AWS CodeCommit for SSH // Connections // ( https : // docs . aws . amazon . com / codecommit / latest / userguide / setting - up - credentials - ssh . html ) // in the AWS CodeCommit User Guide . Although each user is limited to a small // number of keys you can still paginate the results using the MaxItems and Marker // parameters .
func (c *Client) ListSSHPublicKeys(ctx context.Context, params *ListSSHPublicKeysInput, optFns ...func(*Options)) (*ListSSHPublicKeysOutput, error) {
	if params == nil {
		params = &ListSSHPublicKeysInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "ListSSHPublicKeys", params, optFns, addOperationListSSHPublicKeysMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*ListSSHPublicKeysOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) ListSSHPublicKeys ( ctx context . Context , params * ListSSHPublicKeysInput , optFns ... func ( * Options ) ) ( * ListSSHPublicKeysOutput , error ) { if params == nil { params = & ListSSHPublicKeysInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationListSSHPublicKeysMiddlewares ) if err != nil { return nil , err } out := result . ( * ListSSHPublicKeysOutput ) out . ResultMetadata = metadata return out , nil }
Returns information about the SSH public keys associated with the specified IAM
user.
Returns information about the SSH public keys associated with the specified IAM user .