-
Notifications
You must be signed in to change notification settings - Fork 93
Open
Labels
Description
- Describe your new request in detail
Title: Add support for Session Token-Based Authentication in oci_tokens.py
Description:
It would be helpful to add support for Session Token-Based Authentication in the oci_tokens.py module to enable functionality with the security_token_file parameter through the config file or "Simple Authentication" mode.
References:
Expected Implementation:
The implementation should make use of the SecurityTokenSigner class to read the security token file and allow the SDK to authenticate based on the session token.
Sample Config File or Simple Authentication parameters:
[UPST]
fingerprint=09:fd:8b:17:82:7b:d6:f1:db:be:0a:22:d5:ca:9e:ea
key_file=~/.oci/dbtokens/private.pem
tenancy=ocid1.tenancy.oc1..aaaaaaaaoirerole
region=us-phoenix-1
security_token_file=~/.oci/dbtokens/upst_token.tokThis change will enable users to authenticate using session tokens enabling token exchange scenarios