---
title: "POST /#X-Amz-Target=IoTAutobahnControlPlane.GetEncryptionConfiguration"
method: POST
path: "/#X-Amz-Target=IoTAutobahnControlPlane.GetEncryptionConfiguration"
---

# POST /#X-Amz-Target=IoTAutobahnControlPlane.GetEncryptionConfiguration

`POST /#X-Amz-Target=IoTAutobahnControlPlane.GetEncryptionConfiguration`

Retrieves the encryption configuration for resources and data in Amazon Web Services IoT FleetWise.

## Headers

- `X-Amz-Target` 'IoTAutobahnControlPlane.GetEncryptionConfiguration', required

## Request body

- GetEncryptionConfigurationRequest

## Response `200`

Success

- GetEncryptionConfigurationResponse
  - `kmsKeyId` string — The ID of the KMS key that is used for encryption.
  - `encryptionStatus` 'PENDING' | 'SUCCESS' | 'FAILURE', required — The encryption status.
  - `encryptionType` 'KMS_BASED_ENCRYPTION' | 'FLEETWISE_DEFAULT_ENCRYPTION', required — The type of encryption. Set to <code>KMS_BASED_ENCRYPTION</code> to use a KMS key that you own and manage. Set to <code>FLEETWISE_DEFAULT_ENCRYPTION</code> to use an Amazon Web Services managed key that is owned by the Amazon Web Services IoT FleetWise service account.
  - `errorMessage` string — The error message that describes why encryption settings couldn't be configured, if applicable.
  - `creationTime` string, date-time — The time when encryption was configured in seconds since epoch (January 1, 1970 at midnight UTC time).
  - `lastModificationTime` string, date-time — The time when encryption was last updated in seconds since epoch (January 1, 1970 at midnight UTC time).

## Other responses

- `480` — ResourceNotFoundException
- `481` — InternalServerException
- `482` — ThrottlingException
- `483` — ValidationException
- `484` — AccessDeniedException

---

[API](https://skmtc.net/aws/apis/iotfleetwise.md) · [All operations](https://skmtc.net/aws/apis/iotfleetwise/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/iotfleetwise/versions/0f1f9edeb409/schema)
