Skip to main content

OCA Bundle management simplified.

Project description

oca-cli

Quickstart

# install the package
pip install oca-cli

# Create a sample schema file
SAMPLE_BUNDLE=$(cat <<EOF
{
    "name": "Sample",
    "description": "A sample bundle",
    "issuer": "Demo issuer",
    "attributes": [
        "first_name",
        "last_name"
    ]
}
EOF
)
echo $SAMPLE_BUNDLE > sample_schema.json

# Draft an OCA Bundle
oca draft -f sample_schema.json > sample_draft.json

# Edit the bundle then secure it
oca secure -f sample_draft.json > sample_bundle.json

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

oca_cli-0.1.0.tar.gz (6.2 kB view details)

Uploaded Source

File details

Details for the file oca_cli-0.1.0.tar.gz.

File metadata

  • Download URL: oca_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for oca_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b4d3c28145864dff8b84b2bec2b3577ae33f189a219cad54e97c3d74ba676a8d
MD5 f9042e4509444ace3f70fe0e6668e19f
BLAKE2b-256 6075a587c199ef3426d9bfe82aaf09cf7c3a12e91d2a781080ccf5db0813d34e

See more details on using hashes here.

Provenance

The following attestation bundles were made for oca_cli-0.1.0.tar.gz:

Publisher: publish.yml on OpSecId/oca-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page