# encryption_key_invalid

<!-- Generated by scripts/generate.ts. Do not edit. -->

<!-- Source: core commit `f70874a3916ad5b24a8619246cbae6cc8bc24d27`. -->

<div data-pagefind-ignore>

Since API version `1.0`.

| Field     | Value             |
| --------- | ----------------- |
| Type      | `invalid_request` |
| Status    | 400               |
| Surfaces  | `api`, `portal`   |
| Retryable | No                |

</div>

## Developer message

The key reference is not a full AWS KMS key ARN (aliases are refused), or a test encrypt and decrypt with it failed. Check the ARN and that the key policy grants our service role kms:Encrypt and kms:Decrypt

## IT administrator message

We couldn't use this key. Check the key ARN and that its key policy follows the setup instructions

## Translated IT administrator messages

The hosted portal shows these machine translations, which native speakers have not reviewed yet. Placeholders and identity provider console labels stay in English.

- `de`: <span lang="de" data-pagefind-ignore>Wir konnten diesen Schlüssel nicht verwenden. Prüfen Sie den Schlüssel-ARN und ob die Schlüsselrichtlinie der Einrichtungsanleitung entspricht</span>
- `es`: <span lang="es" data-pagefind-ignore>No pudimos usar esta clave. Revise el ARN de la clave y que su política de claves siga las instrucciones de configuración</span>
- `fr`: <span lang="fr" data-pagefind-ignore>Nous n'avons pas pu utiliser cette clé. Vérifiez l'ARN de la clé et que sa stratégie de clé suit les instructions de configuration</span>
- `ja`: <span lang="ja" data-pagefind-ignore>このキーを使用できませんでした。キー ARN と、キーポリシーがセットアップ手順に従っているかを確認してください</span>
- `pt-BR`: <span lang="pt-BR" data-pagefind-ignore>Não conseguimos usar esta chave. Verifique o ARN da chave e se a política de chave segue as instruções de configuração</span>

Security invariants: 22.
