Git Product home page Git Product logo

awssecretsmanagerui's Introduction

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:latest

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 environment variables (recommend)

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

Credential file

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

Minimum Permission

Authentication

AWS Cognito authentication

Configurations to enable for AWS Cognito

  • AUTH_ENABLED=true
  • AUTH_TYPE=aws_cognito_auth2
  • AWS_COGNITO_APP_NAME=administrator: Get from AWS Cognito App configuration
  • AWS_COGNITO_REGION=eu-north-1: Get from AWS Cognito App configuration
  • AWS_COGNITO_CLIENT_ID={client_id}: Get from AWS Cognito App configuration
  • AWS_COGNITO_CLIENT_SECRET={secrets}: Get from AWS Cognito App configuration
  • AWS_COGNITO_REDIRECT_URL=http://localhost:30301/cognito/auth: Redirect URL you want AWS cognito call back
  • [email protected]: Limit accepted users to login. Empty = all
  • AWS_COGNITO_LOGIN_URL=https://administrator.auth.eu-north-1.amazoncognito.com/login?...: Get from AWS Cognito App configuration

AWS Cognito App configurations

aws_cognito_1

aws_cognito_2

Basic authenticationBLED

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

Filter secret by names

Default, AWS Secrets manager UI get all secrets.

AWS Secrets manager support filter secrets by names through variable environment, in order to use it, you can try with variable environment:

  • FILTER_NAMES=production,development

FILTER_NAMES defines which secrets you want to provide with AWS Secrets manager, each secret name is separated by comma. In the above example, you want to show only secrets with name production and development.

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

awssecretsmanagerui's People

Contributors

duysmile avatar ledongthuc avatar lqt93 avatar monodyle avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.