feat: Enhanced the sealed Secret flg - #156
Conversation
Supporting different files ceration for sealed secret output
|
@Rohit-Singh43-1 could you add some examples of the updated command? |
| fmt.Printf("Verification key written to: %s\n", verificationKeyPath) | ||
| } else { | ||
| // Print to stdout if no output path specified | ||
| output := fmt.Sprintf("Sealed Secret:\n%s\n\nSECRET_DECRYPTION_KEY=%s\n\nSECRET_VERIFICATION_KEY=%s", |
There was a problem hiding this comment.
just a suggestion can we go with some other format (example json).
Is this is easy to read if we print all 3 values?
|
`./contract-cli-s390x --help Supports:
Documentation: https://ibm-hyper-protect.github.io/contract-cli/ Usage: Available Commands: Flags: Use "contract-cli [command] --help" for more information about a command. Mandatory Flags: Optional Flags: |
Description
Enhanced the sealed Secret Flag, To support multiple files creation for output.
When
--outis provided (e.g.--out sealed_secret.txt), three separate files are created:sealed_secret_SealedValue.txtsealed_secret_DecryptionKey.txtsealed_secret_VerificationKey.txtRelated Issue
Fixes #
Type of Change
Target Platform
Testing
make testpassesmake fmtapplied (no formatting changes needed)Checklist
make test)