Closed konu27 closed 5 months ago
Is the key a token key (persistent) or session key (transient)? You will only see it if its a token key and it looks like the sample code does not set the token attribute.
We don't set the token attribute in our samples to prevent filling up customer HSMs while they are just testing. This is probably the issue, so closing this out. Please re-open if needed!
Ran the following command from the JCE Provider: java -jar key-utility-runner.jar --import-key output: [cloudhsm_provider::hsm1::session::key_management::provider_key_builder::create_key_internal] Key created on the HSM with handle: 655385(0x000A0019)
command: java -jar key-utility-runner.jar --label Test --get-key output: Could not find the given key label Test
unable to find the key from AWS CLI also Command: findKey