---
title: "Serviços de Certificado Digital em Nuvem - PKI Express"
description: "Como configurar o PKI Express para assinar com certificados digitais em nuvem (especificações do ITI), nos serviços pré-configurados ou não."
canonical: "https://docs.lacunasoftware.com/articles/pki-express/config/trust-services"
locale: "pt-BR"
product: "PKI Express"
last_updated: "2026-10-12"
---

# Serviços de Certificado Digital em Nuvem - PKI Express

O PKI Express tem suporte a assinaturas com certificados digitais em nuvem, providos por prestadores de serviços em nuvem que seguem as especificações do ITI.

## Serviços pré-configurados

Por padrão, alguns serviços já são pré-configurados:

* BirdID (SOLUTI)
* NeoID (SERPRO)
* RemoteID (CERTISIGN)
* SafeID (SAFEWEB)
* VIDaaS (VALID)

Para utilizar esses serviços pré-configurados basta configurar o `clientId` e `clientSecret`:

```sh
pkie config --set trustServices:<service>:clientId=<value>
pkie config --set trustServices:<service>:clientSecret=<value>
```

Exemplo:

```sh
pkie config --set trustServices:BirdID:clientId="00000000000000"
pkie config --set trustServices:BirdID:clientSecret="xxx00xxXXXXxx0x"
```

## Serviços não pré-configurados

Para utilizar serviços não pré-configurados é necessário configurar também o `endpoint` do serviço:

```sh
pkie config --set trustServices:<service>:endpoint=<value>
pkie config --set trustServices:<service>:clientId=<value>
pkie config --set trustServices:<service>:clientSecret=<value>
```

Exemplo:

```sh
pkie config --set trustServices:birdIdHml:endpoint="https://apihom.birdid.com.br/"
pkie config --set trustServices:birdIdHml:clientId="00000000000000"
pkie config --set trustServices:birdIdHml:clientSecret="xxx00xxXXXXxx0x"
```

Serviços não pré-configurados podem também ter outros parâmetros configurados opcionalmente:

* Provedor do serviço:
    ```sh
    pkie config --set trustServices:<service>:provider=<value>
    ```

* URL da logo do serviço:
    ```sh
    pkie config --set trustServices:<service>:badgeUrl=<URL>
    ```

* Estratégia de tratamento em caso de erro, baseado nos serviços pré-configurados:
    ```sh
    pkie config --set trustServices:<service>:protocolVariant=<service>
    ```

## Timeout

Para configurar o timeout da busca por certificados nos provedores, utilize o comando abaixo:

```sh
pkie config --set trustServicesDiscoveryTimeout=<value>
```

**Demonstrações e exemplos**

- Demonstração: [Sign a PDF with your cloud certificate](https://try.lacunasoftware.com/pt/pki-suite/sign-with-cloud-certificate)
- Sign a PDF with a cloud certificate (OAuth flow) using PKI Express: [Java](https://github.com/LacunaSoftware/PkiSuiteSamples/blob/master/java/springmvc/src/main/java/com/lacunasoftware/pkisuite/controller/PadesCloudOauthExpressController.java) · [Node.js](https://github.com/LacunaSoftware/PkiSuiteSamples/blob/master/nodejs/expressmvc/routes/pades-cloud-oauth-express.js) · [PHP](https://github.com/LacunaSoftware/PkiSuiteSamples/blob/master/php/plain/public/pades-cloud-oauth-express/index.php) · [Python](https://github.com/LacunaSoftware/PkiSuiteSamples/blob/master/python/flask/sample/views/pades_cloud_oauth_express.py) · [Ruby](https://github.com/LacunaSoftware/PkiSuiteSamples/blob/master/ruby/rails/app/controllers/pades_cloud_oauth_express_controller.rb)
- Sign a PDF with a cloud certificate (password flow) using PKI Express: [Java](https://github.com/LacunaSoftware/PkiSuiteSamples/blob/master/java/springmvc/src/main/java/com/lacunasoftware/pkisuite/controller/PadesCloudPwdExpressController.java) · [Node.js](https://github.com/LacunaSoftware/PkiSuiteSamples/blob/master/nodejs/expressmvc/routes/pades-cloud-pwd-express.js) · [PHP](https://github.com/LacunaSoftware/PkiSuiteSamples/blob/master/php/plain/public/pades-cloud-pwd-express/index.php) · [Python](https://github.com/LacunaSoftware/PkiSuiteSamples/blob/master/python/flask/sample/views/pades_cloud_pwd_express.py) · [Ruby](https://github.com/LacunaSoftware/PkiSuiteSamples/blob/master/ruby/rails/app/controllers/pades_cloud_pwd_express_controller.rb)
- Sign a file with CAdES and a cloud certificate (OAuth flow) using PKI Express: [Java](https://github.com/LacunaSoftware/PkiSuiteSamples/blob/master/java/springmvc/src/main/java/com/lacunasoftware/pkisuite/controller/CadesCloudOauthExpressController.java)
- Sign an XML document with a cloud certificate (OAuth flow) using PKI Express: [Node.js](https://github.com/LacunaSoftware/PkiSuiteSamples/blob/master/nodejs/expressmvc/routes/xml-cloud-oauth-express.js)
- Authenticate with a cloud certificate (OAuth flow) using PKI Express: [Java](https://github.com/LacunaSoftware/PkiSuiteSamples/blob/master/java/springmvc/src/main/java/com/lacunasoftware/pkisuite/controller/AuthenticationCloudExpressController.java)
