Closed pyrooka closed 3 years ago
Merging #129 (7f0f6f2) into main (c56ce73) will increase coverage by
0.14%
. The diff coverage is100.00%
.
@@ Coverage Diff @@
## main #129 +/- ##
==========================================
+ Coverage 99.52% 99.66% +0.14%
==========================================
Files 22 24 +2
Lines 835 906 +71
==========================================
+ Hits 831 903 +72
+ Misses 4 3 -1
Impacted Files | Coverage Δ | |
---|---|---|
ibm_cloud_sdk_core/__init__.py | 100.00% <100.00%> (ø) |
|
ibm_cloud_sdk_core/authenticators/__init__.py | 100.00% <100.00%> (ø) |
|
ibm_cloud_sdk_core/authenticators/authenticator.py | 94.44% <100.00%> (+6.20%) |
:arrow_up: |
..._core/authenticators/vpc_instance_authenticator.py | 100.00% <100.00%> (ø) |
|
ibm_cloud_sdk_core/get_authenticator.py | 100.00% <100.00%> (ø) |
|
..._core/token_managers/vpc_instance_token_manager.py | 100.00% <100.00%> (ø) |
|
ibm_cloud_sdk_core/version.py | 100.00% <100.00%> (ø) |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 8bbeca9...7f0f6f2. Read the comment docs.
:tada: This PR is included in version 3.13.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
This PR introduces the VPCInstanceAuthenticator. This authenticator implements the authentication flow within a VPC-managed compute resource that is configured to use the compute resource identity feature. This involves the use of the compute resource's local VPC Instance Metadata Service API to retrieve an instance identity token, and then exchange that token for an IAM access token. The IAM access token is then used to authenticate outbound REST API requests by adding an Authorization containing the access token.