Security Tools Sample

A command line console application that provides access to the security facilities of the Aculab Cloud Web Services API.

Usage

python security_tools [--wsserver cloudWebServerAddress] [--protocol tls10|tls11|tls12|tls13] <cloudId> <username> <apiAccessKey> <command>

Arguments

cloudWebServerAddress

The address of the cloud web server. By default the wrappers call web services on https://ws-<cloudId>.aculabcloud.net. In certain circumstances you may need to use a different address which you can set here.

protocol

The protocol to support. By default, the wrappers will use the latest available protocols. For diagnostic purposes you can specify your own protocol to support.

cloudId

Cloud region id (e.g. 1-2-0)

username

Cloud account username

apiAccessKey

Cloud API Access key

command

One of the following...

protocol_check

Examples

  1. Find out what the latest available protocol is

    python security_tools.py 1-2-0 bob@acompany.com 6b4UmwoOPxjeI2M76aebfQ protocol_check
    
  2. Check if the TLSv1.0 protocol is available

    python security_tools.py --protocol tls10 1-2-0 bob@acompany.com 6b4UmwoOPxjeI2M76aebfQ protocol_check