CodeGuruSecurity / Client / get_account_configuration

get_account_configuration#

CodeGuruSecurity.Client.get_account_configuration()#

Use to get account level configuration.

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 to use for encryption. By default, CodeGuru Security uses an AWS-managed key for encryption. To specify your own key, call UpdateAccountConfiguration.

      • kmsKeyArn (string) –

        The KMS key ARN to use for encryption. This must be provided as a header when uploading your code resource.

Exceptions