Skip to content

troydieter/vault-credential-rotator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vault-credential-rotator

A tool used in conjunction with HashiCorp Vault (https://www.vaultproject.io/) to rotate access keys & secret access keys for the AWS secrets engine within Vault.

System Requirements

Roadmap

  • Additional secrets engine configurations (Microsoft Azure, Google Cloud Platform)
  • AppRole Support
  • Lease TTL warning & awareness Lease duration value presented in release/1.1.1

Configuration

Edit the appsettings.json file and add values for the following:

  • BaseClientTokenUri
  • BaseCredentialsUri
  • ValidateServerCertificates
  • Roles

For example, it may look like this:

{
  "AWS": {
    "BaseClientTokenUri": "https://vault.contoso.com/v1/auth/ldap/login/",
    "BaseCredentialsUri": "https://vault.contoso.com/v1/aws/creds/",
    "ValidateServerCertificates": "true",
    "Roles": [
      "grp-aws-r-contoso-powerusers"
    ]
  }
}

Once these parameters have been set in the appsettings.json file, run it with:

dotnet VaultCredentialRotator.dll

About

Vault Credential Rotator for AWS Secrets Engine

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%