oracle / oracle/oci-cli

`oci session authenticate` ignores `--session-expiration-in-minutes` flag

Open
#934 0 comments 0 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

PS C:\> oci -v
3.54.2

PS C:\> date
12 April 2025 14:45:43

PS C:\> oci session authenticate --session-expiration-in-minutes 5
[output removed]

PS C:\> oci session validate
Session is valid until 2025-04-12 15:45:55

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 reproducing oci session authenticate --session-expiration-in-minutes 5, then validate the resulting session with oci session validate. Trace how the CLI handles the expiration flag and compare the requested five-minute duration with the reported validity; done means the flag controls the session expiration.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
authentication, cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.