prismatic-io / prism

Prismatic's CLI tool for managing prismatic.io resources from the command line
MIT License
20 stars 3 forks source link

Add Prism Component Signature command #88

Closed jasoncomes closed 5 months ago

jasoncomes commented 5 months ago
prism components:signature
prism components:signature --skip-signature-verify

The prism components:signature command in Prism verifies the existence of the component in the Prismatic Platform before returning it. If you want the command to return a key regardless of whether the component exists or not in the API, you can run it with the skip-signature-verify option. This will allow the command to return a key even if the component is not found.

If you're using a Component Manifest with an unverified signature key in a Code Native Integration (CNI), it's fine to work with it locally. However, when you try to integrate the CNI with the Prismatic Platform, it will fail.

Other changes

Moved shared functions into the components index to indicate they are used in multiple component commands.