Transfer.Client.
describe_security_policy
(**kwargs)¶Describes the security policy that is attached to your file transfer protocol-enabled server. The response contains a description of the security policy's properties. For more information about security policies, see Working with security policies.
See also: AWS API Documentation
Request Syntax
response = client.describe_security_policy(
SecurityPolicyName='string'
)
[REQUIRED]
Specifies the name of the security policy that is attached to the server.
{
'SecurityPolicy': {
'Fips': True|False,
'SecurityPolicyName': 'string',
'SshCiphers': [
'string',
],
'SshKexs': [
'string',
],
'SshMacs': [
'string',
],
'TlsCiphers': [
'string',
]
}
}
Response Structure
An array containing the properties of the security policy.
Specifies whether this policy enables Federal Information Processing Standards (FIPS).
Specifies the name of the security policy that is attached to the server.
Specifies the enabled Secure Shell (SSH) cipher encryption algorithms in the security policy that is attached to the server.
Specifies the enabled SSH key exchange (KEX) encryption algorithms in the security policy that is attached to the server.
Specifies the enabled SSH message authentication code (MAC) encryption algorithms in the security policy that is attached to the server.
Specifies the enabled Transport Layer Security (TLS) cipher encryption algorithms in the security policy that is attached to the server.
Exceptions
Transfer.Client.exceptions.ServiceUnavailableException
Transfer.Client.exceptions.InternalServiceError
Transfer.Client.exceptions.InvalidRequestException
Transfer.Client.exceptions.ResourceNotFoundException