/awssecretsmanagerui

Web UI for AWS Secrets manager - support binary upload

Primary LanguageGoMIT LicenseMIT

AWS Secrets Manager UI

Built with WeBuild build

A Web application to manage AWS Secrets manager

AWS Secrets Manager UI

Features

  • Listing secrets grid with many columns
  • Support region switching
  • Secrets attributes sorting
  • All grid column searching
  • Editing text-based secrets directly
  • Download and upload binary secrets

Quick starts

Run:

docker run -ti \
 -p 30301:30301 \
 -e AWS_ACCESS_KEY_ID=123456789012 \
 -e AWS_SECRET_ACCESS_KEY=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY \
 ledongthuc/awssecretsmanagerui:unstable

Make sure you configure AWS credential. Then you can access http://localhost:30301

Quickstart

Build from source

Requirement:

  • Go 1.16
  • Makefile
  • npm 6.14
make build;

Binary will available in folder "./build/". Run it and you can access through http://localhost:30301

AWS Credential

AWS Secrets Manager UI tool uses AWS configuration credential to authenticate requests.

Credential file

More detail: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-files.html

Credential environment variables (recommend)

More detail: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-envvars.html

Minimum Permission

Authentication

Default, AWS Secrets manager UI disable authentication.

AWS Secrets manager supports basic auth through two variable environments, in order enable it, try with 2 variable environments:

  • AUTH_ENABLED=true
  • AUTH_ACCOUNTS="{\"admin\":\"5994471abb01112afcc18159f6cc74b4f511b99806da59b3caf5a9c173cacfc5\"}"

AUTH_ACCOUNTS define accounts' username and password. Password follows SHA-256, https://emn178.github.io/online-tools/sha256.html

Screenshoots

Table

Detail

Text data

Binary data

TODO

  • Local storage sort, filter, search
  • Support MoaiJS
  • Support filter by tags
  • All POST API
  • Login page
  • Create new secret
  • Delete secret

Contributor