StorageGateway / Client / update_smb_security_strategy

update_smb_security_strategy#

StorageGateway.Client.update_smb_security_strategy(**kwargs)#

Updates the SMB security strategy on a file gateway. This action is only supported in file gateways.

Note

This API is called Security level in the User Guide.

A higher security level can affect performance of the gateway.

See also: AWS API Documentation

Request Syntax

response = client.update_smb_security_strategy(
    GatewayARN='string',
    SMBSecurityStrategy='ClientSpecified'|'MandatorySigning'|'MandatoryEncryption'
)
Parameters:
  • GatewayARN (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.

  • SMBSecurityStrategy (string) –

    [REQUIRED]

    Specifies the type of security strategy.

    ClientSpecified: if you use this option, requests are established based on what is negotiated by the client. This option is recommended when you want to maximize compatibility across different clients in your environment. Supported only in S3 File Gateway.

    MandatorySigning: if you use this option, file gateway only allows connections from SMBv2 or SMBv3 clients that have signing enabled. This option works with SMB clients on Microsoft Windows Vista, Windows Server 2008 or newer.

    MandatoryEncryption: if you use this option, file gateway only allows connections from SMBv3 clients that have encryption enabled. This option is highly recommended for environments that handle sensitive data. This option works with SMB clients on Microsoft Windows 8, Windows Server 2012 or newer.

Return type:

dict

Returns:

Response Syntax

{
    'GatewayARN': 'string'
}

Response Structure

  • (dict) –

    • GatewayARN (string) –

      The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.

Exceptions