gtrevorrow/OCI Token Exchange
Exchanges OIDC tokens for OCI session tokens and configures OCI CLI.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| ci_platform | CI platform. Defaults to 'github'. Other values: 'gitlab', 'bitbucket', 'local'. | no | github |
| oidc_client_identifier | OIDC client identifier (client_id:client_secret) for the confidential OAuth application. | yes | — |
| domain_base_url | Base URL of the OCI Identity Domain (e.g., https://idcs-xxxxxxxxxxxx.identity.oraclecloud.com). | yes | — |
| oci_tenancy | OCI tenancy OCID. | yes | — |
| oci_region | OCI region identifier (e.g., us-ashburn-1). | yes | — |
| oci_home | Optional: Custom base folder for OCI config (.oci) directory. Defaults to ~/.oci | no | — |
| oci_profile | Optional: Name of the OCI CLI profile to create. Defaults to 'DEFAULT'. | no | DEFAULT |
| retry_count | Optional: Number of retry attempts for token exchange. Defaults to '0'. | no | 0 |
Outputs
| name | description |
|---|---|
| oci_config_path | The path to the generated OCI configuration file. |
| oci_session_token_path | The path to the OCI session token file. |
| oci_private_key_path | The path to the generated private key used for the session. |