Using free OCI account, managed to install yo on Cloud Shell, went though all configuration API keys, pasted PEM/public to Console, and things APPEAR to work, however, for each yo operation, it prompts for "Passphrase":
tt@cloudshell:.oci (us-ashburn-1)$ yo list OCI API Key Passphrase: Incorrect passphrase OCI API Key Passphrase: Incorrect passphrase OCI API Key Passphrase: ┏━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━┳━━━━━┳━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━┓ ┃ Name ┃ Shape ┃ Mem ┃ CPU ┃ State ┃ Created ┃ ┡━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━╇━━━━━╇━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━┩ │ instance-test1 │ VM.Standard.E2.1.Micro │ 1 │ 1 │ RUNNING │ 2025-12-03 13:58:50 │ └───────────────────┴────────────────────────┴─────┴─────┴─────────┴─────────────────────┘
in above example, mistyping the original chosen passphrase (which was required, and not optional), causes yo to (correctly) reject it, when right passphrase is typed it continues to run as expected, however, running any yo command asks for it again.
Tried yo cache, and other tricks like trying to "feed" it but didn't work: echo "passp" | yo list :)
Using free OCI account, managed to install yo on Cloud Shell, went though all configuration API keys, pasted PEM/public to Console, and things APPEAR to work, however, for each yo operation, it prompts for "Passphrase":
tt@cloudshell:.oci (us-ashburn-1)$ yo list OCI API Key Passphrase: Incorrect passphrase OCI API Key Passphrase: Incorrect passphrase OCI API Key Passphrase: ┏━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━┳━━━━━┳━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━┓ ┃ Name ┃ Shape ┃ Mem ┃ CPU ┃ State ┃ Created ┃ ┡━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━╇━━━━━╇━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━┩ │ instance-test1 │ VM.Standard.E2.1.Micro │ 1 │ 1 │ RUNNING │ 2025-12-03 13:58:50 │ └───────────────────┴────────────────────────┴─────┴─────┴─────────┴─────────────────────┘in above example, mistyping the original chosen passphrase (which was required, and not optional), causes yo to (correctly) reject it, when right passphrase is typed it continues to run as expected, however, running any yo command asks for it again.
Tried yo cache, and other tricks like trying to "feed" it but didn't work: echo "passp" | yo list :)