Sign inSign up

ajeetraina777/sbx-kit-box-mount:latest

Multi-platform
Manifest digest

sha256:bd492a413e54fb11c37e2edc09f865e8edbe7f24871c6ed8cbe8b01e0dd0f1e9

Last pushed

4 days by ajeetraina777

Type

Sandbox Kit

Manifest digest

sha256:bd492a413e54fb11c37e2edc09f865e8edbe7f24871c6ed8cbe8b01e0dd0f1e9

yaml
schemaVersion: "3"
displayName: Box Mount (two-way folder sync)
description: 'Mounts a Box folder into the sandbox and keeps it in two-way sync via Box''s box-mount client. Layer it onto a shell or agent workload; the box-mount CLI (with an agent-mount alias) is then on PATH. OAuth / developer-token auth: set the token with `sbx secret set box`. The kit holds no credentials.'
sourceUrl: https://github.com/ajeetraina/sbx-kits-box
version: 0.4.0
licenses:
    - Apache-2.0
kind: mixin
capabilities:
    - type: com.docker.sandbox/network-policy@1
      config:
        runtime:
            allow:
                - api.box.com
                - upload.box.com
                - dl.boxcloud.com
                - '*.boxcloud.com'
                - '*.services.box.net'
                - '*.realtime.services.box.net'
                - '*.boxcdn.net'
    - type: com.docker.sandbox/credential@1
      optional: true
      config:
        apiKey:
            inject:
                - domain: api.box.com
                  format: Bearer %s
                  header: Authorization
                - domain: upload.box.com
                  format: Bearer %s
                  header: Authorization
                - domain: dl.boxcloud.com
                  format: Bearer %s
                  header: Authorization
            name: BOX_ACCESS_TOKEN
            proxyManaged: true
        phase: runtime
        service: box
      description: Box OAuth / developer access token, injected as the Bearer credential on Box API requests.
    - type: com.docker.sandbox/agent-context@1
      config:
        contentFile: /usr/share/sandbox/kit/box-mount/box-mount-context.md