CodeGuruSecurity / Client / get_account_configuration

get_account_configuration#

CodeGuruSecurity.Client.get_account_configuration()#

Use to get the encryption configuration for an account.

See also: AWS API Documentation

Request Syntax

response = client.get_account_configuration()
Return type:

dict

Returns:

Response Syntax

{
    'encryptionConfig': {
        'kmsKeyArn': 'string'
    }
}

Response Structure

  • (dict) –

    • encryptionConfig (dict) –

      An EncryptionConfig object that contains the KMS key ARN that is used for encryption. By default, CodeGuru Security uses an AWS-managed key for encryption. To specify your own key, call UpdateAccountConfiguration. If you do not specify a customer-managed key, returns empty.

      • kmsKeyArn (string) –

        The KMS key ARN that is used for encryption. If an AWS-managed key is used for encryption, returns empty.

Exceptions