def get_one(self, api_key_id_or_key, requester_user, show_secrets=None):
        """
        List api keys.

        Handle:
            GET /apikeys/1
        """
        api_key_db = None
        try:
            api_key_db = ApiKey.get_by_key_or_id(api_key_id_or_key)
        except ApiKeyNotFoundError:
            msg = "ApiKey matching %s for reference and id not found." % (
                api_key_id_or_key
            )
            LOG.exception(msg)
            abort(http_client.NOT_FOUND, msg)

        permission_type = PermissionType.API_KEY_VIEW
        rbac_utils = get_rbac_backend().get_utils_class()
        rbac_utils.assert_user_has_resource_db_permission(
            user_db=requester_user,
            resource_db=api_key_db,
            permission_type=permission_type,
        )

        try:
            mask_secrets = self._get_mask_secrets(
                show_secrets=show_secrets, requester_user=requester_user
            )
            return ApiKeyAPI.from_model(api_key_db, mask_secrets=mask_secrets)
        except (ValidationError, ValueError) as e:
            LOG.exception("Failed to serialize API key.")
            abort(http_client.INTERNAL_SERVER_ERROR, six.text_type(e))

        List api keys.

        Handle:
            GET /apikeys/1
        
st2api/st2api/controllers/v1/auth.py