I am trying to refresh a OCI CLI session token. I see the token is refreshed but the validity is not getting changed.
% oci -v
3.63.0
% oci session validate --config-file vault/.oci/iadpreprod/config --profile TOKEN_PROFILE --auth security_token --local
Session is valid until 2025-07-26 14:41:19
% oci session refresh --config-file vault/.oci/iadpreprod/config --profile TOKEN_PROFILE
Attempting to refresh token from https://auth.us-ashburn-1.oraclecloud.com/v1/authentication/refresh
Successfully refreshed token
%
% oci session validate --config-file vault/.oci/iadpreprod/config --profile TOKEN_PROFILE --auth security_token --local
Session is valid until 2025-07-26 14:41:19