> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gr4vy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Token import file upload

To successfully import your tokens, please encrypt the import file using the PGP public key and send it to the provided GCP signed URL.

## Encryption

Merchants **must** encrypt the token file before sending it. A suggested approach to encryption is using [GnuPG](https://www.gnupg.org) interface that can be used to encrypt files using PGP public keys.

Please refer to the GnuPG documentation to learn how to [add the public key to your keyring](https://www.gnupg.org/gph/en/manual/x56.html) and how
to [encrypt your token file](https://www.gnupg.org/gph/en/manual/x110.html) with the [key](https://gr4vy.com/.well-known/security-pgp-key.asc).

## File transfer

When you request a token import, a Google Cloud Storage signed URL is provided. This allows you to upload files directly via HTTPS.

Sending to this Google Cloud Storage signed URL can be accomplished in a variety of ways described in [this Google Cloud storage guide](https://cloud.google.com/storage/docs/uploading-objects).

For example, using cURL this request would look something like this.

```sh theme={"system"}
curl -X PUT -H 'Content-Type: text/plain' --upload-file tokens.csv.gpg google_signed_cloud_storage_url
```

<Info>
  In this example, `google_signed_cloud_storage_url` is the URL provided, and `tokens.csv.gpg` is the name of the encrypted token file.
</Info>
