> For the complete documentation index, see [llms.txt](https://docs.couchdrop.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.couchdrop.io/automations/actions/encryption-and-decryption.md).

# Encryption and Decryption

Learn about the Encryption Action category in Automations.

One standout feature of Couchdrop is that you can encrypt and decrypt files automatically as part of a workflow, without requiring separate software for these tasks.&#x20;

## Encryption keys in Couchdrop

In order to use Encryption as part of a workflow, you need to create and store encryption keys in Couchdrop.&#x20;

From the admin panel, you can add existing encryption keys to the account or generate keys (for AES only). Key storage and configuration is found in the Admin panel under **Administration> Keys.**

{% hint style="info" %}
&#x20;For more information on encryption key configuration, see [Encryption Keys.](/administration/encryption-keys.md)&#x20;
{% endhint %}

### Supported key types

<table><thead><tr><th width="215.2421875">Encryption Key</th><th>Requirements</th></tr></thead><tbody><tr><td>AES</td><td>Name for the key. Optional Passphrase. This can be generated in Couchdrop.</td></tr><tr><td>PEM</td><td>Name for the key. Choose <strong>Public</strong> or <strong>Private</strong> key and add the formatted key. This can NOT be generated in Couchdrop. </td></tr><tr><td>PGP</td><td>Name for the key. Choose Public or Private key and add the PGP ASCII Armored key. This can NOT be generated in Couchdrop.</td></tr></tbody></table>

## Available Encryption Actions

Once you have the keys added to Couchdrop, you can use Encryption Actions. All Encryption Actions require you to specify the key to use as part of the Action configuration.&#x20;

<table><thead><tr><th width="216">Action Category</th><th>Description</th></tr></thead><tbody><tr><td>PGP Encrypt</td><td>Encrypt and sign a file with a PGP key</td></tr><tr><td>PGP Decrypt</td><td>Decrypt and verify a file encrypted and signed with PGP</td></tr><tr><td>AES Encrypt</td><td>Encrypt a file with AES</td></tr><tr><td>AES Decrypt</td><td>Decrypt a file encrypted with AES</td></tr></tbody></table>

## Frequently asked questions

<details>

<summary>I don't have encryption keys. How do I generate them? </summary>

Encryption keys can be generated in several ways. See our guides on [Using SFTP/SSH keys](/walkthroughs/using-sftp-ssh-keys.md) for walkthroughs on creating keys in Windows, MacOS, or Linux.&#x20;

</details>

<details>

<summary>How do I add a passphrase to my keys? </summary>

Passphrases can be added for extra security during key generation. See [How to encrypt/decrypt](/walkthroughs/using-sftp-ssh-keys/how-to-encrypt-decrypt-a-private-key.md) a private key for details.&#x20;

</details>

<details>

<summary>Can I have multiple different keys in my account? </summary>

Yes, you can add as many encryption keys as you need. You will specify the one you want to whem modifying a workflow.&#x20;

</details>

<details>

<summary>Can I encyrpt/decrypt files outside of workflows? </summary>

No. Encryption and decryption actions are specific to workflows.&#x20;

</details>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.couchdrop.io/automations/actions/encryption-and-decryption.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
