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
Release history Release notifications | RSS feed
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)
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b4d3c28145864dff8b84b2bec2b3577ae33f189a219cad54e97c3d74ba676a8d
|
|
| MD5 |
f9042e4509444ace3f70fe0e6668e19f
|
|
| BLAKE2b-256 |
6075a587c199ef3426d9bfe82aaf09cf7c3a12e91d2a781080ccf5db0813d34e
|
Provenance
The following attestation bundles were made for oca_cli-0.1.0.tar.gz:
Publisher:
publish.yml on OpSecId/oca-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
oca_cli-0.1.0.tar.gz -
Subject digest:
b4d3c28145864dff8b84b2bec2b3577ae33f189a219cad54e97c3d74ba676a8d - Sigstore transparency entry: 159414536
- Sigstore integration time:
-
Permalink:
OpSecId/oca-cli@6d588c50b596f06c2d62577832bd1e525287ea89 -
Branch / Tag:
refs/tags/0.1.1 - Owner: https://github.com/OpSecId
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@6d588c50b596f06c2d62577832bd1e525287ea89 -
Trigger Event:
release
-
Statement type: