oracle / oracle/oci-cli

oci pem key cache like ssh-agent

Open
#643 0 comments 6 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
669
Forks
236
Avg merge
1m
Merged PRs (30d)
4

Description

Hi I could not find a documentation about how to cache the passphrase for a key generated with oci setup keys command.
The password make the key more secure in case of a virus attack or backup stollen, but it is pratically usuless without a safe in memory cache like ssh-agent do, because is impractical to enter before every command. It also makes tools that use kubectl to authenticate in kubernetes like kontena lens useless.

Is there a way to achieve this behavior?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the implementation and documentation for the oci setup keys command, then trace how its generated key is used by OCI CLI authentication. Compare the requested behavior with the mentioned kubectl and Kontena Lens workflows; done would require a defined, secure passphrase-caching approach or a documented determination that the behavior is unsupported.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
authentication, cli, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.