Skip to content

yo prompts for OCI API Key Passphrase for each operation #51

Description

@nova2moon

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 :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions