

# ProviderEncryptionConfiguration

How a single credential provider's cached tokens are encrypted at rest. Set exactly one member. A provider either uses its own customer-managed KMS key or inherits whatever the parent pool uses; it cannot independently choose service-managed encryption.

## Contents
<a name="API_ProviderEncryptionConfiguration_Contents"></a>

**Important**  
This data type is a UNION, so only one of the following members can be specified when used or returned.

 ** customerManaged **   <a name="credentialbrokercontrol-Type-ProviderEncryptionConfiguration-customerManaged"></a>
Encrypt this provider's cached tokens with a customer managed key of its own, instead of the key the parent pool uses. Supply it again with a different key to rotate.  
Type: [CustomerManagedEncryption](API_CustomerManagedEncryption.md) object  
Required: No

 ** inheritFromPool **   <a name="credentialbrokercontrol-Type-ProviderEncryptionConfiguration-inheritFromPool"></a>
Inherit the parent pool's encryption configuration.  
Type: Structure  
Required: No

## See Also
<a name="API_ProviderEncryptionConfiguration_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/credentialbroker-control-2026-09-30/ProviderEncryptionConfiguration) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/credentialbroker-control-2026-09-30/ProviderEncryptionConfiguration) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/credentialbroker-control-2026-09-30/ProviderEncryptionConfiguration) 