Skip to content
This repository has been archived by the owner on Jan 17, 2024. It is now read-only.

brave/go-sync-adm-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Brave Sync Administration Tools

This repository contains a set of Brave Sync Administration tools for maintaining sync data in DynamoDB (currently).

Installation

To install the tools, check out the repo, and run the following:

   $ make all

List of Tools

main: This tool sets an hour TTL on DynamoDB data that needs to be deleted.

Usage

In order to use main, the user needs to have permissions to the DynamoDB in the given Sync account. Typically this is ran by a member of the DevOps team. Using the devops-admin-rw-role, a DevOps team member can set the TTL for a given client ID by running the following:

   $ export AWS_ENDPOINT=https://dynamodb.us-west-2.amazonaws.com
   $ aws-vault exec sync-prod-devops-rw -- ./main delete 8XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX2
     Deleting user data for clientID 8XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX2
     Successfully set ttl for 1741 records

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published