Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cosmian/mse-app-examples
Example apps for MSE
https://github.com/cosmian/mse-app-examples
cosmian microservice-encryption mse
Last synced: about 1 month ago
JSON representation
Example apps for MSE
- Host: GitHub
- URL: https://github.com/cosmian/mse-app-examples
- Owner: Cosmian
- Created: 2023-01-04T15:06:41.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-12T19:30:13.000Z (about 1 year ago)
- Last Synced: 2023-12-12T20:37:08.308Z (about 1 year ago)
- Topics: cosmian, microservice-encryption, mse
- Language: Python
- Homepage:
- Size: 6.83 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cosmian Enclave applications examples
This repository contains several app examples runnable in a Cosmian Enclave (formerly MSE) architecture.
Each example contains:
- A file `mse.toml`, which is the configuration of the MSE app.
- A folder `mse_src` is the code to run inside the MSE node.
- A folder `test` enables you to unit test your application locally or remotely.Read the full [documentation](https://docs.cosmian.com/microservice_encryption/getting_started/) for more details about MSE and `mse-cli`.
Clone the repository as follows:
```console
# apt install git-lfs
$ git clone https://github.com/Cosmian/mse-app-examples
```These examples have been generated using:
```console
$ mse cloud scaffold $NAME
```You can test locally an app doing:
```console
$ cd example_name
$ mse cloud localtest
```You can quickly deploy this app doing:
```console
$ cd example_name
$ mse cloud deploy
```And test it:
```console
$ mse cloud test
```## Examples list
| Name | Usage scenario |
| :-------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------: |
| [helloworld](helloworld/README.md) | [Zero Trust](https://docs.cosmian.com/microservice_encryption/scenarios/#zero-trust-collaborative-confidential-computation-ccc) |
| [fastapi-helloworld](fastapi_helloworld/README.md) | [Zero Trust](https://docs.cosmian.com/microservice_encryption/scenarios/#zero-trust-collaborative-confidential-computation-ccc) |
| [merge join](merge_join/README.md) | [Zero Trust](https://docs.cosmian.com/microservice_encryption/scenarios/#zero-trust-collaborative-confidential-computation-ccc) |
| [path](path/README.md) | [Zero Trust](https://docs.cosmian.com/microservice_encryption/scenarios/#zero-trust-collaborative-confidential-computation-ccc) |
| [yaos millionaires](yaos_millionaires/README.md) | [Zero Trust](https://docs.cosmian.com/microservice_encryption/scenarios/#zero-trust-collaborative-confidential-computation-ccc) |
| [yaos millionaires trust owner](yaos_millionaires_trust_owner/README.md) | [App Owner trusted](https://docs.cosmian.com/microservice_encryption/scenarios/#app-owner-trusted-fully-encrypted-saas) |
| [data_anonymization_s3](data_anonymization_s3/README.md) | [Zero Trust](https://docs.cosmian.com/microservice_encryption/scenarios/#zero-trust-collaborative-confidential-computation-ccc) |
| [digit recognition (tensorflow)](digit_recognition/README.md) | [Zero Trust](https://docs.cosmian.com/microservice_encryption/scenarios/#zero-trust-collaborative-confidential-computation-ccc) |
| [sentiment analysis (pytorch & transformers)](sentiment_analysis/README.md) | [Zero Trust](https://docs.cosmian.com/microservice_encryption/scenarios/#zero-trust-collaborative-confidential-computation-ccc) |## Dockers list
This repository also provides some allowed mse dockers. See [the packages](https://github.com/orgs/Cosmian/packages?repo_name=mse-app-examples) to get the up-to-date references. The dockerfile are written in these following examples:
| Name | Dockerfile |
| :---------------: | :-------------------------------------------------------: |
| mse-anonymization | [data_anonymization_s3](data_anonymization_s3/Dockerfile) |
| mse-ds | [merge_join](merge_join/Dockerfile) |
| mse-fastapi | [fastapi_helloworld](fastapi_helloworld/Dockerfile) |
| mse-flask | [helloworld](helloworld/Dockerfile) |
| mse-nlp | [sentiment_analysis](sentiment_analysis/Dockerfile) |
| mse-tensorflow | [digit_recognition](digit_recognition/Dockerfile) |## Annexes
Here a way to tar an example to be run inside an [mse-docker](https://github.com/Cosmian/mse-docker-base):
```console
$ tar -cvf $PWD/helloworld.tar --directory=helloworld/mse_src app.py requirements.txt
```