sessao-fspf.yml 757 Bytes
Newer Older
Clenimar Souza's avatar
Clenimar Souza committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
name: sessao-exemplo-fspf-$IDUNICO
version: 0.3
security:
  attestation:
    tolerate: [debug-mode, hyperthreading, outdated-tcb]
    ignore_advisories: "*"
services:
  - name: alo-mundo
    mrenclaves: [41f0117a3c62966b48ef6e2388b5fe7ff719b1f48abbf417e855fff0546a8e0d]
    command: python3 /app/programa.py
    image_name: alo-mundo
    pwd: /
    environment:
      SCONE_MODE: hw
      UM_SEGREDO: $$SCONE::segredo1$$
    fspf_path: /fspf/volume.fspf
17
18
    fspf_key: $SCONE_FSPF_KEY
    fspf_tag: $SCONE_FSPF_TAG
Clenimar Souza's avatar
Clenimar Souza committed
19
20
21
22
23
24
25
26
27
28
29
30
images:
  - name: alo-mundo
    injection_files:
    - path: /etc/segredo.txt
      content: $$SCONE::segredo2$$
secrets:
   - name: segredo1
     kind: ascii
     size: 16
   - name: segredo2
     kind: ascii
     value: "isso eh um segredo"