Giter Site home page Giter Site logo

secret's Introduction

SpaceONE Secret Service

Secret Service supports multiple backend.

  • AWSSecretManager
  • Vault
  • Consul
  • etcd
  • MongoDB

Examples

AWSSecretsManagerConnector

BACKEND: AWSSecretManagerConnector
CONNECTORS:
    AWSSecretManagerConnector:
        aws_access_key_id: xxxxxxxxx
	aws_secret_access_key: yyyyyyyy
	region_name: aws-region-name

ConsulConnector


BACKEND: ConsulConnector
CONNECTORS:
    ConsulConnector:
        host: CONSUL_HOST_FQDN
	port: CONSUL_PORT

if you want to know the CONSUL_HOST_FQDN, comand kubectl get svc. In this case, CONSUL_HOST_FQDN is spaceone-consule-server.

$ kubectl get svc
NAME                     TYPE        CLUSTER-IP       EXTERNAL-IP   PORT(S)                                                                   AGE
...
spaceone-consul-dns      ClusterIP   10.100.170.168   <none>        53/TCP,53/UDP                                                             85m
spaceone-consul-server   ClusterIP   None             <none>        8500/TCP,8301/TCP,8301/UDP,8302/TCP,8302/UDP,8300/TCP,8600/TCP,8600/UDP   85m
...

MongoDBConnector


BACKEND: MongoDBConnector
CONNECTORS:
    MongoDBConnector:
        host: MONGO_HOST
        port': 27017,
        username': MONGO_USER,
        password': MONGO_PASSWD

EtcdConnector


BACKEND: EtcdConnector
CONNECTORS:
    EtcdConnector:
        host: ETCD_HOST
        port': 2379

secret's People

Contributors

admin-cloudforet avatar admin-spaceone avatar geunjelee avatar immin5 avatar jihyungsong avatar joon0615 avatar ku524 avatar sang-w0o avatar stat-kwon avatar umi0410 avatar whdalsrnt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

secret's Issues

Implement to store encrypted data in MongoDB

Discussed in cloudforet-io/cloudforet#69

Originally posted by jihyungSong December 7, 2022
Propose Date : 2022-11-17
Proposer : @jihyungSong


Currently, Cloudforet is to store sensitive data such as the user's Access Key in a more safety way through the Secret micro service.
(https://github.com/cloudforet-io/secret)

About the Secret service, it is supported using various backend systems.

I suggest to add MongoDB as a backend for Secret service.
(https://www.mongodb.com/)

Mongodb is the most influential database for storing documents based, and it is also used as a database for Cloudforet, so it is easy to integrate.

However, since it is not encrypted when stored in MongoDB, additional implementation of the encryption handler in the Secret service will be inevitable.

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.