Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add autorefresh lifetime for impersonated_redentials #304

Merged
merged 1 commit into from
Nov 12, 2018
Merged

Add autorefresh lifetime for impersonated_redentials #304

merged 1 commit into from
Nov 12, 2018

Conversation

salrashid123
Copy link
Contributor

Remove logic that current does not refresh credentials if lifetime= parameter is set.

After this change, if the lifetime= is set, it only applies to the actual token returned for the impesonated credentials. If either the source_credential or or target_credential expires, a refresh will get called to regenerate a new one. If a user just wants a non-expiring access_token for the impersonated credentials, they can extract the access_token and .apply() headers.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Nov 11, 2018
@theacodes theacodes merged commit b29f262 into googleapis:master Nov 12, 2018
@salrashid123 salrashid123 deleted the add-autorefresh-lifetime branch November 12, 2018 18:27
takirala referenced this pull request in d2iq-archive/dcos-commons Dec 13, 2018
This PR contains the following updates:

| Package | Update | Change | References |
|---|---|---|---|
| google-auth | minor | `==1.5.1` -> `==1.6.1` | [source](https://renovatebot.com/gh/GoogleCloudPlatform/google-auth-library-python) |

---

### Release Notes

<details>
<summary>GoogleCloudPlatform/google-auth-library-python</summary>

### [`v1.6.1`](https://renovatebot.com/gh/GoogleCloudPlatform/google-auth-library-python/blob/master/CHANGELOG.rst#v161)

[Compare Source](https://renovatebot.com/gh/GoogleCloudPlatform/google-auth-library-python/compare/v1.6.0...v1.6.1)

11-12-2018 10:10 PST

Implementation Changes
\++++++++++++++++++++++

-   Automatically refresh impersonated credentials (`#&#8203;304 <https://github.com/googleapis/google-auth-library-python/pull/304>`\_)

### [`v1.6.0`](https://renovatebot.com/gh/GoogleCloudPlatform/google-auth-library-python/blob/master/CHANGELOG.rst#v160)

[Compare Source](https://renovatebot.com/gh/GoogleCloudPlatform/google-auth-library-python/compare/v1.5.1...v1.6.0)

11-09-2018 11:07 PST

New Features
\++++++++++++

-   Add google.auth.impersonated_credentials (`#&#8203;299 <https://github.com/googleapis/google-auth-library-python/pull/299>`_)

Documentation
\+++++++++++++

-   Update link to documentation for default credentials (`#&#8203;296 <https://github.com/googleapis/google-auth-library-python/pull/296>`\_)
-   Update github issue templates (`#&#8203;300 <https://github.com/googleapis/google-auth-library-python/pull/300>`\_)
-   Remove punctuation which becomes part of the url (`#&#8203;284 <https://github.com/googleapis/google-auth-library-python/pull/284>`\_)

Internal / Testing Changes
\++++++++++++++++++++++++++

-   Update trampoline.sh (`#&#8203;302 <https://github.com/googleapis/google-auth-library-python/pull/302>`\_)
-   Enable static type checking with pytype (`#&#8203;298 <https://github.com/googleapis/google-auth-library-python/pull/298>`\_)
-   Make classifiers in setup.py an array. (`#&#8203;280 <https://github.com/googleapis/google-auth-library-python/pull/280>`\_)

</details>

---

### Renovate configuration

:date: **Schedule**: At any time (no schedule defined).

:vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

:recycle: **Rebasing**: Whenever PR becomes conflicted, or if you modify the PR title to begin with "`rebase!`".

:no_bell: **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- renovate-rebase -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://renovatebot.com/gh/marketplace/renovate). View repository job log [here](https://renovatebot.com/dashboard#mesosphere/dcos-commons).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants