Skip to main content

Setup aws vault

Background

  • This guide helps you securely store and use aws credentials using aws-vault.

  • For more detail regarding setting up multiple MHCLG aws accounts or profiles, please visit Programmatic Access and Federated Access.

Prerequisites

  • Have the aws cli installed.

Installation for different OS

  • macOS (with Homebrew)

      brew install aws-vault
    
  • Linux (Debian/Ubuntu)

      sudo curl -L https://github.com/99designs/aws-vault/releases/latest/download/aws-vault-linux-amd64 
      -o /usr/local/bin/aws-vault
    
      sudo chmod +x /usr/local/bin/aws-vault
    
  • Windows (with Chocolatey)

      choco install aws-vault
    

aws profile configuration

  • For how to configure your aws profile and authenticate to MHCLG platform, please use this guide.