Skip to content

Launch Pad

Launch Pad provides the setup and configuration steps and setup scripts for the purpose of redirecting AWS or Azure command-line commands to a Privacera Data Server proxy for AWS or Azure data resources.  This allows PrivaceraCloud to control and limit access based on Resource Policies.  

AWS command-line interface (CLI)g and Azure CLI components are available directly from their respective cloud platform provider.  See Installing, updating, and uninstalling AWS CLI and Azure Command-Line Interface (CLI) documentation.

The Launch Pad is not exposed initially, but is activated following the creation of a Data Server Data Source and only after an AWS or an Azure Data Server data source has been created. As there can be at most a single data server data source that is either AWS or an Azure Data service. Launch Pad displays either a  "Setup AWS Cli" or a "Setup Azure Cli" sub-menu dialog.  Each of these dialogs provides setup scripts and tokens for setting up an AWS CLI and an Azure CLI.

#

The steps to redirect AWS CLI or Azure CLI are similar.

  1. On the left navigation, navigate to Launch Pad > Setup AWS Cli.

  2. Click Download Token to download and save a token to .privacera folder in your Home directory For example, $HOME/.privacera/privacera_token.

    The token is unique to your PrivaceraCloud account. PrivaceraCloud generates the token, if you are downloading it for the first time. The token is added to the token list, available under Launch Pad > Privacera Token.

  3. Click Download Script to download and save the AWS setup script to your Home folder. For example, $HOME/privacera_aws.sh.  

  4. Run the following command to set the script to be executable.  The script will run the necessary commands to install and activate the redirection.

    chmod a+x ~/privacera_aws.sh
    
  5. Run the following command to check all the configuration and dependencies status:

    . ~/privacera_aws.sh 
    

    The following response should be displayed:

    ✓ DataServer is active: [https://ds.privaceracloud.com]
    ✓ Portal is active: [https://privaceracloud.com]
    ✓ Token is active
    ✓ Setting Privacera Cloud Access Manager configurations
    ✓ Privacera Cloud Access Manager configurations are active
    
  6. Run a command to test the installation:

    1. Run the following command:

      . ~/privacera_aws.sh
      
    2. Use the following AWS command:

      aws s3 <s3-command>
      

      The following is an example of the command:

      aws s3 ls 
      

      The following response should be displayed:

      PRE privacera/
      PRE privacera_s3/
      
  1. On the left navigation, navigate to Launch Pad > Setup Azure Cli.

  2. Click Download Token to download and save a token to .privacera folder in your Home directory For example, $HOME/.privacera/privacera_token.

    The token is unique to your PrivaceraCloud account. PrivaceraCloud will generate the token, if you are downloading it for the first time. The token is added to the token list, available under Launch Pad > Privacera Token.

  3. Click Download Script to download and save the Azure setup script to your Home folder. For example, $HOME/privacera_azure.sh.  

  4. Run the following command to set the script to be executable.  The script will run the necessary commands to install and activate the redirection.

    chmod a+x ~/privacera_azure.sh
    
  5. Run the following command to check all the configuration and dependencies status:

    . ~/privacera_azure.sh 
    

    The following response should be displayed:

    ✓ DataServer is active: [https://ds.privaceracloud.com]
    ✓ Portal is active: [https://privaceracloud.com]
    ✓ Token is active
    ✓ Setting Privacera Cloud Access Manager configurations
    ✓ Privacera Cloud Access Manager configurations are active
    
  6. Run a command to test the installation:

    az storage blob list --container-name privacera --output table
    

    The following response should be displayed:

    Name                           Blob Type    Blob Tier    Length    Content Type              Last Modified              Snapshot
    -----------------------------  -----------  -----------  --------  ------------------------  -------------------------  ----------
    privacera                      BlockBlob    Hot                                              2021-01-19T14:03:02+00:00
    privacera/json                 BlockBlob    Hot                                              2021-01-19T14:03:02+00:00
    privacera/json/adls            BlockBlob    Hot                                              2021-05-27T12:31:03+00:00
    test_data.json.gz              BlockBlob    Hot          622       application/octet-stream  2021-05-21T08:48:06+00:00
    

Last update: September 22, 2021